2025-10-04 2:17 PM
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?
2025-10-04 2:24 PM
>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 ?
)
2025-10-06 1:10 PM
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.