Hello,
I have a PN7160 eval board (OM27160B1HN) that I am using with an ESP32. I adapted the NXP-NCI2.0 LPC55S6x MIRAFE example for the ESP. I also reviewed it according to the UM11495 and I also took a look on the "Migration Guide of NXP-NCI 2.0 SPI examples". However, I cannot properly complete the initialization. After toggling the VEN pin for the hard reset, I send a NCI CORE RESET message, but I get no reply from the PN7160 (the IRQ never triggers after the message). The only alive indication I see from the PN7160 is that when the VEN is low (during the hard reset) the IRQ pin goes high. The MOSI, CLK and NSS signals seem fine as well on the oscilloscope. Voltages on the VDD and VBAT are 3.28V. I configured the SPI for 500kHz.
What could be the issue?
PS.: I attached one oscilloscope image from the CORE RESET message. The signals are: yellow (MOSI), cyan (MISO), purple (NSS) and blue (CLK). At this image I was trying the mode 3 on the SPI config - CPOL 1 (High) and CPHAL 1 (Trailing Edge). I tried all the 4 modes, but none of them worked.