Teensy 4.1 using SPI.h with 32 bit SPI transfer?

tomheralds36

New member
Just a quick question.... can we use SPI.h with the Teensy 4.1 and do a 32 bit SPI transfer? I know that the Arduino library supports 8 bit transfer--but the Teensy 4.1 chip supports 32 bit transfers. Is there an already integrated library or solution?
 
Yes, the SPI library has transfer(), transfer16(), and transfer32() for T4.x. See the source code in the SPI library in TeensyDuino.
 
Back
Top