![]() The EVAL-AD7124-8-PMDZ has the option to connect the SDO line to Pmod pin 7, 8, 9, or 10, with the default being pin 7. The driver uses this event as an interrupt, so the SDO pin must also be connected to a GPIO pin that is configured as the interrupt source in the device tree. The AD7124-8 does not have a separate interrupt pin, rather, a falling edge on SDO indicates that a conversion has finished and data is ready. For this exercise, add the following line to config.txt:ĭtoverlay=rpi-ad7124-8-all-diff-cs0-int25Īnd as the filename would indicate, connect the SDO/CIPO line to Raspberry Pi GPIO25. The only difference is the interrupt connection and device tree overlay to be added to config.txt. Follow the instructions for downloading and installing ADI Kuiper Linux, and editing config.txt. The Raspberry Pi-based hardware and Linux setup mirrors that of the ADX元45 used in the Converter Connectivity Toolbox and Tutorial, including bringing up the pyadi-iio example. Thus this exercise also serves as a mini-tutorial on Python. Throughout the exercises we'll be writing simple Python code to capture and analyze data, using the industry standard Industrial I/O (IIO) framework to interact with the ADC, and the popular NumPy and Matplotlib Python libraries. This tutorial will explore some representative applications, including some subtleties of such measurements - low-level thermal effects, digital filter response (including reverse engineering some of an ADC's internal filters), and understanding an ADC's noise performance. They are occasionally mis-used: - a converter with a 19.2ksps sample rate sounds like it should be suitable for digitizing a 9kHz analog signal… unless the ADC's internal digital filter gets in the way. ![]() They are used for all manner of measurement applications - temperature measurement, strain gauge measurement, general-purpose industrial data acquisition. ![]() That's a pretty broad statement, but then again, so is the application space for such converters. The goal of this tutorial is to equip the reader with a collection of hardware and software tools for developing precision converter applications. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |