SPRS698J November 2010 – September 2021 TMS320F28062 , TMS320F28062F , TMS320F28063 , TMS320F28064 , TMS320F28065 , TMS320F28066 , TMS320F28067 , TMS320F28068F , TMS320F28068M , TMS320F28069 , TMS320F28069F , TMS320F28069M
PRODUCTION DATA
The devices have an on-chip, PLL-based clock module. This module provides all the necessary clocking signals for the device, as well as control for low-power mode entry. The PLL has a 5-bit ratio control PLLCR[DIV] to select different CPU clock rates. The watchdog module should be disabled before writing to the PLLCR register. The watchdog module can be re-enabled (if need be) after the PLL module has stabilized, which takes 1 ms. The input clock and PLLCR[DIV] bits should be chosen in such a way that the output frequency of the PLL (VCOCLK) is at least 50 MHz.
PLLCR[DIV] VALUE(2)(3) | SYSCLKOUT (CLKIN) | ||
---|---|---|---|
PLLSTS[DIVSEL] = 0 or 1(1) | PLLSTS[DIVSEL] = 2 | PLLSTS[DIVSEL] = 3 | |
00000 (PLL bypass) | OSCCLK/4 (Default)(2) | OSCCLK/2 | OSCCLK |
00001 | (OSCCLK * 1)/4 | (OSCCLK * 1)/2 | (OSCCLK * 1)/1 |
00010 | (OSCCLK * 2)/4 | (OSCCLK * 2)/2 | (OSCCLK * 2)/1 |
00011 | (OSCCLK * 3)/4 | (OSCCLK * 3)/2 | (OSCCLK * 3)/1 |
00100 | (OSCCLK * 4)/4 | (OSCCLK * 4)/2 | (OSCCLK * 4)/1 |
00101 | (OSCCLK * 5)/4 | (OSCCLK * 5)/2 | (OSCCLK * 5)/1 |
00110 | (OSCCLK * 6)/4 | (OSCCLK * 6)/2 | (OSCCLK * 6)/1 |
00111 | (OSCCLK * 7)/4 | (OSCCLK * 7)/2 | (OSCCLK * 7)/1 |
01000 | (OSCCLK * 8)/4 | (OSCCLK * 8)/2 | (OSCCLK * 8)/1 |
01001 | (OSCCLK * 9)/4 | (OSCCLK * 9)/2 | (OSCCLK * 9)/1 |
01010 | (OSCCLK * 10)/4 | (OSCCLK * 10)/2 | (OSCCLK * 10)/1 |
01011 | (OSCCLK * 11)/4 | (OSCCLK * 11)/2 | (OSCCLK * 11)/1 |
01100 | (OSCCLK * 12)/4 | (OSCCLK * 12)/2 | (OSCCLK * 12)/1 |
01101 | (OSCCLK * 13)/4 | (OSCCLK * 13)/2 | (OSCCLK * 13)/1 |
01110 | (OSCCLK * 14)/4 | (OSCCLK * 14)/2 | (OSCCLK * 14)/1 |
01111 | (OSCCLK * 15)/4 | (OSCCLK * 15)/2 | (OSCCLK * 15)/1 |
10000 | (OSCCLK * 16)/4 | (OSCCLK * 16)/2 | (OSCCLK * 16)/1 |
10001 | (OSCCLK * 17)/4 | (OSCCLK * 17)/2 | (OSCCLK * 17)/1 |
10010 | (OSCCLK * 18)/4 | (OSCCLK * 18)/2 | (OSCCLK * 18)/1 |
PLLSTS [DIVSEL] | CLKIN DIVIDE |
---|---|
0 | /4 |
1 | /4 |
2 | /2 |
3 | /1 |
The PLL-based clock module provides four modes of operation:
Before changing clock sources, ensure that the target clock is present. If a clock is not present, then that clock source must be disabled (using the CLKCTL register) before switching clocks.
PLL MODE | REMARKS | PLLSTS[DIVSEL] | CLKIN AND SYSCLKOUT |
---|---|---|---|
PLL Off | Invoked by the user setting the PLLOFF bit in the PLLSTS register. The PLL block is disabled in this mode. This can be useful to reduce system noise and for low-power operation. The PLLCR register must first be set to 0x0000 (PLL Bypass) before entering this mode. The CPU clock (CLKIN) is derived directly from the input clock on either X1/X2, X1 or XCLKIN. | 0, 1 | OSCCLK/4 |
2 | OSCCLK/2 | ||
3 | OSCCLK/1 | ||
PLL Bypass | PLL Bypass is the default PLL configuration upon power-up or after an external reset ( XRS). This mode is selected when the PLLCR register is set to 0x0000 or while the PLL locks to a new frequency after the PLLCR register has been modified. In this mode, the PLL is bypassed but the PLL is not turned off. | 0, 1 | OSCCLK/4 |
2 | OSCCLK/2 | ||
3 | OSCCLK/1 | ||
PLL Enable | Achieved by writing a non-zero value n into the PLLCR register. Upon writing to the PLLCR the device will switch to PLL Bypass mode until the PLL locks. | 0, 1 | OSCCLK * n/4 |
2 | OSCCLK * n/2 | ||
3 | OSCCLK * n/1 |