Baud Rate Limits for Nicla Vision UART Transmission

Hi there,

In openMV, it is possible to use the lower the baud rates to 9600 for UART transmission. However, when trying to do this in C, it does not work with a baud rate less that 19200. Why is this? Is there a way to edit drivers/firmware to allow the baud rate to be reduced as is able in OpenMV?

Thanks in advance!

Hi, you just assign a lower baud rate in the machine module UART constructor: class UART – duplex serial communication bus — MicroPython 1.25 documentation

I don’t know what you mean by doing this in C.

Sorry, that was poorly explained. I mean that I am able to successfully lower baud rate to 9600 in micropython, but when trying to do this in C or even in Arduino, I cannot drop it below 19200. I know you guys don’t provide Arduino support but I’m just trying to figure out how it is done in OpenMV

UART code is here: micropython/ports/stm32/uart.c at 57e82328dd5332bfdb8fe26a0166ffb0237802f0 · openmv/micropython · GitHub