SE050 evaluation with S32K148 board using I2C connection

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

SE050 evaluation with S32K148 board using I2C connection

728 Views
saireddy_saredd
Contributor III

Hallo

Currently, I am evaluating the SE050 with S32K148 board using I2C connection. SE050 only connected as slave mode with S32K148 board and did not connect any sensors with SE050.

1. I did software reset (Got info from old posts)

2.

    uint8_t versionPacket[] = { 0x5A, // NAD
								0x20, // PCB
								0x05, // LEN
								0x80, // CLA
								0x04, // INS
								0x00, // P1
								0x20, // P2
								//0x00, // Lc
								0x09, // Le
								0x66, // CRC1
								0xAA  //CRC2
								}; 

Sent the above data and got response (I am new to this topic Do not know How to calculate CRC1 and CRC2)

Output
-----
0xa5, 0x90 , 0x00, 0xfb, 0xe9

Now I am bit confusing regarding the applet selection to get the version.

 uint8_t versionPacket1[] =  { 0x5A, // NAD
								0x20, // PCB
								0x05, // LEN
								0x00, // CLA
								0xA4, // INS
								0x04, // P1
								0x00, // P2
								0x10, // Lc
								0x00, // Le
								//0x66, // CRC1
								//0xAA  //CRC2
								};

Is this correct packet??

Do I need to add also the payload (Payload 0xA0000003965453000000010300000000)??

Whats are the steps for evaluating the Se050 chip??

Thanks in advance,

Sai

 

 

 

 

 

 @Kan_Li @genygbo @ronan_prezioso 

0 Kudos
1 Reply

700 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @saireddy_saredd ,

 

I think you may evaluate SE050 with FRDM-K64 at first then try to port the code for K64F to S32K148. Please kindly refer to https://www.nxp.com.cn/docs/en/application-note/AN12448.pdf for more 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