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

STM32H743 USART can not set ARM_USART_EVENT_RX_TIMEOUT #30

Open
1132520084 opened this issue Oct 24, 2022 · 1 comment
Open

STM32H743 USART can not set ARM_USART_EVENT_RX_TIMEOUT #30

1132520084 opened this issue Oct 24, 2022 · 1 comment

Comments

@1132520084
Copy link

STM32F429 is support ARM_USART_EVENT_RX_TIMEOUT , but I can't use it on STM32H743, Is this function under development or cannot be completed due to hardware limitations,We look forward to your reply

@MiloradCvjetkovic
Copy link
Collaborator

Hi @1132520084,

sorry for overlooking this issue earlier.

The USART driver for STMicroelectronics STM32 devices based on STM HAL is being developed here: https://github.com/Open-CMSIS-Pack/CMSIS-Driver_STM32/blob/main/Drivers/USART_STM32.c .

This driver does also not support ARM_USART_EVENT_RX_TIMEOUT.
Reason for that is that STM HAL functionality terminates the ongoing transfer if an timeout is detected, whereas CMSIS driver specification requires transfer to remain active and continue with just signaling the ARM_USART_EVENT_RX_TIMEOUT event.
Due to this functional incompatibility this feature is not planned to be implemented.

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

No branches or pull requests

2 participants