Skip to main content
Visitor II
Oct 4, 2025 9:17 PM UTC
Question

No clock signal on SPI1_SCK

After configuring SPI1 in CubeMX and calling HAL_SPI_Transmit, I get a signal on the SPI1_MOSI line, but no signal on the SPI1_CK. I have confirmed that the pin is working correctly with other code and tried different clock speeds to see if that was the problem. Any ideas on why a clock signal is not being sent over SPI1_CK?

This topic has been closed for replies.

2 replies

AScha.3
Super User
Oct 4, 2025 9:24 PM UTC

>Any ideas on why a clock signal is not being sent over SPI1_CK?

You do something wrong in your program.

 

(Same level of information.

- which cpu ?

- ioc / pin setting ?

- program /source ?

)

If you feel a post has answered your question, please click on " Best Answer ".
TDK
Oct 6, 2025 8:10 PM UTC

If MOSI has a signal, then SCK has a signal internally. If you're not picking it up on a scope, either you're measuring the wrong thing or the pin you're measuring isn't configured as SCK.

"If you feel a post has answered your question, please click ""Accept as Solution""."