STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Define error in stm32l4xx_hal_exti.h

Hi everybody,I think I found a bug in stm32l4xx_hal_exti.h at the definition of the GPIO-ports:#define EXTI_GPIOA 0x00000000u#define EXTI_GPIOB 0x00000001u#define EXTI_GPIOC 0x00000002u#define EXTI_GPIOD 0x00000003u#define EXTI_GPIOE 0x00000004u#defi...

Foreground interrupts are hanged for sometime (more than 800 milli seconds)while erasing the bank2 with "(HAL_FLASHEx_Erase_IT(&eraseInitStruct) != HAL_OK)" function call in STM32H743.

if we test with ( HAL_FLASHEx_Erase(&eraseInitStruct, &SECTORError) != HAL_OK) function there is no impact on foreground interrupts. But per design notes of dual bank concepts there should not be any hang/impact on first bank operation when we erase/...

0693W00000HoGDTQA3.png
RKall.1 by Associate II
  • 760 Views
  • 5 replies
  • 0 kudos

How to check Modbus RTU 'Slave'?

I studying a Modbus RTU 'Slave' and in my opinion I did everything right according to this library https://github.com/alejoseb/Modbus-STM32-HAL-FreeRTOS I want to check, do I right Implemented a code by controlling a built-in LED.But there is no know...

DK.7 by Senior
  • 611 Views
  • 0 replies
  • 0 kudos

HAL_FLASHEx_Erase() fails using FreeRTOS

Hi all,On an STM32G070, I would like to erase flash sector during execution of freertos but I always have an error HAL_FLASH_ERROR_PGA, and when i use the function HAL_FLASH_Lock() the app crash into HardFault_Handler().My codeerase_conf.Banks = FLAS...

Gde C by Associate
  • 950 Views
  • 2 replies
  • 0 kudos