arduino-pico/libraries/PDM
Bodmer 5a0d67f1ac
PDM library: Update PIO and interrupt use (#496)
The PIO and state machine were hard wired, so this caused problems if they were not free. The approach used by the Servo library has been adopted so a free PIO and SM are searched.

The DMA_IRQ_0 was grabbed exclusively, but this conflicts with SPI DMA use. The interrupt is now shared, but has been allocated the highest possible priority.

Since the PDM PIO use is receive only, the PIO state machine RX FIFO's can be joined to reduce DMA interrupt load.
2022-02-20 13:20:43 -08:00
..
examples/PDMSerialPlotter Add PDM library for Arduino Nano RP2040 Connect (#213) 2021-06-16 08:17:09 -07:00
src PDM library: Update PIO and interrupt use (#496) 2022-02-20 13:20:43 -08:00
keywords.txt Add PDM library for Arduino Nano RP2040 Connect (#213) 2021-06-16 08:17:09 -07:00
library.properties Add PDM library for Arduino Nano RP2040 Connect (#213) 2021-06-16 08:17:09 -07:00