Page 1 of 1

Porting NXP NFC Lib to ESP32 (ESP-IDF)

Posted: Wed Sep 14, 2022 3:08 pm
by jr.hernandezSio
Hi,

I am trying to integrate an NFC NXP chip with my ESP32 (using ESP-IDF) and I am finding difficultiues when porting the nfc lib provided by NXP. NXP does not provice any support for this integration in terms of porting the lib to ESP32 platform.

Both devices are connected via SPI and several GPIOS.

Is there any guide/example wher I can spot how to port?

Any clue will be welcome.

Regards, Ramon.

Re: Porting NXP NFC Lib to ESP32 (ESP-IDF)

Posted: Tue Sep 20, 2022 4:31 pm
by ESP_igrr
Hello Ramon,

I found this relatively old project which ports the NXP library to ESP-IDF: https://github.com/superdave/esprox.
It probably won't compile with latest ESP-IDF versions, but overall should be a good starting point. Could you give it a try?

Re: Porting NXP NFC Lib to ESP32 (ESP-IDF)

Posted: Wed Sep 28, 2022 9:44 am
by jr.hernandezSio
Thanks a lot.

That helped me in solving issues with the SPI.

Now, I am struggling with the OS layer.

Regards, Ramon.

Re: Porting NXP NFC Lib to ESP32 (ESP-IDF)

Posted: Tue Aug 01, 2023 12:26 pm
by JVKran
Did you manage to get something working? I've spent a couple of days on this as well. Communication with the PN5180 works (MISO and MISO), I see things going on, but the examples don't output anything. I also had to change some things in FreeRTOS as well... Disable asserts for a timer of 0 ms... Just trying to get some sign of life...