Working with some LLMs I have put together a demo/template app for the PocketBeagle2.
- Linux on the Cortex-A53s runs
pb2, one program that drives the demo. - Zephyr on the Cortex-M4F answers function calls from Linux (eRPC over RPMsg) and writes SPI.
- PRU0 takes commands from Linux (RPMsg) and from Zephyr (a shared DDR mailbox).
- PRU1 runs a cycle-counted loop and bit-bangs a UART frame on a header pin.
The demo both works with the Beagle Debian image, and with a Yocto build option.
