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.
Hello team, i am trying to interface the ADS124S08 with stm32f407 and tried to communicate but while reading the register of adc it gives me 0xff at miso pin i dont know to work with that ans what clock configuration i need to set so that communication will work fine. Loking for your positive response. Thanks in advance.
Hi Mangesh,
Welcome to the E2E forum! The best way to troubleshoot communication issues is by using an oscilloscope or logic analyzer to view the communication. Do you have some shots of your communication that you can share? The most common mistakes are:
Best regards,
Bob B
Thanks @Bob Benjamin, I had set Mode 1 of SPI and and SCLK is at 1.5Mhz Seems good when i am writing to the ADC but There is no output data on MISO pin.
For the reference i am sharing the SS in short you will get the idea,
Hi Mangesh,
I'm not sure what you are trying to accomplish here by writing the POR state to the Status register. When writing to the Status register you would generally write 0x00 to clear the bit showing the POR has completed. Instead of writing the Status register have you tried reading it first to see if the POR has completed and that the ADS124S08 is ready to communicate?
Also verify that the RESET pin is pulled high, the CLK pin pulled low and all supplies (DVDD, IOVDD and AVDD) are operating at the nominal voltages. By reading the Status register first, the MSB should show a high which means that the ADS124S08 is fully operational and has released from the POR state. If it is low, then the ADS124S08 is still in the reset state. Once the device has completed POR, you should be able to communicate with the ADC for configuration.
Best regards,
Bob B