Jacob.Schultz
Active member
I found a mismatch in the 180 Mhz clock configuration in Tensyduino
The only way to hit a 180 Mhz clock in HS mode exactly with a 16 Mhz crystal with Kinetis own online clock tools is the following parameters:
MCG.VDIV.scale, value: '45'
MCG.PRDIV.scale, value: '2'
SIM.OUTDIV2.scale, value: '3' - gives 60 Mhz bus clock
and it looks like Teensyduino is running a 116 Mhz core and 58 Mz bus in 180 Mhz mode. The OUTDIV2 must be 3 anyway since 180/3 = 60
VDIV = 29
PRDIV = 1
OUTDIV2 = 2
is it correct assumed? I have verified that the clock frequency according to Kinetis configuration is working correct.
The only way to hit a 180 Mhz clock in HS mode exactly with a 16 Mhz crystal with Kinetis own online clock tools is the following parameters:
MCG.VDIV.scale, value: '45'
MCG.PRDIV.scale, value: '2'
SIM.OUTDIV2.scale, value: '3' - gives 60 Mhz bus clock
and it looks like Teensyduino is running a 116 Mhz core and 58 Mz bus in 180 Mhz mode. The OUTDIV2 must be 3 anyway since 180/3 = 60
VDIV = 29
PRDIV = 1
OUTDIV2 = 2
is it correct assumed? I have verified that the clock frequency according to Kinetis configuration is working correct.
Last edited: