Shop OBEX P1 Docs P2 Docs Learn Events
ADC0838 object problems — Parallax Forums

ADC0838 object problems

Rick_HRick_H Posts: 116
edited 2010-10-05 18:04 in Propeller 1
I am using the TLV0838, its the same chip primarily. The only difference is it runs on 3.3V instead of 5V. I'm looking at the pulses on the outputs and they all look correct with the exception of their being a slight pause between the clock pulses from end DI and begin DO. All the output pins from the prop - Chip select, Clock and DI are doing what I would expect them to but on the DO pin All I see is a really small signal, its the clock pulse bleeding through at like 10mV and nothing else.
Any suggestions on this?

Comments

  • Rick_HRick_H Posts: 116
    edited 2010-10-05 06:14
    it was a bad breadboard, nm
  • mosquito56mosquito56 Posts: 387
    edited 2010-10-05 10:07
    I use the adc0838 extensively and have noticed it only reads to 127 max, not 256.
  • Rick_HRick_H Posts: 116
    edited 2010-10-05 12:53
    its reading 0 to 255 for me flawlessly.
  • Rick_HRick_H Posts: 116
    edited 2010-10-05 18:04
    I may know what the problem is if you wrote the code yourself. the first 5 clk cycles are to address the chip then their is a 6th that just sets up the output of the chip and then the next 8 rising edges you read. I rewrote the code in asm and had the same problem not realizing the 6th clk is just an extra pulse.
Sign In or Register to comment.