Topic : STM8S105 96 bit Unique ID

Forum : ST7/STM8

Original Post
Post Information Post
June 16, 2011 - 2:45pm
Guest

Hi,

I am tring to read the Unique ID from a STM8S105C6 on a Reva v3.3.

Addresses from Datasheet are from 0x48CD to 0x48D8.
On datasheet data U_ID[x] references are reversed! but doing that data captured will be too big compared at their use...

I read data with:

FLASH_ReadByte() function used 12 times

and it work.

Is it right? I didn't find function for it in the stm8 lib.

I've 2 reva with 2 stm8s105, results are:

=chip1=
ALL: 0x001B:800D:00:00312C28706431

x pos on wafer: 0x001B
y pos on wafer: 0x800D
n wafer: 0x00
lot: 0x00312C28706431

and

=chip2=
ALL: 0x001C:002A:00:002C2870643129
x pos on wafer: 0x001C
y pos on wafer: 0x002A
n wafer: 0x00
lot: 0x002C2870643129

If you look at "y pos on wafer = 0x800D" seems a little bigger than necessary or it is a sign-value implementation...

I hope i'm doing right, some suggestion?

Reference: STM8s105xx datasheet DocID14771 pag 55

As always, thank you :)