23.6.1 OTPC Control Register
This register can only be written if the WPCTEN bit is cleared in the OTPC Write Protection Mode Register.
| Name: | OTPC_CR |
| Offset: | 0x00 |
| Reset: | – |
| Property: | Write-only |
| Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
| KEY[15:8] | |||||||||
| Access | W | W | W | W | W | W | W | W | |
| Reset | – | – | – | – | – | – | – | – | |
| Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
| KEY[7:0] | |||||||||
| Access | W | W | W | W | W | W | W | W | |
| Reset | – | – | – | – | – | – | – | – | |
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| REFRESH | KBSTOP | KBSTART | |||||||
| Access | W | W | W | ||||||
| Reset | – | – | – |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| FLUSH | READ | HIDE | INVLD | CKSGEN | PGM | ||||
| Access | W | W | W | W | W | W | |||
| Reset | – | – | – | – | – | – |
Bits 31:16 – KEY[15:0] Programming Key
This field must be written with the correct key code (0x7167) to allow programming, checksum generation, packet invalidation or packet hiding.
Bit 15 – REFRESH Refresh the Area
| Value | Description |
|---|---|
| 0 | No effect. |
| 1 | Starts a refresh of the area. |
Bit 9 – KBSTOP Key Bus Transfer Stop
| Value | Description |
|---|---|
| 0 | No effect. |
| 1 | Stops an on-going transfer on the host key bus. |
Bit 8 – KBSTART Key Bus Transfer Start
| Value | Description |
|---|---|
| 0 | No effect. |
| 1 | Starts a transfer through the host key bus. |
Bit 7 – FLUSH Flush Temporary Registers
| Value | Description |
|---|---|
| 0 | No effect. |
| 1 | Starts a flush of the temporary registers used to store the packet payload. |
Bit 6 – READ Read Packet
| Value | Description |
|---|---|
| 0 | No effect. |
| 1 | Starts a read sequence of the selected packet. |
Bit 4 – HIDE Hide Packet
| Value | Description |
|---|---|
| 0 | No effect. |
| 1 | The selected packet is not readable anymore until the next reset. |
Bit 2 – INVLD Invalidate Packet
| Value | Description |
|---|---|
| 0 | No effect. |
| 1 | Invalidates the selected packet. |
Bit 1 – CKSGEN Generate Checksum
| Value | Description |
|---|---|
| 0 | No effect. |
| 1 | Generates and programs the selected packet checksum. This action also locks the packet. |
Bit 0 – PGM Program Packet
| Value | Description |
|---|---|
| 0 | No effect. |
| 1 | The selected packet is written. |
