Embedded NFC Reader Inside MacBook Pro (Apex Flex – Hardware Advice Needed)

Hi all, I’m looking for some expert guidance from anyone with deep antenna/reader tuning experience for the Apex Flex.

Goal:
I want to embed a 13.56 MHz NFC reader/writer inside a 2023 16-inch MacBook Pro, positioned on the left palm-rest area next to the trackpad, specifically to interface with my Apex Flex. I will be using it for APDU, NDEF, and GP command work, not just UID read.

Important notes / constraints:

  • I will be milling the aluminium chassis from the inside to reduce attenuation and create an RF “window” for the coil. I’m fine modifying the enclosure.

  • The reader must be fully internal and concealed — no external USB inserts, dongles, or visible modules.

  • Target coil placement will be directly under the palm-rest aluminium, with a thin ferrite sheet backing and a small milled cavity to improve coupling through the metal.

  • Coil must be thin and compact, ideally in the ~30×50 mm range, but I can adjust geometry if needed.

  • Must support ISO14443-A, full APDU exchange, and stable write power for the Apex Flex.

  • I am debating between a PN5180 front-end (for higher field strength and tuning flexibility) vs a compact PN532 module (space-saver, but lower power and less metal-tolerant).

  • A Proxmark3 is not an option for final install due to form factor — only for bench testing.

What I’m specifically asking the community:

  1. Reader IC recommendation for best write reliability through a milled aluminium layer + ferrite (PN5180 vs PN532 vs other suggestions).

  2. Antenna geometry guidance for a subdermal implant scenario at extremely close proximity (skin-to-coil through ~1–2 mm of aluminium, after milling).

  3. Matching network considerations when the coil is this close to metal — e.g., expected detuning ranges or best-practice L/C starting points.

  4. Whether anyone has real-world experience with Apex Flex write operations through ferrite + metal, and can comment on expected field strength losses.

I’m fully capable of custom PCB work, milling, and tuning — I just want to make smart design decisions before committing to a specific RF front-end and coil size. Any advice from those who’ve pushed NFC hardware to its limits (especially near metal or with implants) would be hugely appreciated.

3 Likes

I’ve been dreaming of doing this ever since I got my Apex. If you can pull it off, I will gladly buy one from you or pay you to modify mine.

There are 2 projects by @StarGate01 that may help you:

  1. His CTAP-Bridge (I carry around an ACR122U connected to a OrangePi Zero 2W running this to use with my Mac)
  2. His hack for using the NFC module in Lenovo laptops (It’s Linux only, but it might help you find compatible hardware)

Let me know if I can help in any way or test some stuff for you!

3 Likes

Cool project idea! I have a few ideas for you:

I wrote a Linux driver for the proprietary Lenovo 01AX745 NFC module (based on a PN7150 / PN548/C2). That module is connected via I2C and GPIO directly to the SMBus of the CPU, instead of USB. Honestly this implementation is very Linux- and NXP NCI-specific, not sure how it would help you with your Mac.

Instead of poking around in the I2C / SMBus of your system (which required kernel driver development), I much more recommend using USB and using the standard CCID protocol, to expose the USB reader to PC/SC. MacOS already includes PC/SC support via an Apple fork of pcsc-lite and libccid. If you have an internal USB port or a spare NGEF slot, you can add a stripped down existing reader.

If you want / have to engineer a custom hardware module, I recommend using a NXP chipset which already has the USB and CCID firmware in place, or at least reference firmware to provide CCID. Examples include the the PR533, however that one is not recommended for new designs. A more modern and flexible option used by e.g. digital logic for their readers is the PN7462, which requires firmware loading. Another option is the NXP PN7642.

MacOS has the issue that it does not implement NFC FIDO over PC/SC, so it requires some kind of FIDO bridge. Either use a software solution like FIDOk by @BryanJacobs , or use my CTAP bridge on external hardware (that one requires a Linux kernel), I recommend the Orange Pi Zero 2W, since it comes with two USB interfaces.

Molex has some nice sheet antennas which come with matching parameters, and in various sizes and ferrite configurations.

5 Likes