Oberon RTK

Change Note 2024-06-23

New tool for using PIO, new example program.

New Tool gen-pio-oberon

  • Runs the PIO assembler pioasm to create the corresponding binary.
  • Generates an Oberon module to get this binary code, in order to then load it into the PIO instruction registers.
  • See [gen-pio-oberon]({{<relref "/docs/tools/man-gen-pio-oberon">}}).

New Example Program PIOsquare

  • Program one PIO state machine to output a square wave on a GPIO pin.
  • Use gen-pio-oberon to assemble the corresponding PIO assembly code, and make it accesible via a generated Oberon module.
  • See [PIOsquare]({{<relref "/docs/examples/v2/piosquare">}}).

Module MCU2

  • Add register address values for PIO.

Module UARTdev

  • Rename procedure ConfigInt to SetFifoLvl. This facility is also required for DMA, ie. not just part of the interrupt configuration.
  • Update program [UARTint]({{<relref "/docs/examples/v1/uartint">}}) accordingly.

Last updated: 23 June 2024