AnsweredAssumed Answered

K24 SPI 2 instance using Edma in KSDK 1.3.0

Question asked by George Sosnowski on Nov 9, 2015
Latest reply on Jan 25, 2016 by Earl Orlando Ramirez Sanchez

I'm using Kinetis MK24FN1M0CAJ12R with KDS 3.0.0 and KSDK 1.3.0 on a custom board.

I've tried to use the DSPI EDMA version of the driver for SPI instance 2, but am getting incorrect SPI transactions on the SPI bus.

However, if I use the DSPI driver without EDMA on SPI instance 2 the transactions are correct.

Furthermore, if I use the DSPI EDMA version of the driver for SPI instance 0, the transactions are correct.

Finally, I have found this errata for the k64 (of which the k24 is a subset derivative, I believe) http://cache.freescale.com/files/soft_dev_tools/doc/support_info/MQXTWRK64RN.pdf which states that a known issue for MQX 4.1.0 is "Because the DMA TX channel and DMA RX channel for SPI1 and SPI2 are the same, SPI1 and SPI2 do not use the DMA driver."

So my question is does this same errata apply to the KSDK 1.3.0 SPI drivers for SPI1 and SPI2 (i.e., that the EDMA version of the KDSK driver should not be used)?

Outcomes