PN7150 Register Access

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

PN7150 Register Access

1,388 次查看
pcpro178nxp
Contributor I

Where can I find documentation or code examples for accessing the PN7150 registers from the host controller?  Specifically, I presently need to get/set the VEN_CFG register.

0 项奖励
回复
5 回复数

1,311 次查看
pcpro178nxp
Contributor I

@danielchen We are facing a problem wherein when presented with a reader tag, the INT line from the PN7150 does not appear to assert. It always reads low. VEN is constant high.  Do you know if additional configuration, beyond the default POR register settings, is needed?

0 项奖励
回复

1,224 次查看
danielchen
NXP TechSupport
NXP TechSupport

I would suggest you refer to AN 11756 : PN7150 Hardware Design Guide. VEN signal is supposed to be driven by the host controller with which VDD(PAD) supply is shared.  It is strongly recommended to foresee a control of VEN pin from the host controller side so that it can reset PN7150 whenever needed.

0 项奖励
回复

1,352 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi 

 

Please refer to UM10936: PN7150 user manual
https://www.nxp.com/docs/en/user-guide/UM10936.pdf

Chapter 10: configurations    p86

danielchen_0-1643041953307.png

 

If you need to update this register, you need to send NCI command to PN7150 from MCU.

you can refer to code in nxpnci.c

 

Regards

Daniel

 

0 项奖励
回复

1,343 次查看
pcpro178nxp
Contributor I

Daniel, thanks, but I am already aware of the VEN_CFG register.  My questions is how can I read and change the value of VEN_CFG?  Where is nxpnci.c located?

0 项奖励
回复

1,319 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi @pcpro178nxp 

 

This file is in sw4325.

You can download sw4325 from below link
https://www.nxp.com/products/rfid-nfc/nfc-hf/nfc-readers/high-performance-nfc-controller-with-integr...

within SW4325, You can use ''NxpNci_ConfigureParams'' API from the application (after NxpNci_Connect has been called) to set this parameter

0 项奖励
回复