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.
Tool/software:
Hello,
I am using an ADS131A02 and an ESP32-PICO-KIT for my project. In this case, the ADS131A02 is in synchronous slave interface mode, as I will be using SCLK as iCLK. The problem is that I cannot get a response different from "0x7F8100" in the SPI communication.
I have attached the circuit schematic:
It is also important to consider everything shown in the image, as it contains all the proposed configurations. One of the most important is that the word size is 24 bits, with hamming disabled, SCLK as iCLK, no charge pump. Finally, I do not have a pull-up resistor for the CS pin because I am using the internal pull-up of pin 15 (CS0).
I have also attached the code used:
I know the error could be in the programming or the schematic because when I measure the REFP value, it gives me 1.25 V by default but negative, relative to GND. The capacitors are non-polarized ceramic capacitors. I appreciate your help as I have tried to solve this and haven't been able to.
Hi Juan Esteban Botero Rodriguez,
The ADC appears to be setup correctly, given the information you have provided
Can you provide logic analyzer plots showing the data you are sending to and receiving from the ADC?
You might also try operating in asynchronous interrupt mode to make sure you get can valid data out of the ADC, this is usually the easiest mode to get working
-Bryan
Hi, Bryan.
I'm currently conducting tests with the logic analyzer; once I have all the evidence, I'll attach it. I'll test the asynchronous mode as a last resort, as it would require changes to the designed board. Thank you very much for your response, and I'll send a reply as soon as I can.