Change SPI speed

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
PeterG
Posts: 7
Joined: Sun Oct 28, 2018 7:10 pm

Change SPI speed

Post by PeterG » Mon Dec 31, 2018 5:38 pm

Hello,

How can I change the bard rate of the SPI transmissions on a STM32F4Discovery board? The board is clocked at 84 MHz. This yields a slowest baud rate of 328125 bits per second because the prescaler has a max value of 256. I would like to get the baud rate down to below 10 kHz if only for testing purposes.

Thanks in advance,

PeterG

Post Reply