2024-04-01 07:23 AM
Processor stm32mp157f, our board design similar to dk2.
In my STM32CubeMX generated device tree (dunfell) I have added the following:
/* USER CODE BEGIN root */
soc {
vrefbuf@50025000 {
status = "disabled";
};
};
/* USER CODE END root */
I have my vref pin connected to vdda (for 3.3 reference voltage). However, trying to use the libiio interface to read my ADC's libiio is disabled. If I disconnect my vref pin from vdda and remove the disable of vrefbuf, I have libiio back.
I think there must be something else in my device tree I need to set up to tell the kernel that I am using an external vref to get iio back but I don't quite know what.
ADC used in the kernel, not in m4
Solved! Go to Solution.
2024-04-01 08:49 AM
I think I found my answer. In &adc{
I added vref-supply = <&vdda>;
And that seems to have fixed it.
2024-04-01 08:49 AM
I think I found my answer. In &adc{
I added vref-supply = <&vdda>;
And that seems to have fixed it.