How to enable UART2 in Interrupt mode
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-12-08 4:17 AM
Posted on December 08, 2014 at 13:17
Hi,
I am using stm32F411RE,trying to enable UART2 in interrupt mode.Can somebody guide me how to do it.UART2 is working fine in blocking mode. #interrupt #uart2 #stm32
Labels:
- Labels:
-
Interrupt
-
UART-USART
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-12-08 4:51 AM
Posted on December 08, 2014 at 13:51
I have post lost of examples, and there should be examples in the library examples. I'm not using the 411 so no idea if there is anything special with that, and you're not providing any code to give some insight into why you've been unsuccessful.
I'll note you need to disable the TXE interrupt if you have not data to provide, otherwise it will never exit the interrupt handler.
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..
