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.
@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?
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.
Hi
Please refer to UM10936: PN7150 user manual
https://www.nxp.com/docs/en/user-guide/UM10936.pdf
Chapter 10: configurations p86
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
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?
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