15.7.1 Write Control

Name: WRCTRL
Offset: 0x00
Reset: 0x00000000
Property: Mix-Secure

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
 KEY[7:0] 
Access RW/RW/RWRW/RW/RWRW/RW/RWRW/RW/RWRW/RW/RWRW/RW/RWRW/RW/RWRW/RW/RW 
Reset 00000000 
Bit 15141312111098 
 PERID[15:8] 
Access RW/RW/RWRW/RW/RWRW/RW/RWRW/RW/RWRW/RW/RWRW/RW/RWRW/RW/RWRW/RW/RW 
Reset 00000000 
Bit 76543210 
 PERID[7:0] 
Access RW/RW/RWRW/RW/RWRW/RW/RWRW/RW/RWRW/RW/RWRW/RW/RWRW/RW/RWRW/RW/RW 
Reset 00000000 

Bits 23:16 – KEY[7:0] Peripheral Access Control Key

These bits define the peripheral access control key:

ValueNameDescription
0x0 OFF No action
0x1 CLEAR Clear the peripheral write control
0x2 SET Set the peripheral write control
0x3 LOCK Set and lock the peripheral write control until the next hardware reset

Bits 15:0 – PERID[15:0] Peripheral Identifier

The PERID represents the peripheral whose control is changed using the WRCTRL.KEY. The Peripheral Identifier is calculated by the following formula:

P E R I D = 32 * BridgeNumber + N
Where BridgeNumber represents the Peripheral Bridge Number (0 for Peripheral Bridge A, 1 for Peripheral Bridge B, etc.). N represents the peripheral index from the respective Peripheral Bridge Number, which can be retrieved in the Peripherals Configuration Summary table:
Table 15-2. PERID Values
Peripheral Bridge Name BridgeNumber PERID Values
A 0 0+N
B 1 32+N
C 2 64+N