The DSU - Device Service Unit peripheral provides the Device Selection bits in the Device Identification register (DID.DEVSEL) in order to identify the device by software. The SAM C21 variants have a reset value of DID=0x1101drxx, with the LSB identifying the die number ('d'), the die revision ('r') and the device selection ('xx').
| DEVSEL (DID[7:0]) | Device |
|---|---|
| 0x00 | SAM C21J18A |
| 0x01 | SAM C21J17A |
| 0x02 | SAM C21J16A |
| 0x03 | SAM C21J15A |
| 0x04 | Reserved |
| 0x05 | SAM C21G18A |
| 0x06 | SAM C21G17A |
| 0x07 | SAM C21G16A |
| 0x08 | SAM C21G15A |
| 0x09 | Reserved |
| 0x0A | SAM C21E18A |
| 0x0B | SAM C21E17A |
| 0x0C | SAM C21E16A |
| 0x0D | SAM C21E15A |
| 0x0E-0xFF | Reserved |