Hi,
I have succesfully managed to run a simple application on PRU, which turns on and off some GPIO outputs.
Now I wanted to try the "PRU_Hardware_UART" example, but when measuring the voltage at PIN pr1_uart0_txd (D16), I see no changes.
In my device tree overlay the pinmux looks like this:
AM33XX_IOPAD(0x834, PIN_OUTPUT_PULLUP | MUX_MODE6) /* gpio1_13 */ AM33XX_IOPAD(0x980, PIN_INPUT | MUX_MODE5) /* pr1_uart0_rxd */ AM33XX_IOPAD(0x984, PIN_OUTPUT | MUX_MODE5) /* pr1_uart0_txd */
I configured gpio1_13 as normal PRU gpio, which works quite well. But from pr1_uart0_txd I get no output when running the "PRU_Hardware_UART" example of the pru software support package.
Then I let gpio1_13 toggle every time, when a byte is sent and the timing of the UART seems OK. So the application is running correctly.
I tried it with both Beaglebone Green and Octavo Systems OSD335x-SM using Debian 9 with Kernel 4.14 and it behaves the same.
What am I doing wrong?