cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L0xx CUBE bug: GPIO EXTI config

denlok
Associate II
Posted on June 08, 2015 at 10:43

Hello

STM32L0 CUBE pack, file stm32l0xx_hal_gpio.c have a mega-bug. When will be used GPIO EXTI function, at end of config the all SYSCFG->EXTICR registers will be set to FFFF.

in file, function HAL_GPIO_Init:

259:   temp &= ~((uint32_t)0x0F) << (4 * (position & 0x03));

must be:

259:   temp &= ~(((uint32_t)0x0F) << (4 * (position & 0x03)));

This bug may have place in the other packs, need to check it.

To developers: People, please adjust it in your sources and archives!!!
1 REPLY 1
Amel NASRI
ST Employee
Posted on June 11, 2015 at 11:58

Hi Elik,

This issue is already fixed in STM32CubeL0 1.2.0 that will be available soon on the web.

Thanks

-Mayla-

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.