JAJSGS4P November 2008 – February 2021 TMS320F28020 , TMS320F280200 , TMS320F28021 , TMS320F28022 , TMS320F28023 , TMS320F28023-Q1 , TMS320F28026 , TMS320F28026-Q1 , TMS320F28026F , TMS320F28027 , TMS320F28027-Q1 , TMS320F28027F , TMS320F28027F-Q1
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 4-bit ratio control PLLCR[DIV] to select different CPU clock rates. The watchdog module should be disabled before writing to the PLLCR register. It 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 | |
0000 (PLL bypass) | OSCCLK/4 (Default)(2) | OSCCLK/2 | OSCCLK |
0001 | (OSCCLK * 1)/4 | (OSCCLK * 1)/2 | (OSCCLK * 1)/1 |
0010 | (OSCCLK * 2)/4 | (OSCCLK * 2)/2 | (OSCCLK * 2)/1 |
0011 | (OSCCLK * 3)/4 | (OSCCLK * 3)/2 | (OSCCLK * 3)/1 |
0100 | (OSCCLK * 4)/4 | (OSCCLK * 4)/2 | (OSCCLK * 4)/1 |
0101 | (OSCCLK * 5)/4 | (OSCCLK * 5)/2 | (OSCCLK * 5)/1 |
0110 | (OSCCLK * 6)/4 | (OSCCLK * 6)/2 | (OSCCLK * 6)/1 |
0111 | (OSCCLK * 7)/4 | (OSCCLK * 7)/2 | (OSCCLK * 7)/1 |
1000 | (OSCCLK * 8)/4 | (OSCCLK * 8)/2 | (OSCCLK * 8)/1 |
1001 | (OSCCLK * 9)/4 | (OSCCLK * 9)/2 | (OSCCLK * 9)/1 |
1010 | (OSCCLK * 10)/4 | (OSCCLK * 10)/2 | (OSCCLK * 10)/1 |
1011 | (OSCCLK * 11)/4 | (OSCCLK * 11)/2 | (OSCCLK * 11)/1 |
1100 | (OSCCLK * 12)/4 | (OSCCLK * 12)/2 | (OSCCLK * 12)/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 2 3 | OSCCLK/4 OSCCLK/2 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 2 3 | OSCCLK/4 OSCCLK/2 OSCCLK/1 |
PLL Enable | Achieved by writing a nonzero 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 2 3 | OSCCLK * n/4 OSCCLK * n/2 OSCCLK * n/1 |