Skip to content

SoftwareSerial baudrate cannot be changed dynamically #523

@gicking

Description

@gicking

I have a library which provides LIN communication across a variety of architectures and serial interfaces. To generate LIN BREAK signal, I temporarily reduce the baudrate, send 0x00 and revert to the original baudrate.

However, when porting to the Uno R4 Minima I found that here the SoftwareSerial baudrate is fixed by the first call to SoftwareSerial.begin() and cannot be changed afterwards. Closing the interface or adding a delay also doesn't help. Attached please find a small sketch and screenshots to show what I mean.

Can you please look into that? Thanks a lot in advance!

Looking forward to a lot of fun with the new UNO :-)

Test_SWSerial_Baudrate.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itself

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions