Solved
I have a problem of using SPI in STM32H753VIT6 CHIP
- January 31, 2024
- 2 replies
- 8242 views
Hello,
I'm trying to do SPI communication with an ADE1201 chip through an STM32H753VIT6 chip.
The maximum allowed frequency of the ADE1201 is 10MHZ, so I set the SPI to communicate with the MCU at 6.25MHZ.
(The clock for SPI communication is 25MHZ, and I set the PRESCALER value to 4).
However, a strange phenomenon was observed.

I observed through the scope that the SPI CS signal should be 0 continuously, but it turns to 1 in the middle.(See attached photo).
However, if I set the PRESCALER value to 8, the CS signal is continuously output as 0.
What could be the cause? And how can I solve this?
Could this be due to the usage of HAL_SPI_TransmitReceive function?
