GPIO pins always high on STM32F405RGT6
Hello!
I have an STM32F405RGT6 MCU with a custom PCB. I have some trouble with my GPIO pins as they only seem to be high.
I am using the STM32CubeIDE software and have configured all GPIOs. I having trouble with PA12 and PA15 in particular. See GPIO Mode and Configuration:

I use pin PA12 (MD1_AIN1) and PA15 (MD1_AIN2) for the choose the direction for a DC motor.
In the "gpio.c" file I have the following code:

As seen both PA12 and PA15 should be RESET = LOW.
Here is the configuration further down in the code:

I have tried writing:
HAL_GPIO_WritePin(GPIOA, MD1_AIN1_Pin|MD1_AIN2_Pin, GPIO_PIN_RESET);
also in the main.c file but did not seem to work.
I measure with my multimeter between ground and MD1_AIN1 3.3VDC and also between ground and MD1_AIN2.
See drawing for motor driver:

Drawing for MCU (under Digital Out):

Does anybody know why there I have constant 3.3VDC over PA12 and PA15?
Thank you.
