Maximum baud rate for serial bootloaders
What is the maximum reliable baud rate that the serial bootloader will operate at?
I am aware than AN3155 says that the max tested is 115200 but that's too slow for the production rates we need. How much faster can it go? I would like to go at least 1 Mbs, and would prefer 2 Mbs if possible.
I presume the autobaud feature is being used in mode 2 (looking for 0x7f, the most accurate baud measurement). Assuming an oversample of 16, then a baud rate of the clock divided by 16 should be the maximum. Perhaps best not to operate right at the maximum.
The parts in use and what I think they should be able to do:
STM32G070, 24 MHz clock, USARTDIV of 24 is 1 Mbs
STM32U535, 60 MHz clock, USARTDIV of 30 is 2 Mbs
STM32H723, 66 MHz clock, USARTDIV of 33 is 2 Mbs.
Are those possible and workable?
Apologies, I don't have test boards where I can check this, so I am looking for anyone with field experience or knowledge of this.
Thanks.
