How to perform multiple ADC conversions using stm32mp15 ?
I am asking this question after using the the Developer package of the STM32 Echosystem in orfer to recompile the kernel drivers of the ADC to activate the ADC, how ever i can't figure out how to modify the device tree. i was trying to get this example "3.3 How to perform multiple ADC conversions in triggered buffer mode using libiio
" provided by st to work (https://wiki.st.com/stm32mpu/wiki/How_to_use_the_IIO_user_space_interface)
how ever when i reach this example to test it doesn't work since i don't have the trigger0 showing up after using the iio_info command
$ iio_readdev -t trigger0 -s 8 -b 8 iio:device0 voltage0 voltage1 | hexdumpin that case my question is how to get this example working by changing the device tree and the developement echosystem's method ?
this is my device tree configuration
&adc {
vdd-supply = <&vdd>;
vdda-supply = <&vdda>;
vref-supply = <&vdda>;
status = "okay";
adc1: adc@0 {
st,min-sample-time-nsecs = <5000>;
st,adc-channels = <0 1>;
status = "okay";
};
adc2: adc@100 {
status = "okay";
};
adc_temp: temp {
status = "okay";
};
};