6 posts / 0 new
Last post
Bharath
Offline
Last seen:1 year 4 months ago
加入:2016-04-14 07:03
DA14580 as SPI master

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?

Device:
MT_dialog
Offline
Last seen:1 month 3 weeks ago
工作人员
加入:2015-06-08 11:34
Hi Brarath,

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

Bharath
Offline
Last seen:1 year 4 months ago
加入:2016-04-14 07:03
We have verified all the

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?

MT_dialog
Offline
Last seen:1 month 3 weeks ago
工作人员
加入:2015-06-08 11:34
Hi Brarath,

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

Bharath
Offline
Last seen:1 year 4 months ago
加入:2016-04-14 07:03
After changing the SPI_FIFO

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?

Gongyu_Dialog
Offline
Last seen:8 hours 33 min ago
加入:2016-04-27 07:07
Is there any possibility that

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?

Topic locked