Programming fails? Posted by MarcoAmerena on 2015-10-09 10:00 Ok I managed to solve it by putting __HAL_RCC_GPIOD_CLK_ENABLE(); before the while loop. I guess this means I didn't set it up correctly in CubeMX 😕