2023-01-18 06:05 PM
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
2023-01-19 10:14 AM
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
2023-01-19 03:04 PM
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 ?
2023-01-20 06:08 AM
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