Skip to main content
rajesh reddy
Associate II
July 28, 2017
Question

SPI_CLK

  • July 28, 2017
  • 1 reply
  • 512 views
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.

    This topic has been closed for replies.

    1 reply

    S.Ma
    Principal
    July 28, 2017
    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.