2019-03-25 03:50 AM
2019-03-25 05:47 AM
There are some posts about generated code about HAL_Delay being different from CubeMX 5+. Similar issue here?
2019-03-25 06:23 AM
some projects you have to enable systick, is it running ?
void initSysTick() {
int ticks = 0x6000; // 32MHz 1mS count
SysTick->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */
NVIC_SetPriority(SysTick_IRQn, (1UL << __NVIC_PRIO_BITS) - 1UL); /* set Priority for Systick Interrupt */
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk |
SysTick_CTRL_TICKINT_Msk |
SysTick_CTRL_ENABLE_Msk; /* Enable SysTick IRQ and SysTick Timer */
}
2019-03-25 06:27 AM
i tested led blinking on my stm32f429 board , the LED turn on but didn't blinking but now when i tested it on my friend's board with the same code it worked !!! so i think it is caused by Hardware.
2019-03-25 06:34 AM
2019-03-25 06:36 AM
i tried it now but still doesn't work
2019-03-25 06:49 AM
yes it is running
2019-03-25 06:52 AM
2019-03-25 07:04 AM
Yes , it lights up but doesn't blinking
2019-03-25 07:07 AM