NXP PN7150 NFC控制器与android集成时出错

时间:2019-05-08 03:19:14

标签: android nfc nxp-microcontroller

完成Android移植文档(https://www.nxp.com/docs/en/application-note/AN11690.pdf)中提到的所有步骤后,测试应用程序NfcFactoryTestApp将无法正常运行。 NFC选项在设置窗口中可用,但是当其打开时,dmesg显示以下错误

pn54x_dev_write : i2c_master_send returned -107
i2c-msm-v2 7575000.i2c : NACK: slave not responding, ensure its powered: msgs(n:1 cur:0 tx) bc(rx:0 tx:4) mode:FIFO slv_addr:0x28 MSTR_STS:0x0d1300c8 OPER:0x00000090

在平台树文件中添加的定义如下

&i2c_8 {
        pn547: pn547@28 {
                compatible = "nxp,pn547";
                reg = <0x28>;
                clock-frequency = <400000>;
                interrupt-parent = <&tlmm>;
                interrupt-gpios = <&tlmm 10 0>;
                enable-gpios = <&tlmm 11 0>;
        };
};

任何帮助将不胜感激。

0 个答案:

没有答案