Raspberry Pi RP2040 Bare-Metal Programming – Day 5
The RP2040's PIO state machines are unique to the RP2040. The pioasm application is used to assemble PIO assembler source code that is used to drive the RP2040's PIO state machines. We will write some PIO assembler code and process it with pioasm. The file produced by pioasm is ultimately loaded into the PIO state machine's execution memory. We will write the C code that will place the assembled PIO state machine code into executable memory and start the execution of the code within the state machine.