Other Parts Discussed in Thread: TMS320F28379D
Hi,
I have a question on the low speed clock settings of CPU1 and CPU2 for TMS320F28379D.
In my application, I want to set the low speed clock for CPU1 to 50MHz (default), and 100MHz for CPU2.
I learned that the LSPCLKDIV controls the low speed clock, and CLKSEM set the ownership.
I leave everything in CPU1 as default.
In CPU2 code in the main() function, I used the settings as below.
EALLOW;
ClkCfgRegs.CLKSEM.bit.SEM = 2; // Set ownership of LOSPCP to CPU2
ClkCfgRegs.LOSPCP.bit.LSPCLKDIV = 1; // Set LSPCLK equal to SYSCLK/2 = 100MHz
EDIS;
However, it didn't work. The LSPCLKDIV still showed me 0 value, in both pause and running state.
Is there anything wrong in my settings?
Thank you very much!
Best,
Hang