Kinetis series Unique device ID

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Kinetis series Unique device ID

1,281件の閲覧回数
Embionics
Contributor III

Hello,

There is a 80 bit unique device ID for kinetis series controller.

Is there any function to read the UID at run time using processor expert(code warrior 10.3)?

Or any other method to read the unique ID at run time?

Regards,

Amreen

タグ(5)
0 件の賞賛
返信
4 返答(返信)

662件の閲覧回数
hectorsanchez
Contributor IV

Hi Amreen,

You have these registers to read the unique ID:

SIM_UIDH  = Unique Id Register High.

SIM_UIDMH = Unique Id Register Mid-High

SIM_UIDML = Unique Id Register Mid-Low

SIM_UIDL = Unique Id Register Low

Hope this helps,

Hector

0 件の賞賛
返信

662件の閲覧回数
Embionics
Contributor III

Hello Hector,

Thanks for the reply.

Actually I got to know these registers from datasheet as well as I could view it in debug watch window.

I am facing problem while reading this in code. is there any syntax, function to read these registers?

0 件の賞賛
返信

662件の閲覧回数
hectorsanchez
Contributor IV

Hi again,

There should be bare-metal header files to access them, what kinetis are you using?

Try to access them like this:

printf( "CPU Unique Identifier:\n" );

printf( "0x%08X 0x%08X 0x%08X 0x%08X\n", SIM_UIDH, SIM_UIDMH, SIM_UIDML, SIM_UIDL );

0 件の賞賛
返信

662件の閲覧回数
Embionics
Contributor III

I am working on freedom board at present. I shall try your way. Let you know.

Thanks,

Amreen

0 件の賞賛
返信