AnsweredAssumed Answered

how to do 16bit flexio spi transfers with ksdk2?

Question asked by Josh Jordan on Jul 26, 2016
Latest reply on Jul 28, 2016 by Josh Jordan

I'm trying to get 16bit flexio spi to work on a frdm-k82 with ksdk2.  I started with the ksdk demo for flexio spi and removed the slave stuff.  The default options for 8bit flexio spi work as expected.  Tried changing the parameters transfer config flags to kFLEXIO_SPI_16bitMsb and/or master config dataMode to kFLEXIO_SPI_16BitMode.  All 3 combinations of options result in nothing happening when a transfer is started.  None of the functions are failing an assert or returning non-zero status bytes, it just never does anything on the spi bus and the complete callback is never called.  I'm not too familiar with how flexio works but it looks like its setting up edma with 2 minor loops, each configured for 16bits, but the source offset is only incremented by 1 so I'm not sure what its trying to do.  I could dig into the flexio docs and debug this or maybe theres a setting I'm not setting up right?