cancel
Showing results for 
Search instead for 
Did you mean: 

can't decrease SPI baud rate

yasin
Associate

Hİ, i use energy meter ic name is atm90e26 which communicates over SPI and UART. I prefer SPI in my project. But there is a problem about baud rate. Max baudRate of energymeter is 160k bit. Minimum baudRate of stm32g491 is 664k bit at 170Mhz Clock frequency. When i decrease clock frequency, the baud rate of spi is also decreases but i dont want to decrease clock frequency of  stm32. Added photos about setup and datasheet. İs there any way to solve this problem?

3 REPLIES 3
OlivierR
ST Employee

Hi,

May be you can try to increase APB1 Prescaler divider in "Clock Configuration".

Move from /1 to /8...

Regards.

yasin
Associate

yes it is possible but this also decreases other peripherals frequency. I guess there is no choice except this. Thank you.

You can also try to use some of the USARTs in synchronous mode.

JW