-
Notifications
You must be signed in to change notification settings - Fork 952
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
STM32F1 UART TX idles after every byte #1309
Comments
Instead of calling HAL for each and every bytes, try to call it only once for a string. Several call may be needed to manage internal circular buffer Fixes stm32duino#1309 Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
Hi @jlpoltrack, Nevertheless, I agree that it is not really optimized. |
@ABOSTM |
Instead of calling HAL for each and every bytes, try to call it only once for a string. Several call may be needed to manage internal circular buffer Fixes stm32duino#1309 Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
Instead of calling HAL for each and every bytes, try to call it only once for a string. Several call may be needed to manage internal circular buffer Fixes #1309 Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
Describe the bug
When using UART1 on STM32F1, TX seem to idle after every byte sent. Don't expect this idle period.
To Reproduce
Source from Arduino IDE:
Screenshot from Scope:
![Capture_2021_02_24_18_50_39](https://user-images.githubusercontent.com/41841496/109084341-9ed80180-76d5-11eb-973c-b1fad6710af9.png)
Expected behavior
Expect to see continuous output from TX, such as:
Screenshots
Screenshots above
Desktop (please complete the following information):
Board (please complete the following information):
The text was updated successfully, but these errors were encountered: