ADS112U04: How to read conversion result from adc to stm32f777 micro controller?
Part Number: ADS112U04
According to datasheet Section 8.5.3 Commands data are always transmitted byte-wise LSB first on the ADS112U04. So for ex to send SYNC(0x55) word, do I need to send (0101 0101) or (1010 1010) from micro controller?
I would suggest you take a look at Figure 58 on page 34 of the ADS112U04 datasheet. This is what the transmitted data should look like when transmitted and received by the ADS112U04. For every micro UART peripheral I have seen, the value written to the transmit buffer will be transmitted LSB first. So if you write 0x55 to the transmit buffer it will be transmitted by the UART peripheral as LSB first as shown in the figure.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Bob Benjamin:
Thanks Bob. I was getting inverted data on oscilloscope and then I have figured out that configuration on that was wrong(Polarity normal - high is 0), otherwise whatever data we send from micro should be same as mentioned in datasheet (for ex 0x55 to send sync). Now I'm getting response from IC.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.