| |||
| Home > Test Chip Hardware Description > Clocks > Clock control registers | |||
The Pin Capture block (PCAPT) within the ARM1176JZF-S test chip contains the ClkCtl and ClkEnCtl registers that control the ARM1176JZF-S test chip clocks.
There are a number of restrictions to the way that clock generation can be controlled by the clock control registers. It is strongly advised that you use the default clock configuration settings applied by the CT1176JZF-S PLD during power-on reset.
The Pin Capture block base address, PCAPTBASE, is 0xCF20,0000.
The clock control register definitions are:
This register is located at PCAPTBASE+0x80 as
follows:
Address [31:0]=0x3F200080
Reset by: nPORESETX (power-on reset)
Figure 4.11 shows the ClkCtl register bit assignments.
Table 4.16 lists the ClkCtl register fields.
Table 4.16. ClkCtl register
| Bits | Access | Name | Reset value | Description |
|---|---|---|---|---|
| [31:22] | Read as zero, write ignored. | - | b0 | Undefined. |
| [21] | Read/Write | AMBAClkSource | AMBAClkSource-init | Selects PLLCLK or EXTAMBACLKIN as the source for the ACLKint and divider ACLKext dividers. See Clock divider for details. |
| [20] | Read/Write | - | b0 | Unused but read value updates with rest of register. |
| [19:14] | Read/Write | DivExt | DivExt-init[5:0] | Sets the PLLCLK to ExtACLK and ExtACLKEn divisor in the test chip Clock divider. See Clock divider. |
| [13] | Read/Write | - | b0 | Unused but read value updates with rest of register. |
| [12:7] | Read/Write | DivInt | DivInt-init[5:0] | Sets the PLLCLK to ACLK and ACLKENint divisor in the test chip Clock divider. See Clock divider. |
| [6] | Read/Write | - | b0 | Unused but read value updates with rest of register. |
| [5:0] | Read/Write | DivCore | DivCore-init[5:0] | Sets the PLLCLK to CORECLK divisor in the test chip Clock divider. See Clock divider. |
The Config-init register holds the progammable reset values.
This register is located at PCAPTBASE+0x84 as
follows:
Address [31:0]=0x3F200084
Reset by: nPORESETX (power-on reset).
Figure 4.12 shows the ClkEnCtl register bit assignments.
Table 4.17 lists the ClkEnCtl register fields.
Table 4.17. ClkEnCtl register
| Bits | Access | Name | Reset value | Description |
|---|---|---|---|---|
| [31:20] | Read as zero, write ignored. | - | 0x000 | Undefined. |
| [19] | Read/Write | ACLKSourceP | AMBAClkSource-init | When HIGH: Sources ACLKENP from the ACLKRatioP divider. When LOW: Sources ACLKENP from the ACLKENint divider. See Clock divider. |
| [18] | Read/Write | ACLKSourceD | AMBAClkSource-init | When HIGH: Sources ACLKEND from the ACLKRatioD divider. When LOW: Sources ACLKEND from the ACLKENint divider. See Clock divider. |
| [17] | Read/Write | ACLKSourceRW | AMBAClkSource-init | When HIGH: Sources ACLKENRW from the ACLKRatioRW divider. When LOW: Sources ACLKENRW from the ACLKENint divider. See Clock divider. |
| [16] | Read/Write | ACLKSourceI | AMBAClkSource-init | When HIGH: Sources ACLKENI from the ACLKRatioI divider. When LOW: Sources ACLKENI from the ACLKENint divider. See Clock divider. |
| [15:12] | Read/Write | ACLKRatioP | 0x0 | Sets the CORECLK to ACLKENP ratio. |
| [11:8] | Read/Write | ACLKRatioD | 0x0 | Sets the CORECLK to ACLKEND ratio. |
| [7:4] | Read/Write | ACLKRatioRW | 0x0 | Sets the CORECLK to ACLKENRW ratio. |
| [3:0] | Read/Write | ACLKRatioI | 0x0 | Sets the CORECLK to ACLKENI ratio. |
The Config-init register holds the progammable reset values.