jernejp21 / klipper

Klipper is a 3d-printer firmware
GNU General Public License v3.0
0 stars 0 forks source link

Serial init STM32MP1 #1

Closed jernejp21 closed 2 years ago

jernejp21 commented 2 years ago

USART has different init that other STM32 devices. BRR (baud rate) takes only whole number divider. Other STM32 devices take whole part and fractional part.

Tx/Rx baud = usart_ker_ckpres / USARTDIV (clock is in Hz)

jernejp21 commented 2 years ago

Done