Visitor II
June 3, 2021
Question
ads124s08 with STM32F407VGT6 spi communication problem
- June 3, 2021
- 2 replies
- 1815 views
I need to get information from an ti's ads124s08 and imported an example from arduino forums. I can communicate with device using an arduino for test (on the same board and same specs) but can not use with stm.
In fact, i think there should be a problem about the spi configuration etc, but can't test or resolve the problem.
For example; when the device is connected on SPI pins, hal_spi_transmit function returns 0, but when i disconnect the device from STM's spi pins, it is also returns 0.
How can i get the best test to check my SPI is OK or not?
And, you can check my init functions(canbus, gpio pins, i2c works fine) and ads124s08 code from below. Maybe somebody can help about ads124s08.
Thanks & Regards.
