we are using NFC ic PN7120....in that we are trying to disable the bit rates(424Kbits/s & 848Kbits/s)

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

we are using NFC ic PN7120....in that we are trying to disable the bit rates(424Kbits/s & 848Kbits/s)

1,310 Views
avinashsadineni
Contributor I

I checked PN7120 user manual( Page 30 ) , and found bitrate can be restricted in POLL mode setting the following NCI parameters :

- PI_BIT_RATE = 0x0 (to restrict ISO14443 communication to 106kbits/s)

- PF_BIT_RATE = 0x1 (to restrict Type F communication to 212kbits/s)

- PN_NFC_DEP_SPEED = 0x1 (to prevent switching to higher bitrate after NFC-DEP activation)

 

The problem is that how to set those parameters into Android 6.0 OS?  Plz suggest#PN7120

NXP chip: PN7120,

AOS:  Android 6.0

Code base ported from link here:

https://github.com/NXPNFCProject/NFC_NCIHAL_libnfc-nci 

Tags (1)
0 Kudos
3 Replies

983 Views
jimmychan
NXP TechSupport
NXP TechSupport

Please check the conf/PN7120/libnfc-nxp.conf.

For the bit rate, you can change the parameters in NXP_CORE_CONF.

For example:

0x28 , 0x01, 0x00

0x28 : PN_NFC_DEP_SPEED (defined in the NCI Spec., please download it from the http://nfc-forum.org/  )

0x01 : number of byte of the value

0x00 : Bit rate set to 106Kbit/s.

0 Kudos

983 Views
avinashsadineni
Contributor I

Hi Jimmy,

We are using this file....You mean to say this will disable the 424 & 848KBits/s Bitrates???


###############################################################################
# Core configuration settings
NXP_CORE_CONF={ 20, 02, 2B, 0D,
28, 01, 00,
21, 01, 00,
30, 01, 08,
31, 01, 03,
33, 04, 01, 02, 03, 04,
54, 01, 06,
50, 01, 02,
5B, 01, 00,
60, 01, 0E,
80, 01, 01,
81, 01, 01,
82, 01, 0E,
18, 01, 01
}

Regrads
Avinash

0 Kudos

983 Views
jimmychan
NXP TechSupport
NXP TechSupport

yes, you can check the NCI spec. to see what is the meaning of the values and then set/change it to meet your needs.

0 Kudos