I have been working on a project using a Concerto Control Card with the F28M35H52C1 on board and have noticed that the ePWM modules run at half the expected frequency. Furthermore, I noticed that the interrupts were running at half frequency. I loaded cpu_timers_c28 from the examples and ran it and see that the LED flashes at .5Hz instead of 1Hz as the software says it should. I verified that the M3 setup code appears to set up the chip to run the C28 processor at 150MHz with this line:
// Sets up PLL, M3 running at 75MHz and C28 running at 150MHz
SysCtlClockConfigSet(SYSCTL_USE_PLL | (SYSCTL_SPLLIMULT_M & 0xF) |
SYSCTL_SYSDIV_1 | SYSCTL_M3SSDIV_2 |
SYSCTL_XCLKDIV_4);
The system clock seems to be 75MHz or thereabouts instead of 150MHz. Any idea what is going on?
Mitch H.