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.
Part Number: ADS125H02
Does TI offer example C code for the ADS125H02?
Regards,Collin WellsPrecision ADC Applications
TI offers example C code for the ADS125H02 in the tools and software tab of the product folder. There are links below to the example code along with the tools folder so you can review the other available tools.
Example C Code:
Tools and Software:
A "How to use this code" guide can be found in the "EXAMPLE C CODE README.md" file in the .ZIP file linked above. Here is some important information about the included modules, taken from the readme file:
The ADS125H02 precision delta-sigma (ΔΣ) analog-to-digital converter (ADC) communicates using a serial peripheral interface (SPI) to allow for device configuration, control, and data retrieval. To interface with the ADS125H02 with a microcontroller (MCU), the firmware or software engineer needs to know how to correctly configure their MCU’s serial peripheral, sequence serial commands, and control the SPI timing of command bytes to the ADC. To assist in this process, this example code is intended to show how to initialize communication with the ADS125H02 at a high-level. Included modules
There are two modules included in this example code:
ADS125H02 Description: Low-level functions and register map definitions for communicating with the ADS125H02. Files: ads125h02.h, ads125h02.c
Hardware Abstraction Layer (HAL) Description: The HAL provides processor specific functions called by the ADS125H02 module. Files: hal.h, hal.c IMPORTANT: This module will need to be modified to work with your hardware!
Hardware Abstraction Layer (HAL)
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.
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.