AnsweredAssumed Answered

improving SPI timings

Question asked by Gaston Schelotto on May 2, 2018
Latest reply on May 9, 2018 by xiangjun.rong


I'm trying to transmit some bytes through SPI as fast as possible. To do it I use DMA transfers with this setting:

  • MKL17Z running at 48MHz (Bus clock: 24MHz)
  • SDK v2.3.0
  • SPI: baud rate 1MHz and Slave Select as GPIO

With this configuration I'm able to see this timing.



After setting the Slave Select to Low state I immediately initiate a SPI_MasterTransferDMA call. Then I wait for the sending completion.


How can I do to improve -reduce- the time (18us) from the Slave Select to the first pulse of SPI clock?