cancel
Showing results for 
Search instead for 
Did you mean: 

SPI_CLK(STM32L4)

rajesh reddy
Associate II
Posted on July 20, 2017 at 12:42

Hi sir I'm working on STM32L476RG .While im using SPI peripheral in that im facing issue i.e in the clock gereration.

when clock generating according to resolution setting(ex-16 bit) after  that 16 clock pulses its having some more delay (12us)after that  again 16 clock pulses generating and again more delay ..every time its continuing ..whats the solution for that.

This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
S.Ma
Principal
Posted on August 03, 2017 at 10:38

The SPI has 32 bit FIFO (Tx/Rx) so it should be possible to push 2x16 bit if sending data by polling or interrupt.

Otherwise, for maximum throughput, DMA should be used to run data block transfers.