DmaSpi icon indicating copy to clipboard operation
DmaSpi copied to clipboard

DMA SPI for the Teensy LC/3.0/3.1/3.2/3.5/3.6

Results 10 DmaSpi issues
Sort by recently updated
recently updated
newest added

just confirming that works, I used with LC with pin 0,20 should be SPI1 do you plan on updating to T4.0? Thankyou

It would be useful if the Teensy could act as a SPI slave device when connecting to another micro-controller.

I would like to use the DmaSpi for accessing SPI memory, such as the LC1024 on the Teensy Audio board. I have tested these changes in my BAGuitar repo, branch...

Teensy 3.5's SPI1 and SPI2 only have one DMA channel trigger source shared by RX and TX. How these can be used for DMASPI is still not quite clear. Threads...

enhancement

The DMA system limits transfers to 32767 bytes, but larger SPI transactions are necessary in some cases. Larger transfers could be split automatically, or manually (see #16 )

enhancement

There's currently no way for AbstractDmaSpi to pass information about which SPI is actually in use to AbstractChipSelect. ActiveLowChipSelect for example is hardcoded to use SPI, and not SPI1.

bug

Large transfers (>32767 bytes) must be split into two or more transfers, but the deselecting the chip between those might break the chip's logic. Add an example class that can...

enhancement

When multiple tranfers must be executed in a known order, therre should be a possibility to add them as a block (including possible loops, if desired). This means that data...

enhancement

I needed a callback function to know when my transfer had completed, maybe others could use this as well?

Create a ChipSelect class that automatically ends a transaction when it goes out of scope

enhancement