Hello there! How can I set the PN7462 to work in HDLL mode, NATIVE mode or NCI mode during the use of PN7462 as SPI communication slave?
When I set PN7462 as SPI slave, use the following statement re = phhalHif_Transmit ((uint32_t *) & temp, 8, (pphhalHif_Callback_t) & phExPos_SPIHIFSPITxCallback); When the function sends data 0x10005105, MISO is always high. The return value of phhalHif_Transmit is 0, that is, re = 0.
But when I let the phhalHif_Transmit function execute cyclically, the code can be sent normally as follows
while (1) {
re = phhalHif_Transmit ((uint32_t *) & temp, 8, (pphhalHif_Callback_t) & phExPos_SPIHIFSPITxCallback);
}
May I ask why?
Hello,
A related question was already asked in following community thread, please help us to refer to it: https://community.nxp.com/message/1047051
BR,
Ivan.