SWCU185G January 2018 – June 2024 CC1312PSIP , CC1312R , CC1352P , CC1352R , CC2642R , CC2642R-Q1 , CC2652P , CC2652PSIP , CC2652R , CC2652RB , CC2652RSIP , CC2662R-Q1
Table 3-55 lists the memory-mapped registers for the CPU_FPB registers. All register offset addresses not listed in Table 3-55 should be considered as reserved locations and the register contents should not be modified.
Offset | Acronym | Register Name | Section |
---|---|---|---|
0h | CTRL | Control | CTRL Register (Offset = 0h) [Reset = 00000260h] |
4h | REMAP | Remap | REMAP Register (Offset = 4h) [Reset = 20000000h] |
8h | COMP0 | Comparator 0 | COMP0 Register (Offset = 8h) [Reset = 00000000h] |
Ch | COMP1 | Comparator 1 | COMP1 Register (Offset = Ch) [Reset = 00000000h] |
10h | COMP2 | Comparator 2 | COMP2 Register (Offset = 10h) [Reset = 00000000h] |
14h | COMP3 | Comparator 3 | COMP3 Register (Offset = 14h) [Reset = 00000000h] |
18h | COMP4 | Comparator 4 | COMP4 Register (Offset = 18h) [Reset = 00000000h] |
1Ch | COMP5 | Comparator 5 | COMP5 Register (Offset = 1Ch) [Reset = 00000000h] |
20h | COMP6 | Comparator 6 | COMP6 Register (Offset = 20h) [Reset = 00000000h] |
24h | COMP7 | Comparator 7 | COMP7 Register (Offset = 24h) [Reset = 00000000h] |
Complex bit access types are encoded to fit into small table cells. Table 3-56 shows the codes that are used for access types in this section.
Access Type | Code | Description |
---|---|---|
Read Type | ||
R | R | Read |
Write Type | ||
W | W | Write |
Reset or Default Value | ||
-n | Value after reset or the default value |
CTRL is shown in Figure 3-25 and described in Table 3-57.
Return to the Summary Table.
Control
This register is used to enable the flash patch block.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | NUM_CODE2 | NUM_LIT | |||||
R-0h | R-0h | R-2h | |||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
NUM_CODE1 | RESERVED | KEY | ENABLE | ||||
R-6h | R-0h | W-0h | R/W-0h | ||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-14 | RESERVED | R | 0h | Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
13-12 | NUM_CODE2 | R | 0h | Number of full banks of code comparators, sixteen comparators per bank. Where less than sixteen code comparators are provided, the bank count is zero, and the number present indicated by NUM_CODE1. This read only field contains 3'b000 to indicate 0 banks for Cortex-M processor. |
11-8 | NUM_LIT | R | 2h | Number of literal slots field. 0x0: No literal slots 0x2: Two literal slots |
7-4 | NUM_CODE1 | R | 6h | Number of code slots field. 0x0: No code slots 0x2: Two code slots 0x6: Six code slots |
3-2 | RESERVED | R | 0h | Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
1 | KEY | W | 0h | Key field. In order to write to this register, this bit-field must be written to '1'. This bit always reads 0. |
0 | ENABLE | R/W | 0h | Flash patch unit enable bit 0x0: Flash patch unit disabled 0x1: Flash patch unit enabled |
REMAP is shown in Figure 3-26 and described in Table 3-58.
Return to the Summary Table.
Remap
This register provides the remap base address location where a matched addresses are remapped. The three most significant bits and the five least significant bits of the remap base address are hard-coded to 3'b001 and 5'b00000 respectively. The remap base address must be in system space and is it required to be 8-word aligned, with one word allocated to each of the eight FPB comparators.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | REMAP | ||||||||||||||
R-1h | R/W-X | ||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
REMAP | RESERVED | ||||||||||||||
R/W-X | R-0h | ||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-29 | RESERVED | R | 1h | This field always reads 3'b001. Writing to this field is ignored. |
28-5 | REMAP | R/W | X | Remap base address field. |
4-0 | RESERVED | R | 0h | This field always reads 0. Writing to this field is ignored. |
COMP0 is shown in Figure 3-27 and described in Table 3-59.
Return to the Summary Table.
Comparator 0
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
REPLACE | RESERVED | COMP | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
COMP | |||||||
R/W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
COMP | |||||||
R/W-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
COMP | RESERVED | ENABLE | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-30 | REPLACE | R/W | 0h | This selects what happens when the COMP address is matched. Address remapping only takes place for the 0x0 setting. 0x0: Remap to remap address. See REMAP.REMAP 0x1: Set BKPT on lower halfword, upper is unaffected 0x2: Set BKPT on upper halfword, lower is unaffected 0x3: Set BKPT on both lower and upper halfwords. |
29 | RESERVED | R/W | 0h | Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
28-2 | COMP | R/W | 0h | Comparison address. |
1 | RESERVED | R/W | 0h | Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
0 | ENABLE | R/W | 0h | Compare and remap enable comparator 0. CTRL.ENABLE must also be set to enable comparisons. 0x0: Compare and remap for comparator 0 disabled 0x1: Compare and remap for comparator 0 enabled |
COMP1 is shown in Figure 3-28 and described in Table 3-60.
Return to the Summary Table.
Comparator 1
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
REPLACE | RESERVED | COMP | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
COMP | |||||||
R/W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
COMP | |||||||
R/W-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
COMP | RESERVED | ENABLE | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-30 | REPLACE | R/W | 0h | This selects what happens when the COMP address is matched. Address remapping only takes place for the 0x0 setting. 0x0: Remap to remap address. See REMAP.REMAP 0x1: Set BKPT on lower halfword, upper is unaffected 0x2: Set BKPT on upper halfword, lower is unaffected 0x3: Set BKPT on both lower and upper halfwords. |
29 | RESERVED | R/W | 0h | Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
28-2 | COMP | R/W | 0h | Comparison address. |
1 | RESERVED | R/W | 0h | Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
0 | ENABLE | R/W | 0h | Compare and remap enable comparator 1. CTRL.ENABLE must also be set to enable comparisons. 0x0: Compare and remap for comparator 1 disabled 0x1: Compare and remap for comparator 1 enabled |
COMP2 is shown in Figure 3-29 and described in Table 3-61.
Return to the Summary Table.
Comparator 2
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
REPLACE | RESERVED | COMP | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
COMP | |||||||
R/W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
COMP | |||||||
R/W-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
COMP | RESERVED | ENABLE | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-30 | REPLACE | R/W | 0h | This selects what happens when the COMP address is matched. Address remapping only takes place for the 0x0 setting. 0x0: Remap to remap address. See REMAP.REMAP 0x1: Set BKPT on lower halfword, upper is unaffected 0x2: Set BKPT on upper halfword, lower is unaffected 0x3: Set BKPT on both lower and upper halfwords. |
29 | RESERVED | R/W | 0h | Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
28-2 | COMP | R/W | 0h | Comparison address. |
1 | RESERVED | R/W | 0h | Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
0 | ENABLE | R/W | 0h | Compare and remap enable comparator 2. CTRL.ENABLE must also be set to enable comparisons. 0x0: Compare and remap for comparator 2 disabled 0x1: Compare and remap for comparator 2 enabled |
COMP3 is shown in Figure 3-30 and described in Table 3-62.
Return to the Summary Table.
Comparator 3
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
REPLACE | RESERVED | COMP | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
COMP | |||||||
R/W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
COMP | |||||||
R/W-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
COMP | RESERVED | ENABLE | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-30 | REPLACE | R/W | 0h | This selects what happens when the COMP address is matched. Address remapping only takes place for the 0x0 setting. 0x0: Remap to remap address. See REMAP.REMAP 0x1: Set BKPT on lower halfword, upper is unaffected 0x2: Set BKPT on upper halfword, lower is unaffected 0x3: Set BKPT on both lower and upper halfwords. |
29 | RESERVED | R/W | 0h | Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
28-2 | COMP | R/W | 0h | Comparison address. |
1 | RESERVED | R/W | 0h | Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
0 | ENABLE | R/W | 0h | Compare and remap enable comparator 3. CTRL.ENABLE must also be set to enable comparisons. 0x0: Compare and remap for comparator 3 disabled 0x1: Compare and remap for comparator 3 enabled |
COMP4 is shown in Figure 3-31 and described in Table 3-63.
Return to the Summary Table.
Comparator 4
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
REPLACE | RESERVED | COMP | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
COMP | |||||||
R/W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
COMP | |||||||
R/W-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
COMP | RESERVED | ENABLE | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-30 | REPLACE | R/W | 0h | This selects what happens when the COMP address is matched. Address remapping only takes place for the 0x0 setting. 0x0: Remap to remap address. See REMAP.REMAP 0x1: Set BKPT on lower halfword, upper is unaffected 0x2: Set BKPT on upper halfword, lower is unaffected 0x3: Set BKPT on both lower and upper halfwords. |
29 | RESERVED | R/W | 0h | Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
28-2 | COMP | R/W | 0h | Comparison address. |
1 | RESERVED | R/W | 0h | Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
0 | ENABLE | R/W | 0h | Compare and remap enable comparator 4. CTRL.ENABLE must also be set to enable comparisons. 0x0: Compare and remap for comparator 4 disabled 0x1: Compare and remap for comparator 4 enabled |
COMP5 is shown in Figure 3-32 and described in Table 3-64.
Return to the Summary Table.
Comparator 5
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
REPLACE | RESERVED | COMP | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
COMP | |||||||
R/W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
COMP | |||||||
R/W-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
COMP | RESERVED | ENABLE | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-30 | REPLACE | R/W | 0h | This selects what happens when the COMP address is matched. Address remapping only takes place for the 0x0 setting. 0x0: Remap to remap address. See REMAP.REMAP 0x1: Set BKPT on lower halfword, upper is unaffected 0x2: Set BKPT on upper halfword, lower is unaffected 0x3: Set BKPT on both lower and upper halfwords. |
29 | RESERVED | R/W | 0h | Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
28-2 | COMP | R/W | 0h | Comparison address. |
1 | RESERVED | R/W | 0h | Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
0 | ENABLE | R/W | 0h | Compare and remap enable comparator 5. CTRL.ENABLE must also be set to enable comparisons. 0x0: Compare and remap for comparator 5 disabled 0x1: Compare and remap for comparator 5 enabled |
COMP6 is shown in Figure 3-33 and described in Table 3-65.
Return to the Summary Table.
Comparator 6
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
REPLACE | RESERVED | COMP | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
COMP | |||||||
R/W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
COMP | |||||||
R/W-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
COMP | RESERVED | ENABLE | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-30 | REPLACE | R/W | 0h | This selects what happens when the COMP address is matched. Comparator 6 is a literal comparator and the only supported setting is 0x0. Other settings will be ignored. 0x0: Remap to remap address. See REMAP.REMAP 0x1: Set BKPT on lower halfword, upper is unaffected 0x2: Set BKPT on upper halfword, lower is unaffected 0x3: Set BKPT on both lower and upper halfwords. |
29 | RESERVED | R/W | 0h | Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
28-2 | COMP | R/W | 0h | Comparison address. |
1 | RESERVED | R/W | 0h | Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
0 | ENABLE | R/W | 0h | Compare and remap enable comparator 6. CTRL.ENABLE must also be set to enable comparisons. 0x0: Compare and remap for comparator 6 disabled 0x1: Compare and remap for comparator 6 enabled |
COMP7 is shown in Figure 3-34 and described in Table 3-66.
Return to the Summary Table.
Comparator 7
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
REPLACE | RESERVED | COMP | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
COMP | |||||||
R/W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
COMP | |||||||
R/W-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
COMP | RESERVED | ENABLE | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-30 | REPLACE | R/W | 0h | This selects what happens when the COMP address is matched. Comparator 7 is a literal comparator and the only supported setting is 0x0. Other settings will be ignored. 0x0: Remap to remap address. See REMAP.REMAP 0x1: Set BKPT on lower halfword, upper is unaffected 0x2: Set BKPT on upper halfword, lower is unaffected 0x3: Set BKPT on both lower and upper halfwords. |
29 | RESERVED | R/W | 0h | Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
28-2 | COMP | R/W | 0h | Comparison address. |
1 | RESERVED | R/W | 0h | Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
0 | ENABLE | R/W | 0h | Compare and remap enable comparator 7. CTRL.ENABLE must also be set to enable comparisons. 0x0: Compare and remap for comparator 7 disabled 0x1: Compare and remap for comparator 7 enabled |