SWCU193 April 2023 CC2340R2 , CC2340R5 , CC2340R5-Q1
Reset the device, with or without reentering SACI.
The command has an option to wait for an SWD disconnection sequence (DBGSS:DBGBCTRL.SWDSEL = 0) before the reset is triggered.
There is a 1 ms delay immediately before the reset is triggered.
The command uses PMCTL.RSTCTL.SYSRSTREQ to trigger a system reset. This is indicated by PMCTL.RSTSTA.SYSRSTEV = 1 after the reset.
None.
Words | Bits | Field | Value | Description |
---|---|---|---|---|
0 | 7:0 | cmdId | 0x14 | Command ID |
15:8 | respSeqNumber | User defined | Optional response sequence number, included in the response header | |
16 | waitForSwdDisconnect | - |
Specify whether to wait for SWD disconnection before the device reset occurs:
|
|
31:17 | reserved0 | 0x0000 | Reserved |
Words | Bits | Field | Value | Description |
---|---|---|---|---|
0 | 7:0 | cmdId | 0x14 | Command ID, copied from the first command parameter word |
15:8 | respSeqNumber | User defined | Optional sequence number, copied from the first command parameter word | |
23:16 | result | - | Command result (no special result codes for this command)1 | |
31:24 | dataWordCount | 0 | Size of additional response data, in number of 32-bit words |