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

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

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

927 Views
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




Tags (2)
0 Kudos
2 Replies

845 Views
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

818 Views
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 Kudos