[PN7150] Why is the CORE_INIT_RSP payload 25 bytes long?

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

[PN7150] Why is the CORE_INIT_RSP payload 25 bytes long?

970 次查看
dominusdrr
Contributor IV

Hi.


I'm writing my own routines to manage the PN7150.

I have successfully managed to send the CORE_RESET_CMD command and get its correct response.

The next step has been to send the CORE_INIT_CMD command:

 

dominusdrr_0-1662066702699.png

 

And when reading the response, the third byte (not counting the initial I2C control byte) which is the payload length is equal to 25 (0x19).

dominusdrr_1-1662066903814.png

 

But according to the NCI specification it would only be 18 bytes:

dominusdrr_2-1662067358665.png

 

Is it an error or am I confused?

Regards




标记 (2)
0 项奖励
2 回复数

888 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi @dominusdrr :

 

There is a field called number of supported interfaces.  we are giving number of interfaces,  the length is depends on N.  Maybe that is the reason why there is bigger amount of data.

danielchen_0-1663557529385.png

 

Regards

Daniel

861 次查看
dominusdrr
Contributor IV

It is possible, and it is not something critical, since in the example that I'm taking as a reference, it is only verified that the first byte is equal to 0x40 and the second is equal to 0x01, with these two values it is assumed that everything is fine and continue to the next step.

Thank you very much for answering.

0 项奖励