1#################### This file is used by NXP NFC NCI HAL ##################### 2############################################################################### 3# Application options 4# Logging Levels 5# NXPLOG_DEFAULT_LOGLEVEL 0x01 6# ANDROID_LOG_DEBUG 0x03 7# ANDROID_LOG_WARN 0x02 8# ANDROID_LOG_ERROR 0x01 9# ANDROID_LOG_SILENT 0x00 10NXPLOG_EXTNS_LOGLEVEL=0x03 11NXPLOG_NCIHAL_LOGLEVEL=0x03 12NXPLOG_NCIX_LOGLEVEL=0x03 13NXPLOG_NCIR_LOGLEVEL=0x03 14NXPLOG_FWDNLD_LOGLEVEL=0x03 15NXPLOG_TML_LOGLEVEL=0x03 16NFC_DEBUG_ENABLED=1 17 18############################################################################### 19# Nfc Device Node name 20NXP_NFC_DEV_NODE="/dev/nq-nci" 21 22############################################################################### 23# Extension for Mifare reader enable 24MIFARE_READER_ENABLE=0x01 25 26############################################################################### 27# Firmware file type 28#.so file 0x01 29#.bin file 0x02 30NXP_FW_TYPE=0x01 31 32############################################################################### 33# System clock source selection configuration 34#define CLK_SRC_XTAL 1 35#define CLK_SRC_PLL 2 36NXP_SYS_CLK_SRC_SEL=0x02 37 38############################################################################### 39# System clock frequency selection configuration 40#define CLK_FREQ_13MHZ 1 41#define CLK_FREQ_19_2MHZ 2 42#define CLK_FREQ_24MHZ 3 43#define CLK_FREQ_26MHZ 4 44#define CLK_FREQ_38_4MHZ 5 45#define CLK_FREQ_52MHZ 6 46NXP_SYS_CLK_FREQ_SEL=0x02 47 48############################################################################### 49# The timeout value to be used for clock request acknowledgment 50# min value = 0x01 to max = 0x06 51NXP_SYS_CLOCK_TO_CFG=0x06 52 53############################################################################### 54# NXP proprietary settings 55NXP_ACT_PROP_EXTN={2F, 02, 00} 56 57############################################################################### 58# NFC forum profile settings 59NXP_NFC_PROFILE_EXTN={20, 02, 05, 01, A0, 44, 01, 00} 60 61############################################################################### 62# NXP TVDD configurations settings 63# Allow NFCC to configure External TVDD, two configurations (1 and 2) supported, 64# out of them only one can be configured at a time. 65NXP_EXT_TVDD_CFG=0x02 66 67############################################################################### 68#config1:SLALM, 3.3V for both RM and CM 69NXP_EXT_TVDD_CFG_1={20, 02, 0F, 01, A0, 0E, 0B, 31, 01, 01, 31, 00, 00, 00, 01, 00, D0, 0C} 70 71############################################################################### 72#config2: use DCDC in CE, use Tx_Pwr_Req, set CFG2 mode, SLALM, 73#monitoring 5V from DCDC, 3.3V for both RM and CM, DCDCWaitTime=4.2ms 74NXP_EXT_TVDD_CFG_2={20, 02, 0F, 01, A0, 0E, 0B, 11, 01, C2, B2, 00, B2, 1E, 1F, 00, D0, 0C} 75 76############################################################################### 77# NXP RF configuration ALM/PLM settings 78# This section needs to be updated with the correct values based on the platform 79#NXP_RF_CONF_BLK_1={ 80#} 81 82############################################################################### 83# NXP RF configuration ALM/PLM settings 84# This section needs to be updated with the correct values based on the platform 85#NXP_RF_CONF_BLK_2={ 86#} 87 88############################################################################### 89# NXP RF configuration ALM/PLM settings 90# This section needs to be updated with the correct values based on the platform 91#NXP_RF_CONF_BLK_3={ 92#} 93 94############################################################################### 95# NXP RF configuration ALM/PLM settings 96# This section needs to be updated with the correct values based on the platform 97#NXP_RF_CONF_BLK_4={ 98#} 99 100############################################################################### 101# NXP RF configuration ALM/PLM settings 102# This section needs to be updated with the correct values based on the platform 103#NXP_RF_CONF_BLK_5={ 104#} 105 106############################################################################### 107# NXP RF configuration ALM/PLM settings 108# This section needs to be updated with the correct values based on the platform 109#NXP_RF_CONF_BLK_6={ 110#} 111 112############################################################################### 113# Core configuration extensions 114# It includes 115# Wired mode settings A0ED, A0EE 116# Tag Detector A040, A041, A043 117# Low Power mode A007 118# Clock settings A002, A003 119# PbF settings A008 120# Clock timeout settings A004 121# eSE (SVDD) PWR REQ settings A0F2 122# Window size A0D8 123# DWP Speed A0D5 124# How eSE connected to PN553 A012 125# UICC2 bit rate A0D1 126# SWP1A interface A0D4 127# DWP intf behavior config, SVDD Load activated by default if set to 0x31 A037 128# SPI CL Sync enable A098 129NXP_CORE_CONF_EXTN={20, 02, 2D, 0B, 130 A0, EC, 01, 01, 131 A0, ED, 01, 01, 132 A0, 5E, 01, 01, 133 A0, 12, 01, 02, 134 A0, 40, 01, 01, 135 A0, D1, 01, 02, 136 A0, D4, 01, 00, 137 A0, 37, 01, 35, 138 A0, D8, 01, 02, 139 A0, D5, 01, 0A, 140 A0, 98, 01, 01 141} 142 143############################################################################### 144# Core configuration rf field filter settings to enable set to 01 to disable set 145# to 00 last bit 146NXP_CORE_RF_FIELD={ 20, 02, 05, 01, A0, 62, 01, 00 } 147 148############################################################################### 149# To enable i2c fragmentation set i2c fragmentation enable 0x01 to disable set 150# to 0x00 151NXP_I2C_FRAGMENTATION_ENABLED=0x00 152 153############################################################################### 154# Core configuration settings 155NXP_CORE_CONF={ 20, 02, 31, 0F, 156 85, 01, 01, 157 28, 01, 00, 158 21, 01, 00, 159 30, 01, 08, 160 31, 01, 03, 161 32, 01, 60, 162 38, 01, 01, 163 33, 04, 01, 02, 03, 04, 164 54, 01, 06, 165 50, 01, 02, 166 5B, 01, 00, 167 80, 01, 01, 168 81, 01, 01, 169 82, 01, 0E, 170 18, 01, 01 171 } 172 173############################################################################### 174#Enable SWP full power mode when phone is power off 175NXP_SWP_FULL_PWR_ON=0x00 176 177############################################################################### 178#Set the default Felica T3T System Code OffHost route Location : 179#This settings will be used when application does not set this parameter 180# host 0x00 181# eSE 0x01 182# UICC 0x02 183# UICC2 0x03 184DEFAULT_SYS_CODE_ROUTE=0xC0 185 186############################################################################### 187# AID Matching platform options 188# AID_MATCHING_L 0x01 189# AID_MATCHING_K 0x02 190AID_MATCHING_PLATFORM=0x01 191 192############################################################################### 193#CHINA_TIANJIN_RF_SETTING 194#Enable 0x01 195#Disable 0x00 196NXP_CHINA_TIANJIN_RF_ENABLED=0x01 197 198############################################################################### 199#SWP_SWITCH_TIMEOUT_SETTING 200# Allowed range of swp timeout setting is 0x00 to 0x3C [0 - 60]. 201# Timeout in milliseconds, for example 202# No Timeout 0x00 203# 10 millisecond timeout 0x0A 204NXP_SWP_SWITCH_TIMEOUT=0x0A 205 206############################################################################### 207# Enable or Disable RF_STATUS_UPDATE to EseHal module 208# Disable 0x00 209# Enable 0x01 210RF_STATUS_UPDATE_ENABLE=0x01 211 212############################################################################### 213# Configure the single default SE to use. The default is to use the first 214# SE that is detected by the stack. This value might be used when the phone 215# supports multiple SE (e.g. 0xC0 and 0x80) but you want to force it to use 216# one of them (e.g. 0xC0). 217DEFAULT_OFFHOST_ROUTE=0xC0 218 219############################################################################### 220# Configure the single default SE to use. The default is to use the first 221# SE that is detected by the stack. This value might be used when the phone 222# supports multiple SE (e.g. 0xC0 and 0x80) but you want to force it to use 223# one of them (e.g. 0xC0). 224DEFAULT_NFCF_ROUTE=0xC0 225 226############################################################################### 227# Configure the default NfcA/IsoDep techology and protocol route. Can be 228# either a secure element (e.g. 0xC0) or the host (0x00) 229DEFAULT_ROUTE=0x00 230 231############################################################################### 232# Vendor Specific Proprietary Protocol & Discovery Configuration 233# Set to 0xFF if unsupported 234# byte[0] NCI_PROTOCOL_18092_ACTIVE 235# byte[1] NCI_PROTOCOL_B_PRIME 236# byte[2] NCI_PROTOCOL_DUAL 237# byte[3] NCI_PROTOCOL_15693 238# byte[4] NCI_PROTOCOL_KOVIO 239# byte[5] NCI_PROTOCOL_MIFARE 240# byte[6] NCI_DISCOVERY_TYPE_POLL_KOVIO 241# byte[7] NCI_DISCOVERY_TYPE_POLL_B_PRIME 242# byte[8] NCI_DISCOVERY_TYPE_LISTEN_B_PRIME 243NFA_PROPRIETARY_CFG={05, FF, FF, 06, 81, 80, 70, FF, FF} 244 245############################################################################### 246# Bail out mode 247# If set to 1, NFCC is using bail out mode for either Type A or Type B poll. 248NFA_POLL_BAIL_OUT_MODE=0x01 249 250############################################################################### 251# Enable/Disable Block Route feature. 252# Block Route will restrict routing to first matched rule 253# Block Route enable 0x01 254# Block Route disable 0x00 255NFA_BLOCK_ROUTE=0x00 256 257############################################################################### 258# White list of Hosts 259# This values will be the Hosts(NFCEEs) in the HCI Network. 260DEVICE_HOST_WHITE_LIST={C0, 80} 261 262############################################################################### 263# Extended APDU length for ISO_DEP 264ISO_DEP_MAX_TRANSCEIVE=0xFEFF 265 266############################################################################### 267# Choose the presence-check algorithm for type-4 tag. If not defined, the default value is 1. 268# 0 NFA_RW_PRES_CHK_DEFAULT; Let stack selects an algorithm 269# 1 NFA_RW_PRES_CHK_I_BLOCK; ISO-DEP protocol's empty I-block 270# 2 NFA_RW_PRES_CHK_ISO_DEP_NAK; Type - 4 tag protocol iso-dep nak presence check 271# command is sent waiting for rsp and ntf. 272PRESENCE_CHECK_ALGORITHM=2 273 274############################################################################### 275# Configure the NFC Extras to open and use a static pipe. If the value is 276# not set or set to 0, then the default is use a dynamic pipe based on a 277# destination gate (see NFA_HCI_DEFAULT_DEST_GATE). Note there is a value 278# for each EE (ESE/SIM) 279OFF_HOST_ESE_PIPE_ID=0x19 280OFF_HOST_SIM_PIPE_ID=0x70 281 282############################################################################### 283#Set the Felica T3T System Code Power state : 284#This settings will be used when application does not set this parameter 285# bit pos 0 = Switch On 286# bit pos 1 = Switch Off 287# bit pos 2 = Battery Off 288# bit pos 3 = Screen On lock 289# bit pos 4 = Screen off unlock 290# bit pos 5 = Screen Off lock 291DEFAULT_SYS_CODE_PWR_STATE=0x39 292 293###############################################################################