I use a code from 2014 that utilizes cape-bone-iio-00A0.dtbo. I would like to update this code to use device tree overlays via uboot and uEnv.txt, on a 2023 linux version.
Are there any obvious conflicts this will cause with newer BBB versions? The file doesn’t show up in /lib/firmware and I am assuming there is a reason for this. I am pretty new to device trees and want to avoid unnecessary headaches.
Thanks for the info. I have found that having the onboard ADC online works, and I can read voltage values like the way you demonstrate. However, I am not able to read those voltage values from the PRU with assembly code that previously worked using the $SLOTS method and the provided cape-bone-iio-00A0.dtbo. I suspect that my issue has something to do with the memory mapped ADC section:
But I am struggling to understand what this section does. Will this allow me to access the data from the ADC channels at the memory location 0x44e0d000? Is there something obvious I am missing? I’ve been looking at documentation but I’m still scratching my head.
Thanks for your help. These forums have allowed me to figure out a lot about the BBB already.