Skip to main content
Explorer II
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
  • 2401 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

    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?

    JDOGAuthor
    Explorer II
    September 25, 2023

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

    JDOGAuthor
    Explorer II
    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.

    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.

    JDOGAuthorAnswer
    Explorer II
    September 25, 2023

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

    Thanks for your help