PN7642 Host SPI Driver Example fails to run

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

PN7642 Host SPI Driver Example fails to run

Jump to solution
599 Views
MLang
Contributor II

The host interface SPI driver example runs successfully when using SDK V021201.

I upgraded to SDK V021205 and the SPI driver example fails to boot. It appears to reset immediately when executing the following line of code in main():

HOSTIF_Init(HOSTIF, &hifSpiConfig);

Tracing further in to the failure, I find that the reset happens when the call to the library function PN76_Get_NSRam_Addr_Len() is made from within HOSTIF_Init(). 

Is there a patch or other type of solution for this problem? I require the Host SPI interface for our target application and would prefer to be using the latest released SDK.

Thanks!

Labels (2)
0 Kudos
Reply
1 Solution
560 Views
AlexanderB
NXP Employee
NXP Employee

Hi @MLang ,

If you update the SDK you also have to update the Firmware of the PN7642. Every SDK is based on a particular firmware. Unfortunately not every SDK, or application, is backwards compatible as new functions have been introduced and addresses of APIs have changed. 

This is explained in the Quick Start Guide https://www.nxp.com/docs/en/application-note/AN13134.pdf in Chapter [1.2 Firmware Overview].

I hope this helps

Greetings, alex

 

View solution in original post

1 Reply
561 Views
AlexanderB
NXP Employee
NXP Employee

Hi @MLang ,

If you update the SDK you also have to update the Firmware of the PN7642. Every SDK is based on a particular firmware. Unfortunately not every SDK, or application, is backwards compatible as new functions have been introduced and addresses of APIs have changed. 

This is explained in the Quick Start Guide https://www.nxp.com/docs/en/application-note/AN13134.pdf in Chapter [1.2 Firmware Overview].

I hope this helps

Greetings, alex