Other Parts Discussed in Thread: ADC128S052, SYSCONFIG
Hi team,
I have trying to interface adc(adc128s052) to the main_SPI2 on Am62x. I have done the changes in Device tree file and Menuconfig.
Device tree:
main_mcspi2_pins_default: main-mcspi2-pins-default {
pinctrl-single,pins = <
In Menuconfig:
Enable the Device Driver as module:
Device Drivers -> iio -> analog and digital converters -> adc128s052.
After building copied Image and dtb file to sd card.
while trying to access from user space from sys/bus/iio/devices/iio:device0/
cat in_voltage0_raw
The output is always 0. I have tried checking all the voltage channels.
While trying to tap the mcspi signals using Logic analyzer can't able to get any signals on the pins not even clock.
And also i tried to check with spidev,by following the Link below.
software-dl.ti.com/.../SPI.html
but the result was same, no clock is generated on the SPI Pins.
I think i am missing something, can anyone kindly guide me through this.
Regards,
Murali Chikkanna