cancel
Showing results for 
Search instead for 
Did you mean: 

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

JDOG
Associate III

JDOG_0-1695658783327.png

I am using the 

1 ACCEPTED SOLUTION

Accepted Solutions
JDOG
Associate III

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

Thanks for your help

View solution in original post

5 REPLIES 5
TDK
Guru

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".
JDOG
Associate III

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

JDOG
Associate III

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
Guru

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".
JDOG
Associate III

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

Thanks for your help