Contents [ hide ]. The inputs are 0 indexed, so the usable inputs are The ADC samples the analog signal when “start of conversion” signal is high and continues sampling 1 clock cycle after the falling edge. Read the input value of a channel with: Please note that the ADC output is positive binary weighted data. Navigation menu Personal tools Log in Request account. When the ADC sequencer finishes cycling through all the enabled channels, the user can decide if the sequencer should stop one-shot mode , or loop back and schedule again continuous mode.
|Date Added:||14 June 2018|
|File Size:||40.61 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
Copyright Product page More documentation. Read the input value of a channel with:. This page has been accessed 36, times.
Linux source code: drivers/iio/adc/vf_adc.c (v) – Bootlin
Open topic with navigation. Since the ADC is shared with the touchscreen its not recommended to change the ADC characteristics such as sample time. Vybrid provides support for continuous sampling with its ADC peripheral.
Please note that the ADC output is positive binary weighted data. The STMPE supports up to 8 analogue inputs, however, input are used for the resistive touchscreen interface. We created a test program to show how the driver can be used, see adc-test.
About us Contact us Support. Currently only AD0 and AD1 are supported.
If one-shot mode is enabled, then the sequencer will only be scheduled one time the sequencer HW will add disable the StepEnable bit after it is scheduled which will guarantee only one sample is taken per channel.
It captures the signal at the end of sampling period and starts conversion. On the ConnectCore 6UL there are:. For further information on expansion header layout please refer to the Beaglebone schematics here.
IMX.6UL ADC example program | NXP Community
This page was last modified on 18 Aprilat These four analogue inputs are compatible within the Colibri family and are dedicated ADC inputs. For technical support please post your questions at http: The jmx driver support is available with version 2.
One cannot read ADC data from one channel operating in One-shot mode and and other in continuous mode at the same time. The parameter “ti,adc-channels” needs to hold data related to which channels you want to use for ADC. The ADC peripherals also include an internal temperature sensor.
MX6 ADC driver support through the following kernel configuration option: By just enabling the buffer ADC switches to continuous mode. Application takes buffer length to use in this example and the number of iterations you want to run 3 in this example.
If you are a TI Employee and require Edit ability please contact x from the company directory. You can find the source code for ADC here.
Please note as of Wednesday, August 15th, this wiki has been set to read only. Platform driver mapping The ADC drivers are located at: The inputs are 0 indexed, so the usable inputs are It should be noted, that the noise level on these pins might be higher than on the dedicated ADC input signals, as these are routed as digital signals on the module.
Starting with BSP versions 2. To determine which entry corresponds to which driver read the name descriptor with: When the user wants to continuously take samples, continuous mode needs to be enabled.
Navigation menu Personal tools Log in Request account.