| Uploader: | Shalar |
| Date Added: | 24 July 2005 |
| File Size: | 21.58 Mb |
| Operating Systems: | Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X |
| Downloads: | 15866 |
| Price: | Free* [*Free Regsitration Required] |
Compile the device tree and install it in your platform. To determine which entry corresponds to which driver read the name descriptor with:.
[PATCH v1 0/3] *** iio:adc:imx: Add Freescale Vybrid/IMX ADC driver support ***
When the ADC sequencer finishes cycling through all the enabled channels, the user can decide if the sequencer should stop one-shot modeor loop back and schedule again continuous mode. For further information on expansion header layout please refer to the Beaglebone schematics here. Read the input value of a channel with: For further information of J8 connector layout please refer to EVM schematics here. The ADC function of these pins are not compatible with other Colibri modules.
Application takes buffer length to use in this example and the number of iterations you want to run 3 in this example. About us Contact us Support. These options are enabled as built-in on the default Iimx 6UL kernel configuration file. One cannot read ADC data from one channel operating in One-shot mode and and other in continuous mode at the same time.
IMX.6UL ADC example program
The ADC drivers only support "one-shot" mode. This page has been accessed 36, times. These four analogue inputs are compatible within the Colibri family and are dedicated ADC inputs. ADC channel mapping The i. By just enabling the buffer ADC switches to continuous mode.
This is a limitation of the i. Digi Embedded Yocto version 2. Currently only AD0 and AD1 are supported.
Contents [ hide ]. When the user wants to continuously take samples, continuous mode needs to be enabled. Vybrid provides support for continuous sampling with its ADC peripheral. The STMPE supports up to 8 analogue inputs, however, input are used for the resistive touchscreen interface. Keep in mind that opening and closing a file for every ADC read-out is relatively slow and rather resource intensive.
For technical support please post your mix at http: For BSP versions 2.
Linux Core ADC Users Guide - Texas Instruments Wiki
The inputs are 0 indexed, so the usable inputs inx The generic buffer code present in Linux kernel source tree can be used to test the continuous sampling functionality. On BeagleBone platform, P9 expansion header can be used.
Since the ADC is shared with the touchscreen its not recommended to change the ADC characteristics such as sample time. This page was last modified on imc Aprilat The ADC channels are only 1. ADC, Sitara, Touch screen. The ADC samples the analog signal when "start of conversion" signal is high and continues sampling 1 clock cycle after the falling edge.

Continuous capture mode is not currently supported.

Comments
Post a Comment