tve
Posts: 9
Joined: Sun Oct 18, 2015 8:25 pm

Clock difficulties

Sun Oct 25, 2015 7:12 am

I'm trying to use system start-up code from Espruino's NucleoF411 port and it almost works on the emw3165 except for the system clock initialization. When the start-up code tries to use the main PLL as system clock source the emw3165 resets. Is there a difference in the way the clocks work on the emw3165 vs. the NucleoF411? How can I troubleshoot this (I'm new to the stm32)?
NB: the statement where the Espruino start-up code crashes is https://github.com/espruino/Espruino/bl ... 4xx.c#L559

tve
Posts: 9
Joined: Sun Oct 18, 2015 8:25 pm

Re: Clock difficulties

Sun Oct 25, 2015 5:06 pm

Just to close this out: with some help from emilfr I figured out how to configure the clock for the 26Mhz crystal (the nucleo has an 8Mhz crystal).


Return to “Firmware Development”

Who is online

Users browsing this forum: No registered users and 1 guest