STM32L053 GPIO Outputs not working
Hi,
We have a custom design based on STM32L053C8U8 with the pinout mapping as image attached. The GPIOs setting and initialization code is generated by STM32CubeIDE version 1.17.0 and companion CubeMX . however, the GPIO level the output pins are not in line with the firmware control using HAL_GPIO_WritePin(). for example, HAL_GPIO_WritePin(GPIOA, GPIO_PIN_11, GPIO_PIN_RESET) won't sew the PA11 to LOW.
The initialization code is attached.
What's wrong? thanks in advance and appreciate your responses!

