STM32F7 Error FreeRTOS Uart IT communication
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-01-10 6:57 AM
Hi, i created two FreeRTOS tasks. Each task shall print a message via terminal using Uart IT. When i start the program it says processor received an unexpected interrupt. infinite loop.
Whats wrong here?
Thanks.
- Labels:
-
FreeRTOS
-
STM32F7 Series
-
UART-USART
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-01-10 7:37 AM
Your stm32f7xx_it.c defines void USARTx_IRQHandler(void), but there is no such interrupt handler.
main.c contains the correct define:
#define USARTx_IRQHandler USART6_IRQHandler
but, that's not visible/effective in stm32f7xx_it.c
Move all those defines from main.c to main.h
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-01-10 8:59 AM
Okay thanks, it works!
