Search found 3 matches

by gdelazzari
Fri Sep 14, 2018 7:49 pm
Forum: Bug Reports
Topic: Bug in F3 USARTv2 BRR calculation
Replies: 4
Views: 2861

Re: Bug in F3 USARTv2 BRR calculation

I did some investigation, seems like the clocks are being calculated incorrectly indeed. USART1, as shown in the clock tree at page 128 of the reference manual (ST document RM0316) for the STM32F303x6/8, is the only USART module that has a selectable clock (you can also see that in the table at page...
by gdelazzari
Fri Sep 14, 2018 8:56 am
Forum: Bug Reports
Topic: Bug in F3 USARTv2 BRR calculation
Replies: 4
Views: 2861

Re: Bug in F3 USARTv2 BRR calculation

Thanks, sorry if I wrote here and not directly in the bug reports section, but I wasn't sure if it was my fault or a bug in the HAL module.
by gdelazzari
Thu Sep 13, 2018 10:26 pm
Forum: Bug Reports
Topic: Bug in F3 USARTv2 BRR calculation
Replies: 4
Views: 2861

Bug in F3 USARTv2 BRR calculation

Hello, I'm on ChibiOS 18.2.1, STM32F3 (the F303K8 Nucleo-32 to be precise, shouldn't be relevant) and I found out that if I change the STM32_PPRE2 from STM32_PPRE2_DIV2 to STM32_PPRE2_DIV1, USART1 (using the Serial driver) runs at half the baudrate (0.51 times the desired baudrate, to be precise). S...

Go to advanced search