PN7642 Host SPI Driver Example fails to run

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

PN7642 Host SPI Driver Example fails to run

跳至解决方案
654 次查看
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!

标签 (2)
0 项奖励
回复
1 解答
615 次查看
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

 

在原帖中查看解决方案

1 回复
616 次查看
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