SPRUIZ1B July 2023 – August 2024 TMS320F28P650DH , TMS320F28P650DK , TMS320F28P650SH , TMS320F28P650SK , TMS320F28P659DH-Q1 , TMS320F28P659DK-Q1 , TMS320F28P659SH-Q1
Both CPUs can access the PLL and peripheral clock configuration registers. The clock configuration semaphore allows one CPU to access the registers without being interrupted by the other CPU.
The clock configuration semaphore is implemented as a two-bit field in a register with special write protections. This register requires a key field to be written at the same time as the semaphore bits. The possible semaphore states are:
00 or 11 | Either CPU can write to the semaphore. CPU1 has control of the clock configuration registers by default. 00 is the reset state. |
01 | CPU2 has exclusive control of the clock configuration registers and exclusive write access to the semaphore. |
10 | CPU1 has exclusive control of the clock configuration registers and exclusive write access to the semaphore. |
Each CPU is only allowed to take control of the clock configuration registers for itself. However, CPU1 can force both semaphores into the default state (00) at any time by putting CPU2 into reset. Figure 3-12 shows the allowed states and state transitions.