2022-04-13 11:40 AM
FIX: Enable pull-down resistor in SCK pin
Init parameters:
Software: CubeIDE 1.9, CubeMX 6.5.0
Device: STM32F411CE
Issue:
The issue can be seen here:
Solved! Go to Solution.
2022-04-13 12:42 PM
When you disable SPI (by clearing SPE bit), SCK is threestated. If it goes up, it's because there is a pullup, internal or external.
If you don't like Cube/HAL's behaviour, simply don't use it. SPI is simple enough to be used normally.
JW
2022-04-13 12:42 PM
When you disable SPI (by clearing SPE bit), SCK is threestated. If it goes up, it's because there is a pullup, internal or external.
If you don't like Cube/HAL's behaviour, simply don't use it. SPI is simple enough to be used normally.
JW
2022-04-13 01:33 PM
Enabling the pulldown resistor fixed the clock idle issue, Thanks!