Skip to content

Cannot set UART to 300 baud #208

Open
@keestux

Description

@keestux

Hi,

Since the commit 20104a6 it is not possible to set the UART baudrate to 300 anymore. We're now using the fractional mode of the SERCOM and sercom->USART.BAUD.FRAC.BAUD can only hold 13 bits while at 300 baud you want to write 10000. It doesn't fit.

To be honest, I don't even know how accurate the 300 baud used to be before this change, but we only use it to emulate sending a break. And that is not possible anymore.

Should we perhaps switch to the non-fractional mode if we detect that there is an overflow of the 13 bits?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions