FDCAN interrupt on STM32G481
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-19 7:09 AM - edited ‎2024-12-19 7:21 AM
Hello,
I am using STM32G491 FDCAN modules 1 and 2 in bare metal. While everything works perfectly on CAN2 the interrupt on CAN1 is constantly disabled. And I do not mean the flags but the actual interrupt does not fire. Each time the interrupt for CAN2 fires, the interrupt from CAN1 is disabled. When I read out the register NVIC->ISER[0] after initialization then I can see bits 6 (EXTI0) and 21 (FDCAN1_IT0) are set. Once FDCAN2 interrupt fires these two bits are reset to 0. I need to enable them again in the ISR of CAN2. How can this happen? How can the interrupt simply be disabled by a different interrupt?
Solved! Go to Solution.
- Labels:
-
FDCAN
-
STM32G4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-19 7:26 AM
Found the problem. Was unrelated to the interrupt. Why is not possible to delete useless posts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-19 7:26 AM
Found the problem. Was unrelated to the interrupt. Why is not possible to delete useless posts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-19 7:31 AM
Perhaps, put the solution and accept it as solution.
