Skip to main content
Explorer II
January 19, 2023
Question

96-bit Unique id of STM8AF52xx

  • January 19, 2023
  • 1 reply
  • 1602 views

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

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    January 19, 2023

    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

    raja1Author
    Explorer II
    January 19, 2023

    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 ?

    Technical Moderator
    January 20, 2023

    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