Forum Rule: Always post complete source code & details to reproduce any issue!
-
Teensy 4.1 simultaneous SPI.transfer calls with eventhandler using LPSPI 1, 2 & 4
I am using a Teensy 4.1 to write to 3 dual channel MCP4922 DACs with the non blocking SPI.transfer command and an event handler (eg SPI.transfer(dmabuf, nullptr, 2, callbackHandler); ). I'm currently writing to each DAC sequentially by setting the CS pin to low, doing the transfer and moving on to the next. This works, ... slowly.
Is it possible to use SPI.transfer to start several transfers at once to LPSPI1, LPSPI3 and SPSPI4?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules