I am unable to connect to ADS1192 ADC using SPI.( ADS1192 works in SPI mode0). i am getting some random values every time I try to read the device ID of ADS1192. Can any one help me how to solve this?
Check your SPI connections, make sure that the connections are properly terminated and the grounding wires are ok. Also make sure that the initialization values of the SPI module are properly set to the corresponding values that the sensor requires.
We have verified all the connections an terminations. We are able to read and write to ADS1192 using MSP430 over SPI and we are using same initialization parameters in DA14580 which is not working.
There aren't any other things to check, since the configurations and the wires are ok and the two boards (i assume) have common grounds then a capture of the activity on the bus in order to see what is wrong is the next step.
After changing the SPI_FIFO_MODE to 0 we are able to read the Device ID but not every time. Also it is happening on one extra spi_access. What is the reason for this behavior?
Is there any possibility that the read procedure is interrupted? Ex. from the logic analyzer view, is there any time gap between the address and the result obtained when in the error case?
Hi Brarath,
Check your SPI connections, make sure that the connections are properly terminated and the grounding wires are ok. Also make sure that the initialization values of the SPI module are properly set to the corresponding values that the sensor requires.
Thanks MT_dialog
We have verified all the connections an terminations. We are able to read and write to ADS1192 using MSP430 over SPI and we are using same initialization parameters in DA14580 which is not working.
is there anything else we should check?
Hi Brarath,
There aren't any other things to check, since the configurations and the wires are ok and the two boards (i assume) have common grounds then a capture of the activity on the bus in order to see what is wrong is the next step.
Thanks MT_dialog
After changing the SPI_FIFO_MODE to 0 we are able to read the Device ID but not every time. Also it is happening on one extra spi_access. What is the reason for this behavior?
Is there any possibility that the read procedure is interrupted? Ex. from the logic analyzer view, is there any time gap between the address and the result obtained when in the error case?