The program can't enter into uart1_rx_interrupt
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-07-11 8:53 PM
I have initialized the uart1,but the code can't enter into function for theINTERRUPT_HANDLER(USART1_RX_TIM5_CC_IRQHandler,28)
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
‎2019-07-11 10:48 PM
STM8 or STM32 ?
Anyway, check first if proper characters arrive at the RX pin.
If you effectively don't receive anything, you will have no receive interrupt.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-07-12 12:06 AM
It's STM8. I have resolved the problem that because I make the GPIO first and the PeripheralClockConfig ​should be initialized first.
