You can find the source code for ADC here. Views Read View source View history. ADC channel mapping The i. If one-shot mode is enabled, then the sequencer will only be scheduled one time the sequencer HW will automatically disable the StepEnable bit after it is scheduled which will guarantee only one sample is taken per channel. For technical support please post your questions at http:
|Date Added:||21 December 2018|
|File Size:||45.66 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
When the user wants to continuously take samples, continuous mode needs to be enabled.
Kernel configuration You can manage the i. To determine which entry corresponds to which driver read the name descriptor with:. The generic buffer code present in Linux kernel source tree can be used to test the continuous sampling functionality.
Keep in mind that opening and closing a file for every ADC read-out is relatively slow and rather ac intensive.
IMX.6UL ADC example program | NXP Community
We created a test program to show how the driver can be used, see adc-test. These four analogue inputs are compatible within the Colibri family and are dedicated ADC inputs. However the internal ADCs are anyway not meant to be used for high speed applications.
It captures the signal at the end of sampling period and starts conversion. Contents [ hide ].
The ADC peripherals also include an internal temperature sensor. Both ADC controllers are bit resolution, right justified, unsigned format.
For further information on expansion header layout please refer to the Beaglebone schematics here. For further information of J8 connector layout please refer to EVM schematics here. To determine which entry corresponds to which driver read the name descriptor with: On the ConnectCore 6UL there are:.
Retrieved from ” http: Copyright Product page More documentation. On BeagleBone platform, P9 expansion header can be used.
The ADC channels are only 1. The parameter “ti,adc-channels” needs to hold data related to which channels you want to use for ADC. Currently only software triggers are supported, they are accessible through jmx.
Navigation menu Personal tools Log in Request account.
Analog-to-Digital Converter (ADC)
Currently only AD0 and AD1 are supported. Compile the device tree and install it avc your platform. To learn the syntax of the application run: A new conversion cycle can be initiated after the previous data is read.
If one-shot mode is enabled, then the sequencer will only be scheduled one time the avc HW will automatically disable the StepEnable bit after it is scheduled which will guarantee only one sample is taken per channel.
Platform driver mapping The ADC drivers are located at: This example describes how to enable i. ADC channel mapping The i. The ADC function of these pins are not compatible with other Colibri modules. One cannot read ADC data from one channel operating in One-shot mode and and other in continuous mode at the same time. Open topic with navigation.
Linux Core ADC Users Guide – Texas Instruments Wiki
Starting with BSP versions 2. Digi Embedded Yocto version 2. All current drivers provide ADC access through sysfs.