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

Imx9 lpuart flow control #307

Merged
merged 2 commits into from
Oct 29, 2024
Merged

Imx9 lpuart flow control #307

merged 2 commits into from
Oct 29, 2024

Conversation

jlaitine
Copy link

Fix flow control for imx9 LPUART, enable RX&TX fifos, clean up interrupt handler

- Remove GPIO (SW) based flow control. It didn't work, and pure HW flow control seems to work fine
- Remove some unneeded ifdefs and change bit-field flags to booleans to clean up the code

Signed-off-by: Jukka Laitinen <[email protected]>
@jlaitine jlaitine requested a review from pussuw October 29, 2024 08:19
…ce routine

- i.MX93 LPUARTs have 16-byte RX and TX FIFOs. Take those into use and correct some related register definitions
- There is no reason to loop inside interrupt handler, remove the looping

Signed-off-by: Jukka Laitinen <[email protected]>
@jlaitine jlaitine merged commit 81c54d3 into master Oct 29, 2024
11 checks passed
@jlaitine jlaitine deleted the imx9_lpuart_flow_control branch October 29, 2024 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants