Just wondering if anyone can clarify the CPU clock frequency on the MOD5272 board.
In the bsp.cpp file, there is a CPU_CLOCK variable defined as
Code: Select all
const unsigned long CPU_CLOCK = 66355200
Code: Select all
sim.timer1.tmr = ( sim.timer1.tmr & 0x00FF ) | 0x0400; // Set prescale to 1/5
...
sim.timer1.trr = ( WORD ) ( 781250L / TICKS_PER_SECOND ); //Set refernce count to give the proper Timer tick interval
...
sim.timer1.tmr = ( sim.timer1.tmr & 0xFFF9 ) | 0x0004; // Set Master_Clk/16 and start
And in the MOD5272 data sheet, it lists the clock speed as 62 MHz.
Does anyone know which one is correct? I'm fairly certain that it's either 62 MHz or 62.5 MHz.
Cheers,
Keith