Error in Integration of NXP PN7150 NFC controller to android

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Error in Integration of NXP PN7150 NFC controller to android

1,926件の閲覧回数
me_kirankg
Contributor II

Once all the steps mentioned in the Android porting document(https://www.nxp.com/docs/en/application-note/AN11690.pdf) is completed, the test application NfcFactoryTestApp doesn't work properly. NFC option is available in the settings window, but when its turned ON , dmesg shows the following error

pn54x_dev_write : i2c_master_send returned -107i2c-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

Definition added in platform tree file is as follows

&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>; 
       };
};

Any help will be appreciated.

ラベル(1)
タグ(2)
3 返答(返信)

1,619件の閲覧回数
me_kirankg
Contributor II

I have checked the pin settings and solved the slave not responding issue. Now when i run the NFC factory test application i get the message 

   "NFC Controller is now in continuous RF ON mode - Press enter to stop"

There are no error in dmesg as well. How can i test whether its working or not. When i place a sample NFC card nothing happens.There is no messages in dmesg also. I tried enabling NFC from the settings and placed a sample card. It is not detected. Can any one tell me how to check whether the integration is working or not.

0 件の賞賛
返信

1,619件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

Please double check the I2C connection and the I2C pins setting in device tree file.

For your reference, we have an example to connect PN7120 with i.MX6Q platform.

https://community.nxp.com/docs/DOC-329733 

1,619件の閲覧回数
me_kirankg
Contributor II

Thank you for your response.

0 件の賞賛
返信