This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x PRU access to I2C and other peripherals on L4_PER bus

I'm trying to get the PRU on a Beaglebone Black to work with the I2C1 peripheral located on the L4_PER bus. However I can't even write a value to one of the I2C registers and read the same value back successfully. It just always returns 0.

Is there anything extra/special that I need to enable to get access to peripherals on the L4_PER bus? Does anyone have example code of this working? I know most people bit bang I2C/SPI/UART on the PRU but that is a last resort.