Skip to main content
Associate III
Sep 25, 2023 16:23 UTC
Solved

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

JDOG_0-1695658783327.png

I am using the 

This topic has been closed for replies.
JDOGBest answer
Associate III
Sep 25, 2023 21:12 UTC

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

Thanks for your help

5 replies

TDK
Sep 25, 2023 16:33 UTC

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
Sep 25, 2023 16:50 UTC

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

JDOGAuthor
Associate III
Sep 25, 2023 17:15 UTC

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
Sep 25, 2023 17:18 UTC

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
Sep 25, 2023 21:12 UTC

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

Thanks for your help