-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
I'm trying to use pioLib interface to receive variable length packets, using DMA. The protocol has CLK, 2 data pins and a frame sync. The issue I'm trying to understand is how to terminate the DMA FIFO read?
For example:
pio_sm_config_xfer(pio, sm, PIO_DIR_FROM_SM, 4096, 10));
//This would return number of RX bytes received
pio_sm_xfer_data_rx(static int rp1_pio_sm_xfer_data(PIO pio, uint sm, uint dir, uint data_bytes, void *data, uint &rxBytes);
in the PIO state machine, issue an IRQ terminate the DMA?
andreasgrosche
Metadata
Metadata
Assignees
Labels
No labels