Does MC9S12 get unique ChipID exist?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Does MC9S12 get unique ChipID exist?

629 次查看
everkimage
Contributor IV

I wanna use it to help getting a random number.

Or kindly,someone teach me how to get a random number without using ChipID.

0 项奖励
回复
2 回复数

519 次查看
lama
NXP TechSupport
NXP TechSupport

Hi,

there is a possibility to ensure unique ID to be added during the first MCU start or during flashing the code into the MCU.
There is an IFR field in the MCU with the Program Once Field which can be used for this purpose. However, implementation is up to you.

You can also do it via, for example, sending data via SCI from the PC to the MCU together with processing it as writing unique ID into Program Once field. (The list of used unique IDs could be stored in the PC)

Best regards,

Ladislav

0 项奖励
回复

519 次查看
kef2
Senior Contributor V

Some derivatives like S12P have program once locations, which you could program with unique ID at your production line. Seems like there's no S12 with unique chip ID.

0 项奖励
回复