cancel
Showing results for 
Search instead for 
Did you mean: 

96-bit Unique id of STM8AF52xx

raja1
Associate II

Hello.

I want to read the 96 bit unique id of STM8AF5288TCY microcontroller.

I have gone through some resources like the data sheet of stm8s105c4.

This mentions that the unique id is present 0x48CD address.

I want to know the address at which it is present for STM8AF5288TCY microcontroller as the datasheet does not specify it.

I want to read it as :

#define SERIAL_NUM_ADDR 0x49CD

const uint8_t * const serial= (uint8_t *)SERIAL_NUM_ADDR;

Please help me in identifying this unique id for STM8AF5288TCY

3 REPLIES 3
Peter BENSCH
ST Employee

Welcome, @raja, to the community!

simple reason: there is no 96bit unique identifier in the STM8AF52xx.

If the problem is solved, please mark this thread as answered by selecting Select as best, as also explained here. This will help other users find that answer faster.

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Hello @Peter BENSCH​ . Thank you.

My work requires me to provide a serial number for the ECU. I thought of using a serial number like this. Is there any other way to have a serial number from STM8AF52xx ?

In my opinion, you would have to take care of this yourself, e.g. by storing a serial number in EEPROM.

I would like to take this opportunity to point out again that the STM8A have been on NRND since 2021, so they will only be produced for a limited time. We strongly advise against using STM8A for new automotive projects.

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.