Parity for STM32F072 is not working
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-07-07 7:52 AM
Posted on July 07, 2018 at 16:52
Hi All;
I would like to know when I use HAL library for parity. I setting please see below
huart1.Init.Parity = UART_PARITY_ODD;
When I setting '
UART_PARITY_ODD' and 'UART_PARITY_EVEN' is not working.
I would like to know when I want to set it. How should I do?
#parity-check #stm32f0-hal #stm32
Labels:
- Labels:
-
STM32F0 Series
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-07-07 8:32 AM
Posted on July 07, 2018 at 17:32
For 8O1 you must selected 9-BIT ODD on the STM32 side, as it counts the parity as a bit, and then you'd likely want to strip/mask on the receive side
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-07-12 7:46 PM
Posted on July 13, 2018 at 02:46
Thank you.
