I used beaglebone white to implement ADC.
However, when I use a signal generator and oscilloscope to see the input wave,
There is always 1.8V in AIN0 , and always 0V in AIN2 and AIN3, but it is correct when I use AIN1 4 5 6,
Could anyone help me?
does that adc internal resistance cause it? Or how should I modify ADC-related files to get correct signal?
This seems to be a problem with the ADC configuration. You could run one of the libpruio examples io_input or oszi to check the hardware or the example analyse to check the configuration. (The pins may be configured for touch screen?)
To get more detailed information you should describe the steps you perform to receive the ADC values. (Do you use sysfs, mmap, a library, … ?)
I used beaglebone white to implement ADC.
However, when I use a signal generator and oscilloscope to see the input wave,
There is always 1.8V in AIN0 , and always 0V in AIN2 and AIN3, but it is correct when I use AIN1 4 5 6,
Could anyone help me?
Hi, John.
Could you teach me how to disable touchscreen driver?
should I delete the “cape-bone-lcd3-00A0.dtbo” under /lib/firmware ?
or should I modify “am335x-bone.dtb” under /boot ?
Hi, John.
Could you teach me how to disable touchscreen driver?
should I delete the “cape-bone-lcd3-00A0.dtbo” under /lib/firmware ?
or should I modify “am335x-bone.dtb” under /boot ?
You need to disable the touchscreen in the kernel .config. Easiest way is to do the following:
John:
It works fine on my beaglebone, thanks.
Also I can see that there is an small offset (~10mV) in different ADC input, but it doesn’t matter because I can handle it by using a voltage divider.