Forum > Embedded - ARM
Read Unique Number Register from STm32F103
(1/1)
coradi:
Hallo,
how can I read the Register with the unique Serial Number from STM32F103?
ccrause:
I couldn't see a definition for this register, but if you know the location then use absolute to map a variable to that address:
--- Code: ---type
TUID = record
ID1, ID2, ID3: uint32;
end;
var
UID: TUID absolute $1FF80050;
--- End code ---
Now just access UUID.ID1 etc. to get the different 32 bit values.
Navigation
[0] Message Index