I stumbled on this although it does reference the stmpe811 as a touch screen controller: https://lore.kernel.org/linux-devicetree/20191119202850.18149-2-c-ro...@ti.com/
Jon On Tue, Sep 15, 2020 at 9:45 AM Dennis Lee Bieber <dennis.l.bie...@gmail.com> wrote: > On Mon, 14 Sep 2020 15:34:35 -0700 (PDT), in > gmane.comp.hardware.beagleboard.user Pierrick Rauby > <pierrick.rauby-jemvhsqn...@public.gmane.org> 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 beagleboard+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/42q1mfddlnf28kgivmrsmj4f1lu2rjf4g4%404ax.com > . > -- 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 beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAG99bkqXgLxd5-DPXU2fLzxFLQmhaYN%3D25Bos8g6GXG9xUSZeA%40mail.gmail.com.