Hi Emiel,
Are you using the same hardware combination (LPC55xx + PN5190)?
Basically, you can use the existing porting guides as a reference, even though there is no official LPC55S28 + PN5190 project. I would recommend downloading the latest NxpNfcRdLib_PN5190 package and importing it into MCUXpresso. As a starting point, create a new project from an LPC55xx SDK example (for example, hello_world) and port the NFC Reader Library manually.
The approach that worked for me was:
- Copy the DAL, intfs, NxpNfcRdLib, and phOsal folders directly into the LPC55S28 project so everything is part of the project structure.
- Manually configure all required include paths, preprocessor symbols, and source locations.
- Rewrite the DAL for the LPC55xx platform (SPI, GPIO, IRQ handling, timing, etc.).
- Enable any missing MCU drivers through Manage SDK Components in MCUXpresso and adapt the DAL to use those drivers.
Regarding the drivers you mentioned as missing: which ones are they exactly? If you can list the missing modules or post the compiler errors, it will be much easier to identify what still needs to be ported.
The errors caused by the newer SDK may also depend on the exact LPC device and SDK version you're using. I would first verify that you're using the latest SDK available for your MCU from NXP and make sure it matches the version expected by your project.
From your description I can only make an educated guess, but if you can share:
- the exact LPC55xx device,
- the SDK version,
- the NFC Reader Library version, and
- a few of the compilation errors,
I'd be happy to help identify the required changes. I went through a similar manual port, so I may be able to point you in the right direction.
I hope this helps you move a bit further.