STM32L432 UART receive IRQ handler unable to created by Cube
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-18 1:34 AM
Hi, guys, anyone has met such an issue?
I was trying to generate code by CubeMX, and I also wanna generate USART1 IRQ handler but failed.
here are my settings, anyone can help me with this?
thanks
Solved! Go to Solution.
- Labels:
-
STM32CubeMX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-18 11:47 PM
Umm, no. It's in stm32l4xx_it.c file.
But you shouldn't need to do anything in that file anyways. All your coding would be done in the callbacks which are in stm32l4xx_hal_uart.c or stm32l4xx_hal_uart_ex.c. You just override the weak callbacks that you want to use.
Don't worry, I won't byte.
TimerCallback tutorial! | UART and DMA Idle tutorial!
If you find my solution useful, please click the Accept as Solution so others see the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-18 1:28 PM
Are you looking at the correct file where it gets generated?
Don't worry, I won't byte.
TimerCallback tutorial! | UART and DMA Idle tutorial!
If you find my solution useful, please click the Accept as Solution so others see the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-18 6:23 PM
the IRQ handler should be at main.c ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-18 11:47 PM
Umm, no. It's in stm32l4xx_it.c file.
But you shouldn't need to do anything in that file anyways. All your coding would be done in the callbacks which are in stm32l4xx_hal_uart.c or stm32l4xx_hal_uart_ex.c. You just override the weak callbacks that you want to use.
Don't worry, I won't byte.
TimerCallback tutorial! | UART and DMA Idle tutorial!
If you find my solution useful, please click the Accept as Solution so others see the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-19 12:23 AM
thanks anyway
