On Mon, 14 Sep 2020 15:34:35 -0700 (PDT), in
gmane.comp.hardware.beagleboard.user Pierrick Rauby
<[email protected]> wrote:

>Hi Denis, 
>Thanks for your answer, I  agree with you that both boards have an ADC. I 
>think my initial message was miss-leading.  
>

>comes to the Beaglebone AI, it is based on the ti-am5729 which does not 
>have an on chip ADC, so the ADC of the Beaglebone AI is on board (an 
>STMPE811)  and interfaced via I2C with the am5729 chip, at least this is 
>what I understood from this diagram 

        I'd somehow missed that the BBAI ADC was "external" -- turns out the
ADC mentions in the TRM are just for the internal temperature readings.

        In either case, I still believe the concern is not really with the ADC
chip, but with getting I2C communication from the PRU. And based on my
searches -- it just isn't done. 

        There is no OS on the PRU, and I2C is handled by Linux kernel drivers.
I suspect you'd have to bit-bang the I2C protocol on whatever GPIO is
applicable (which may imply having to disable the OS I2C via device tree in
order to convert the pins to PRU-GPIO that the PRU can manipulate){That, or
disable Linux driver and perform low-level I/O to the I2C control registers
-- ie; write an I2C driver library on the PRU}

        Sorry I have nothing more encouraging.




-- 
Dennis L Bieber

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/42q1mfddlnf28kgivmrsmj4f1lu2rjf4g4%404ax.com.

Reply via email to