I2C communication with SE050

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I2C communication with SE050

1,582 Views
darshan_shah1
Contributor II

Hi,

I am using FRMD-K64 and SE050. I would like to do secure boot using SE050.

For this, I have injected a ECC key-pair in SE050.

Now I would like to get public key from SE050 in boot-loader. As I am changing in boot-loader, I would like to add minimal code so I choose to do plain I2C communication instead of porting SE050 middleware.

I have understood APDU format which required and t=1 over i2c protocol format. Yet I don't understand the sequence to do it. Like for test with GetVersion, should I directly write on I2C as below APDU in t=1 over i2c format?

APDU.png

I am using I2C_MasterTransferBlocking for I2C communication.

Labels (1)
3 Replies

1,381 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi,

You may refer to sss_se05x_session_open() for details.

Hope that helps,

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

1,381 Views
darshan_shah1
Contributor II

Thanks. I will check and let you know if I face any issue.

Do we really need se_hostlib to communicate with SE050 or we can implement without it as well with only taking T1I2C part.

0 Kudos

1,381 Views
Kan_Li
NXP TechSupport
NXP TechSupport

It is recommended to implement your application based on the MW, of course you may start from scratch but the support materials might be little on that topic except the spec.

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------