SWCU192 November 2021 CC1312R7 , CC1352P7 , CC2652P7 , CC2652R7
#CPU_FPB_CPU_FPB_MAP1_TABLE_1 lists the memory-mapped registers for the CPU_FPB registers. All register offset addresses not listed in #CPU_FPB_CPU_FPB_MAP1_TABLE_1 should be considered as reserved locations and the register contents should not be modified.
Offset | Acronym | Register Name | Section |
---|---|---|---|
0h | CTRL | Control | #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_CTRL |
4h | REMAP | Remap | #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_REMAP |
8h | COMP0 | Comparator 0 | #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_COMP0 |
Ch | COMP1 | Comparator 1 | #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_COMP1 |
10h | COMP2 | Comparator 2 | #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_COMP2 |
14h | COMP3 | Comparator 3 | #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_COMP3 |
18h | COMP4 | Comparator 4 | #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_COMP4 |
1Ch | COMP5 | Comparator 5 | #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_COMP5 |
20h | COMP6 | Comparator 6 | #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_COMP6 |
24h | COMP7 | Comparator 7 | #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_COMP7 |
Complex bit access types are encoded to fit into small table cells. #CPU_FPB_CPU_FPB_MAP1_LEGEND 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 #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_CTRL_FIGURE and described in #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_CTRL_TABLE.
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 #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_REMAP_FIGURE and described in #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_REMAP_TABLE.
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 #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_COMP0_FIGURE and described in #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_COMP0_TABLE.
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 #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_COMP1_FIGURE and described in #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_COMP1_TABLE.
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 #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_COMP2_FIGURE and described in #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_COMP2_TABLE.
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 #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_COMP3_FIGURE and described in #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_COMP3_TABLE.
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 #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_COMP4_FIGURE and described in #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_COMP4_TABLE.
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 #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_COMP5_FIGURE and described in #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_COMP5_TABLE.
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 #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_COMP6_FIGURE and described in #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_COMP6_TABLE.
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 #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_COMP7_FIGURE and described in #CPU_FPB_CPU_FPB_MAP1_CPU_FPB_ALL_COMP7_TABLE.
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 |