How to Interface the NXP PN7160 NFC Module With the i.MX8M Plus EVK?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Interface the NXP PN7160 NFC Module With the i.MX8M Plus EVK?

1,407 Views
Niranjan123
Contributor III

Hi,

I am working with an i.MX8M Plus EVK and planning to integrate the NXP PN7160 NFC controller (using the PN7160 Raspberry Pi HAT: OM29110RPI-B).

regards,
Niranjan

0 Kudos
Reply
3 Replies

1,345 Views
danielchen
NXP TechSupport
NXP TechSupport

HI, @Niranjan123 

 

If you are using Android, please refer to below link  ,  it is about porting PN7160 with i.MX8M nano,   

https://community.nxp.com/t5/NFC-Knowledge-Base/Porting-PN7160-to-Android-14-on-i-MX8M-Nano-board/ta...

 

Regards

Daniel

0 Kudos
Reply

1,319 Views
Niranjan123
Contributor III

Hi,

Thank you for the link, but I am not using Android.

My setup is:

  • Board: i.MX8M Plus EVK

  • OS: Linux (Yocto-based Linux BSP from NXP, not Android)

  • NFC Module: PN7160 Raspberry Pi HAT (OM29110RPI-B)

  • Connection: I2C interface from the EVK expansion header to PN7160 HAT pins

My goal is to bring up the PN7160 in a Linux environment, using the NXP PN7160 Linux driver.

Could you please clarify the following for Linux (Yocto) on i.MX8MP EVK:

  1. Does NXP provide a Linux driver (kernel or user-space) for PN7160 that can be used on i.MX applications processors?

  2. If yes, where can I find the recommended

    • device-tree binding

    • required GPIOs (VEN / IRQ)

    • Linux kernel config options

    • sample DTS node for PN7160?

  3. Which I2C bus on the i.MX8MP EVK expansion connector is recommended for connecting external modules like PN7160?
    (There is no Raspberry Pi 40-pin header on this board, so I want to confirm the correct I2C bus.)

  4. Are there any known reference implementations of PN7160 running on an i.MX8M Plus EVK (under Linux)?

Current status on my side:

  • Verified I2C buses available: /dev/i2c-0, /dev/i2c-1, /dev/i2c-2, /dev/i2c-6

  • Expansion header signals checked in schematic

  • Planning to use I2C2 or I2C1 depending on recommended wiring

  • Before wiring PN7160 HAT, I want NXP confirmation on:
    ✔ Correct I2C bus
    ✔ Required voltage levels
    ✔ Required IRQ and VEN GPIO pins

Any guidance for Linux + PN7160 + i.MX8MP would be very helpful.

Thanks!

Tags (1)
0 Kudos
Reply

1,302 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi @Niranjan123 

Please refer to below PN7160 Linux porting guide,    You can get the Linux driver and device tree information from below porting duide. 

PN7160 Linux porting guide

 

Regards

Daniel

0 Kudos
Reply