2021-05-30 12:20 AM
Hi, I am new to custom PCB design. I am designing my first PCB with stm32f030 and PowerSTEP01. My application involves SPI communication with PowerSTEP01. I want to use the internal clock of the STM32 MCU to avoid external oscillator and capacitors. Does SPI communication work well without external clock signal? If yes, Should I leave the clock input pins PF0 and PF1 floating or pull down to ground?
Solved! Go to Solution.
2021-05-30 09:29 AM
The internal HSI clock accuracy is good to a few percent, details in the datasheet. In general, this will not be an issue for SPI communication unless you are at the very maximum speed support by the chip you're interfacing with.
If you're not using them, it is up to you if you leave them floating or pulled to ground. Pulled to ground will use slightly less power.
2021-05-30 09:29 AM
The internal HSI clock accuracy is good to a few percent, details in the datasheet. In general, this will not be an issue for SPI communication unless you are at the very maximum speed support by the chip you're interfacing with.
If you're not using them, it is up to you if you leave them floating or pulled to ground. Pulled to ground will use slightly less power.
2021-05-30 11:12 AM
If HSE is not used, one can use those pins just like other pins - configure as inputs, outputs or some alternate function, if there is such.
As for hardware recommendations, besides AN4325, also read AN4899.
2021-05-31 09:20 AM
Thank you for clarification.