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?