Skip to main content
Associate III
September 25, 2023
Solved

Nucleo-F412ZG SPI is not sending out the 32 clocks to do a 4 byte write

  • September 25, 2023
  • 5 replies
  • 2403 views

JDOG_0-1695658783327.png

I am using the 

This topic has been closed for replies.
Best answer by JDOG

I slowed the SPI clock down to 3.125 Mhz and everything works fine.

Thanks for your help

5 replies

TDK
Super User
September 25, 2023

Increase your analyzer sampling rate to max. Looks like you're just missing the pulses.

What is your SPI clock rate and logic analyzer sampling rate?

"If you feel a post has answered your question, please click ""Accept as Solution""."
JDOGAuthor
Associate III
September 25, 2023

Thanks for responding... I will get that info for you.

JDOGAuthor
Associate III
September 25, 2023

I did put the Scope on the clock pin and it looks like you are right. The logic analyzer is not able to sample fast enough but the scope is seeing the clocks.

TDK
Super User
September 25, 2023

The logic analyzer should be able to sample at 500 Msps, which is likely enough. The settings are in the top tab.

"If you feel a post has answered your question, please click ""Accept as Solution""."
JDOGAuthorBest answer
Associate III
September 25, 2023

I slowed the SPI clock down to 3.125 Mhz and everything works fine.

Thanks for your help