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

Missing LIN break detection callback in UART HAL driver #10

Open
NicoPy opened this issue Jun 6, 2024 · 3 comments
Open

Missing LIN break detection callback in UART HAL driver #10

NicoPy opened this issue Jun 6, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request hal HAL-LL driver-related issue or pull-request. internal bug tracker Issue confirmed and logged into the internal bug tracking system st community Also reported by users on the community.st.com uart Universal Asynchronous Receiver Transmitter

Comments

@NicoPy
Copy link

NicoPy commented Jun 6, 2024

It is currently not possible to detect a line break on a UART using stm32l0xx_hal_uart.h and stm32l0xx_hal_uart.c.
This has been requested long ago here but it has still not been implemented. Any reason for that ?

Note : Same question for other bits like Auto Baud Rate Flag/Error.

@ALABSTM ALABSTM added the uart Universal Asynchronous Receiver Transmitter label Jun 7, 2024
@ALABSTM ALABSTM added question Further information is requested hal HAL-LL driver-related issue or pull-request. st community Also reported by users on the community.st.com labels Jun 7, 2024
@KRASTM KRASTM added internal bug tracker Issue confirmed and logged into the internal bug tracking system and removed question Further information is requested labels Jun 10, 2024
@KRASTM
Copy link
Contributor

KRASTM commented Jun 10, 2024

ST Internal Reference: 183583

@KRASTM
Copy link
Contributor

KRASTM commented Jun 11, 2024

Hello @NicoPy,

Regarding your question about Auto baud rate detection, unfortunately there is no intention to add this feature to this series for the moment, may be in the future, I will keep you informed.
However, there is an example in H5 series STM32CubeH5\Projects\NUCLEO-H533RE\Examples\UART\UART_AutoBaudrate_Detection, you can use it, to adapt and use this feature on L0.

With regards,

@NicoPy
Copy link
Author

NicoPy commented Jun 11, 2024

Hello @KRASTM ,
Thanks for your answer.
Today I realized there is no interrupt for Auto Baud Rate. Just flags indicating finished with/without error when a character has been received.
So, a callback is not needed.
Regards,
Nicolas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hal HAL-LL driver-related issue or pull-request. internal bug tracker Issue confirmed and logged into the internal bug tracking system st community Also reported by users on the community.st.com uart Universal Asynchronous Receiver Transmitter
Projects
Development

No branches or pull requests

3 participants