Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers: serial: ra: reduce uart baud rate error #67851

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

iandmorris
Copy link
Contributor

Using the 8 base clock cycles per bit period setting (instead of 16) reduces the uart baud rate error when using a 12MHz crystal (found on many RA Microcontroller development kits boards). This setting also slightly reduces the error when using the internal 48MHz oscillator, used by the Arduino UNO R4 Minima board currently support by Zephyr.

@zephyrbot zephyrbot added the area: UART Universal Asynchronous Receiver-Transmitter label Jan 19, 2024
@zephyrbot zephyrbot requested a review from dcpleung January 19, 2024 20:08
dcpleung
dcpleung previously approved these changes Jan 19, 2024
Using the 8 base clock cycles per bit period setting (instead of 16)
reduces the uart baud rate error when using a 12MHz crystal (found on
many RA Microcontroller development kits boards). This setting also
slightly reduces the error when using the internal 48MHz oscillator,
used by the Arduino UNO R4 Minima board currently support by Zephyr.

Signed-off-by: Ian Morris <[email protected]>
@dleach02 dleach02 merged commit 826d67a into zephyrproject-rtos:main Feb 5, 2024
19 checks passed
@iandmorris iandmorris deleted the ra_uart_baud_fix branch February 5, 2024 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: UART Universal Asynchronous Receiver-Transmitter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants