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.