Skip to main content
Bao Le Gia
Associate II
March 11, 2021
Question

Stm32 Nucleo L476RG

  • March 11, 2021
  • 2 replies
  • 1193 views

0693W000008wbfiQAA.pngHi,

I'm using a Nucleo L476RG as a master and I want to use it in SPI mode 1, which means the data is transferred in rising edge of the SCLK and data is sampled in falling edge (based on ST documents). Is this the correct configuration for the SPI mode 1? and if not, then how should I set it?

This topic has been closed for replies.

2 replies

Uwe Bonnes
Chief
March 11, 2021

Try yourself, look with a scope on the data lines, compare to datasheet and reference manual and draw your conclusions. If you can only answer "somebody told me to do so", that is not good in the case of failure.

Bao Le Gia
Associate II
March 11, 2021

thank you I will try that.