The necessary driver support is available with version 2. We created a test program to show how the driver can be used, see adc-test. On BeagleBone platform, P9 expansion header can be used. For further information on expansion header layout please refer to the Beaglebone schematics here. When the user wants to continuously take samples, continuous mode needs to be enabled.
|Date Added:||19 December 2008|
|File Size:||39.83 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
For BSP versions 2. Kernel configuration You can manage the i.
For technical support please post your questions at http: We created a test program to show how the driver can be used, see adc-test. From Texas Instruments Wiki. Views Read View source View history. The STMPE supports up to 8 analogue inputs, however, input are used for the resistive touchscreen interface. MX6 ADC driver support through the following kernel configuration option: About us Contact us Support. Open topic with navigation.
Since the ADC is shared with the touchscreen its not recommended to change the ADC characteristics such as sample time. The generic buffer code present in Linux kernel source tree can be used to test the continuous sampling functionality. The ADC drivers only support “one-shot” mode. It captures the signal at the end of sampling period and starts conversion.
All current drivers provide ADC access through sysfs.
Linux source code: drivers/iio/adc/vf_adc.c (v) – Bootlin
The ADC peripherals also include an internal temperature sensor. This is a limitation of the i. Please note that the ADC output is positive binary weighted data. Enable the channels indexes that you want to enable by using the adc-ch-list property for i. The device tree must contain entries for: You can find the source code for ADC here.
Currently only AD0 and AD1 are supported. Read the omx value of a channel with:.
The ADC samples the analog signal when “start of conversion” signal is high and continues sampling 1 clock cycle after the falling edge. For ad information of J8 connector layout please refer to EVM schematics here.
Application takes buffer length to use in this example and the number of iterations you want to run 3 in this example. When the user wants to continuously take samples, continuous mode needs to be enabled.
The necessary aec support is available with version 2. Platform driver mapping The ADC drivers are located at: Compile the device tree and install it in your platform. On BeagleBone platform, P9 expansion header can be used. 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.
IMX.6UL ADC example program
Continuous capture mode is not currently supported. These four analogue inputs are compatible within the Colibri family and are dedicated ADC inputs. 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.
The ADC function of these pins are not compatible with other Colibri modules.