Skip to main content
Vangelis Fortounas
Associate II
August 6, 2017
Solved

STM32CubeMx with STM32Cube_FW_L1_V1.7.0 produces wrong code.

  • August 6, 2017
  • 2 replies
  • 872 views
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
This topic has been closed for replies.
Best answer by Jeanne Joly
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

2 replies

Amel NASRI
Technical Moderator
August 24, 2017
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
Associate
March 5, 2018
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