Part Number: ADS124S08
Hello, TI
I have been attempting to learn how to use the ADS124S08 for a larger project. The method of communication I want to use is relatively simple: the Microprocessor sends a command over the SPI interface to read data, the ADC responds with a single reading, and then that's that until another command byte is sent. I've been trying to send two commands, read_Data and Start (well, and write register, but that's working flawlessly). When I send a read command, nothing seems to happen. The unit records all 0s, and the SPI MISO channel remains low. When I send a start command, the MISO channel starts talking continuously, which makes it difficult to tell if the recorded data is valid or not.
I'll include the register settings I'm using below. In the meantime, I have several questions:
- Does the ADC need to recieve a start command before it can provide readings with the read command?
- When it comes to single-shot conversion mode, what is the difference between the read and start commands? It's my understanding that the read command should only send the reading once, whereas the start command will send the same data byte over and over again, but as previously stated, the read command sees to be doing nothing.
- At the moment, I have the SPI clock running continuously, which might be the source of some or all of my woes. How would it work for me to only turn the clock on when I wanted to send a command, and turned it off once I got a reading?
- It's not really a question, but any insight onto why a read_data command is coming up blank would be appreciated.
As promised, here are the registers I;m using. Any I don't mention, just assume they're default.
Register 2: 0x24 (inputs and outputs, I know these are correct)
Register 5: 0x06
Register 3: 0x0A
Register 6: 0x07
Register 4: 0x14 or 0x34. 0x20 controls whether it's in single shot or continuous conversion mode. I'vee tried both, they both seem unfruitful
Register 9: 0x12
Register 7: 0xF5.