6.1.1 Get Device ID
The code is equivalent to reading a word at the address DSUEXT.DID (0x41000118) (DSU_DID register). The value is read from the DSUEXT range. This register is always accessible, even on protected devices.
Note:
- It is recommended that only the lower 16 bits of this register be used to identify the device.
- The DSUEXT range starts at offset 0x0100. There are no restrictions when accessing DSU registers from the CPU. However, it is recommended that the user code running on the CPU access DSU registers in the internal address range only (0x0-0xFF).
Step | mem_ap primitive |
---|---|
Read DSU DID register | ReadD32(DSUEXT.DID) |