User Activity

Here is my code, but its not working correctly void DelayMicros(uint32_t micros) { uint32_t multiplier; multiplier = SystemCoreClock / 4000000;   micros = micros * multiplier - 10; /* 4 cycles for one loop */ while (micros--)...
I am using STM32F030C8T6TR. An external 8 mhz oscillator was connected to the OSC_32_IN-OUT input by mistake, not to the OSC_IN-OUT pins on the board I have. Hardware cannot be changed. Can I reconfigure the pin with software or How can I use it? I a...
I have a lot of different flags in project, I wonder which style definition reads faster by processor .Definition 1     typedef struct{   __IO uint8_t flag1 ;   . //other flags     }Flag_t ;     Definition 2     typedef struct{   ...
I want to change system clock as a PLL(using HSE) 20 Minute after systemInit. thats why I must change it in main function not system_stm32f0.c file. Here is my code, Not working properly. I dint do anything interrupt function.void ClockInit(void){ ...
I want to update ARR new value when timer eneble(counter is counting). What can I do to update it quickly without time latency (like setting the UG bit) ? I am using stm32f0.
Kudos from