This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ADS1230 interfacing PIC16F877A

Other Parts Discussed in Thread: ADS1230

Hello Sir,

      First, I m thanking u,because with your help, my code "to interface ADS1230 with PIC16F877A" is working  now.And i m able to read the values from load cell.(Hence the values not yet converted into weight).I observed the value for long time and i found that sometimes the value get changed instantly to another value,and come back to the previous same value.(ex: suppose the display showing the value "020962",without varying the load, sometimes the value changed to "037842",and again come back to the previous value "020962".).So i observed the  clock output(SCLK) of microcontroller in simulator,and i found that all the pulses are not similar.that means the gap between some clock pulses seems little bit differ.But the gap between the clock pulse is above 100ns.Actually what may cause this....Please help...Thanks IN ADVANCE...by

                                                      Ajith

  • Ajith,

    The data you provided looks like there may be a bit shift part way through the read of the data result.  Noise on the SCLK line may be detected as an extra clock by the ADS1230.  You might try slowing down the SCLK speed.  Also, make sure that the SCLK period is greater than 200ns (<5MHz).  This assumes a 50% duty cycle.  So the high time and the low time must be at least 100ns.

    As far as why your processor does not show even clock duty cycles I can't answer that question.  This could be the simulator interpreting what you are trying to do.  You really need to look at the SCLK and DOUT on an oscilloscope to verify the signal timing and see if you have any noise issues.

    Best regards,

    Bob B