An electronic device includes a back cover, a display, a middle frame sandwiched between the display and the back cover, and a near field communications (NFC) antenna incorporated within the middle frame. An electronic board is positioned within the middle frame, and includes an NFC controller and a matching network coupled to the NFC controller. The matching network is configured to match impedances between the NFC antenna and the NFC controller.