cancel
Showing results for 
Search instead for 
Did you mean: 

SPI_CLK

rajesh reddy
Associate II
Posted on July 28, 2017 at 05:31

Hi I'm working on STM32L476RG board when I'm using SPI Peripheral as Receive only mode .In this when im receiving 4 channels data SPI is generating 5 times clock instead of generating 4 times clock.What is the reason for that.

1 REPLY 1
S.Ma
Principal
Posted on July 28, 2017 at 09:55

Try to use the normal SPI mode (4 wire) where the MOSI signal die in the chip (no GPIO).

Then check if by properly writing on the data register in 4 bit mode (make sure you do a BYTE write access to the DR) to see what happens. Did not experiment on SPI beyond the 8 and 16 bit mode, just guessing.