F4OS icon indicating copy to clipboard operation
F4OS copied to clipboard

IO peripheral baud rate selection

Open prattmic opened this issue 10 years ago • 0 comments

There should be a way to specify the baud rate of IO peripherals (UART, I2C, SPI, etc), preferably at runtime, and in standard units.

Currently, on the STM32F4, the UART is hard coded to 115200, and the SPI is hard coded to PCLK/8. As a result, the actual clock rate depends on which SPI peripheral is used (different peripherals have different PCLK values), and the system clock speed.

prattmic avatar May 03 '14 16:05 prattmic