Other Parts Discussed in Thread: C2000WARE
Tool/software:
I have developed a board using a 10 MHz crystal oscillator, with a 1 MΩ resistor in parallel to the crystal and two 36 pF capacitors connected to pins X1 and X2. I initially calculated the clock settings for 200MHz as follows:
InitSysPll(XTAL_OSC, IMULT_40, FMULT_0, PLLCLK_BY_2);
However, when I attempt to debug the ePWM dead band example provided in C2000Ware, the program downloads successfully, but I encounter an error when I press the run button. I then changed the clock setting to:
InitSysPll(XTAL_OSC, IMULT_10, FMULT_0, PLLCLK_BY_2); (50MHz)
With this adjustment, the program works. However, I am concerned that these settings may not be accurate. Can anyone provide guidance on this issue?