cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMx with STM32Cube_FW_L1_V1.7.0 produces wrong code.

Posted on August 06, 2017 at 19:22

Hello!!

I post an  .IOC file that  produces initialization code for Keil v5.

This file produced with 4.22 version of CubeMX and uses the latest firmaware for L1 family.

At module, gpio.c and especialy inside called function LL_SYSCFG_SetEXTISource(LL_AHB1_GRP1_PERIPH_GPIOA, LL_SYSCFG_EXTI_LINE0); , the first parameter,

LL_AHB1_GRP1_PERIPH_GPIOA

  is not correct.

Inside the module stm32l1xx_ll_system.h,  contained the right parameters must put.

This parameter has value 0x01, but the correct LL_SYSCFG_EXTI_PORTA  has value  0x00.

This cause problem to set the correct source of EXTI interrupts.

#ll #stm32cubemx
1 ACCEPTED SOLUTION

Accepted Solutions
Jeanne Joly
Senior III
Posted on March 05, 2018 at 14:36

Hi

FORTOUNAS.EVANGELOS

,

This issue is fixed in the current CubeMX release (4.24).

Please upgrade your cubeMX release if not already done.

BR. Jeanne

View solution in original post

2 REPLIES 2
Amel NASRI
ST Employee
Posted on August 24, 2017 at 14:55

Hi

FORTOUNAS.EVANGELOS

‌,

I confirm this issue from my side and I would like to thank you for highlighting it.

It is reported internally so that a fix can be planned for coming releases of CubeMX.

Best Regards,

Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Jeanne Joly
Senior III
Posted on March 05, 2018 at 14:36

Hi

FORTOUNAS.EVANGELOS

,

This issue is fixed in the current CubeMX release (4.24).

Please upgrade your cubeMX release if not already done.

BR. Jeanne