2025-01-13 01:31 PM - last edited on 2025-01-14 12:53 AM by SofLit
STM32CubeMX 6.13.0.
MCU - STM32H747.
LL library selected.
Generating the EXTI2_IRQHandler for the M4 core:
void EXTI2_IRQHandler(void)
{
/* USER CODE BEGIN EXTI2_IRQn 0 */
/* USER CODE END EXTI2_IRQn 0 */
if (LL_EXTI_IsActiveFlag_0_31(LL_EXTI_LINE_2) != RESET)
{
LL_EXTI_ClearFlag_0_31(LL_EXTI_LINE_2);
/* USER CODE BEGIN LL_EXTI_LINE_2 */
/* USER CODE END LL_EXTI_LINE_2 */
}
/* USER CODE BEGIN EXTI2_IRQn 1 */
/* USER CODE END EXTI2_IRQn 1 */
}
The generated code uses LL_EXTI_IsActiveFlag_0_31 and LL_C_EXTI_ClearFlag_0_31 instead of LL_C2_EXTI_IsActiveFlag_0_31 and LL_C2_EXTI_ClearFlag_0_31 for CORE2.
2025-01-14 12:45 AM
Hello @peterdonchev
First let me thank you for posting.
I'm currently checking this internally and will get back to you as soon as possible.
THX
Ghofrane
2025-01-14 12:53 AM
Hello @peterdonchev ,
Kindly use </> button to paste a code. See Tips here. I'm editing your post.
Thanks
2025-01-14 01:47 AM
Hello @peterdonchev
Actually I tried to reproduce the issue mentioned above but I found that CubeMX 6.13.0 works just fine and this is my generated code :
I am sharing my IOC with you to double check my configuration.
I would appreciate it if you could provide your IOC to continue the investigation.
I will be waiting for your feedback.
THX
Ghofrane
2025-01-14 02:13 AM
Hello @Ghofrane GSOURI ,
Can I share it with you privately?
Regards,
Peter
2025-01-14 02:17 AM
2025-01-14 02:18 AM