Gentlemen,
I am working on a BeagleBone Black whose PRU needs to collect data from 2 sensors: one via SPI, the other via I2C.
My BBB comes with a Debian 9.5.
I use that distribution's "TI pru-software-support-package", which allows one to compile C-code for the PRU using "clpru" directly on the BBB.
This package includes a very handy header file called
/usr/lib/ti/pru-software-support-package/include/am335x/sys_mcspi.h
It provides the entire register set for the McSPI, using structs and unions.
Could you please provide me with the corresponding file (or link) with the definitions for the I2C-peripheral's register space?
Much obliged, Borys