Other Parts Discussed in Thread: CC2340R5,
in hw_fcfg.h, there's a struct as bellow
// Device information struct { // [80]: length 48B // 64b device-unique UUID (non-sequential across parts) uint8_t uuid[8]; // 48b device-unique BLE address uint8_t bleAddr[6]; // Padding uint8_t res0[2]; // 64b device-unique IEEE MAC address uint8_t macAddr[8]; // 128b die identifier (lot #, wafer #, die X/Y, date, etc) uint8_t dieId[16]; // Padding (previously devId but this HW-defined value is now readable through an MMR) uint32_t res1; // 32b PARTID (Part/Variant/majRev/minorRev) union { uint32_t val32; struct { // Random bit pattern to uniquely identify part (with devId) uint32_t part : 16; // Random bit pattern to uniquely identify package/memory variant uint32_t variant : 8; // Minor revision for orderable part (starts at 0) uint32_t minorRev : 4; // Major revision for orderable part: PCB/SW change (starts at 1) uint32_t majorRev : 3; // 0: partId not yet valid; 1: partId valid uint32_t partIdValid : 1; }; } partId; } deviceInfo;
this include elements bleAddr and macAddr,
1. how can we read it
2. is it can be modified
3. is there have any samples using them