We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I use a simple delay clock code. But whenever I use this code program won't start without entering debug mode in KEIL. I plug stlink out and reconnect but it wont work if I don't enter the debug mode. Is there any solution to this. If not then what else can I use to have 100 us delay. Thank you for reading
uint32_t startTick = DWT->CYCCNT, delayTicks = 100 * (SystemCoreClock/1000000); while (DWT->CYCCNT - startTick < delayTicks);