Question
Custom board works on USB power; not on other power supply.
uint32_t currentTime1 = HAL_GetTick();
// Her 1000 ms'de bir işlem yap
if (currentTime1 - lastTime >= 500)
{
HAL_GPIO_TogglePin(GPIOB, GPIO_PIN_14); // LED'i toggla
lastTime = currentTime1; // Son işlem zamanını güncelle
}
"I am using an STM32F100 MCU in my own PCB design. When I run it through the computer's USB, the LED toggles. However, when I power it with an external power supply, the LED just turns on and doesn't toggle afterward. I have no idea what could be causing this. Could you help me with what I should check?"
