proprietary_vendor_xiaomi_lisa/proprietary/vendor/libnfc-nxp_RF.conf
Giovanni Ricca 091a725413
Import lisa from lineage-19.1 (62cf6398)
Change-Id: Iddfa82021df40bf2b6f908c8ad4a348d2268067a
2023-03-06 17:36:09 +01:00

228 lines
13 KiB
Plaintext

##############################################################
## K9D P1 libnfc-nxp_RF.conf FW58 test 31th,May 2021#########
## May.31, 2021 - tuning for EMVco by jiakun #############
###############################################################################
# System clock source selection configuration
#define CLK_SRC_XTAL 1
#define CLK_SRC_PLL 2
NXP_SYS_CLK_SRC_SEL=0x02
###############################################################################
# System clock frequency selection configuration
#define CLK_FREQ_13MHZ 1
#define CLK_FREQ_19_2MHZ 2
#define CLK_FREQ_24MHZ 3
#define CLK_FREQ_26MHZ 4
#define CLK_FREQ_38_4MHZ 5
#define CLK_FREQ_52MHZ 6
NXP_SYS_CLK_FREQ_SEL=0x02
###############################################################################
# The timeout value to be used for clock request acknowledgment
# min value = 0x01 to max = 0x06
#NXP_SYS_CLOCK_TO_CFG=0x06
###############################################################################
# The delay to try to start PLL/XTAL when using sys clock 256/fc units = ~18.8 us
# min value = 0x01 to max = 0x1F
NXP_CLOCK_REQ_DELAY=0x1E
###############################################################################
# MAX 20 RF configuration blocks are supported by MW
# NXP RF configuration ALM/PLM settings
# This section needs to be updated with the correct values based on the platform
#PMU_CFG
NXP_RF_CONF_BLK_1={
20, 02, E5, 05,
A0, 0E, 2C, F0, 00, 3E, 11, E4, E4, E4, 00, 00, 00, 00, 00, A7, 8E, FF, FF, 23, 23, 23, 23, 0A, 00, 00, 00, 00, 02, 00, 00, 01, 00, 10, 00, 04, 00, 00, 00, 17, 40, FF, 07, 13, 07, 05, 13,
A0, A4, 85, 14, 00, 01, 00, 00, 00, 00, 00, 00, 01, 00, 03, 00, 05, 00, 07, 00, 08, 00, 0A, 00, 0C, 00, 0E, 00, 10, 00, 11, 00, 13, 00, 14, 00, 16, 00, 18, 00, 19, 00, 1A, 00, 1C, 00, 1D, 00, 1F, 00, 20, 00, 21, 00, 24, 00, 25, 00, 27, 00, 29, 00, 2A, 00, 2C, 00, 2D, 00, 2F, 00, 31, 00, 32, 00, 34, 00, 35, 00, 37, 00, 39, 00, 3A, 00, 3C, 00, 3D, 00, 3F, 00, 41, 00, 42, 00, 44, 00, 46, 00, 47, 00, 49, 00, 4A, 00, 4C, 00, 4E, 00, 4F, 00, 51, 00, 52, 00, 54, 00, 56, 00, 57, 00, 59, 00, 5A, 00, 5C, 00, 5E, 00, 5F, 00, 61, 00, 62, 00, 64, 00,
A0, 11, 07, 01, 4A, 32, 01, C8, F6, F6,
A0, A5, 0D, 3B, 3B, 3B, 3B, 3B, 3B, FF, 03, 1F, 00, 3B, 00, 00,
A0, 6A, 10, C4, 04, C4, 04, C4, 04, C4, 04, 38, 04, 38, 04, 38, 04, 38, 04
}
NXP_RF_CONF_BLK_2={
20, 02, F5, 02,
A0, 34, C8, 23, 04, 3D, 01, 02, 19, 4B, 09, 00, 00, 4C, 0E, 00, 00, 4C, 0E, 00, 00, 4C, 0E, 00, 00, 15, 10, 00, 00, 95, 12, 00, 00, 95, 12, 00, 00, 95, 12, 00, 00, F1, 12, 00, 00, A8, 13, 00, 00, 04, 19, 00, 00, 04, 19, 00, 00, 04, 19, 00, 00, 04, 19, 00, 00, CE, 1A, 00, 00, 85, 1B, 00, 00, 60, 1E, 00, 00, BD, 23, 00, 00, BD, 23, 00, 00, 75, 2E, 00, 00, 08, 32, 00, 00, 9C, 3A, 00, 00, 9C, 3A, 00, 00, 9C, 3A, 00, 00, 06, 19, 93, 03, 00, 00, 93, 03, 00, 00, 93, 03, 00, 00, 93, 03, 00, 00, 26, 07, 00, 00, 26, 07, 00, 00, 26, 07, 00, 00, DE, 11, 00, 00, 71, 15, 00, 00, 71, 15, 00, 00, 7A, 47, 00, 00, 7A, 47, 00, 00, 7A, 47, 00, 00, 7A, 47, 00, 00, 7A, 47, 00, 00, 7A, 47, 00, 00, 7A, 47, 00, 00, 7A, 47, 00, 00, 7A, 47, 00, 00, 7A, 47, 00, 00, 7A, 47, 00, 00, 7A, 47, 00, 00, 7A, 47, 00, 00, 7A, 47, 00, 00,
A0, 28, 26, 03, 00, 00, 03, CB, 78, 00, 00, 88, FF, 00, 10, FF, 00, 98, FE, 00, 20, FE, 00, A8, FD, 00, 30, FD, 00, B8, FC, 00, 40, FC, 00, C8, FB, 00, 50, FB, 00
}
NXP_RF_CONF_BLK_3={
20, 02, 66, 01,
A1, 0A, 62, 09, 18, 7A, 03, 00, 00, 7A, 03, 00, 00, 7A, 03, 00, 00, 7A, 03, 00, 00, 7A, 03, 00, 00, 78, 05, 00, 00, 08, 07, 00, 00, FC, 08, 00, 00, FC, 08, 00, 00, 92, 09, 00, 00, 92, 09, 00, 00, DC, 0A, 00, 00, DC, 0A, 00, 00, 48, 0D, 00, 00, 30, 11, 00, 00, 30, 11, 00, 00, 8E, 12, 00, 00, 7C, 15, 00, 00, 70, 17, 00, 00, 58, 1B, 00, 00, 40, 1F, 00, 00, 28, 23, 00, 00, 28, 23, 00, 00, 28, 23, 00, 00
}
NXP_RF_CONF_BLK_4={20, 02, F1, 01, A0, A9, ED, 00, 2A, FF, 01, 24, FF, 02, 1F, FF, 03, 1A, FF, 04, 16, FF, 05, 12, FF, 06, 0F, FF, 07, 0C, FF, 08, 09, FF, 09, 07, FF, 0A, 05, FF, 0B, 03, FF, 0C, 01, FF, 0D, 00, F5, 0E, 00, DC, 0F, 00, C6, 10, 00, B3, 11, 00, A2, 12, 00, 92, 13, 00, 84, 14, 00, 77, 15, 00, 6B, 16, 00, 60, 17, 00, 57, 18, 00, 4E, 19, 00, 46, 1A, 00, 3F, 1B, 00, 39, 1C, 00, 33, 1D, 00, 2E, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A, 1E, 00, 2A}
NXP_RF_CONF_BLK_5={
20, 02, C5, 02,
A0, 0B, BB, 00, 1D, 01, 14, 6A, 2A, E8, 03, E8, 03, 06, 10, 0E, 2C, 01, 78, 13, 00, 00, 78, 13, 00, 00, 78, 13, 00, 00, 78, 13, 00, 00, 78, 13, 00, 00, 78, 13, 00, 00, 78, 13, 00, 00, 78, 0A, 00, 00, 78, 0A, 00, 00, 78, 0A, 00, 00, 78, 0A, 00, 00, 78, 0A, 00, 00, 78, 0A, 00, 00, 78, 0A, 00, 00, 78, 0A, 00, 00, 78, 0A, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 78, 00, 00, 00, 3C, 00, 00, 00, 3C, 00, 00, 00, 3C, 00, 00, 00, 00, 00, 00, 00,
A0, A6, 03, C0, 08, 08
}
NXP_RF_CONF_BLK_6={
20, 02, E9, 05,
A0, AB, 82, 27, 1B, 33, 04, 42, 04, 55, 04, 75, 04, 9E, 04, C7, 04, F0, 04, 20, 05, 4F, 05, 7F, 05, B8, 05, F2, 05, 2B, 06, 72, 06, BA, 06, 02, 07, 49, 07, 91, 07, F0, 07, 50, 08, AF, 08, 0F, 09, 6E, 09, E1, 09, 54, 0A, C6, 0A, 56, 0B, E5, 0B, 74, 0C, 04, 0D, 93, 0D, 52, 0E, 11, 0F, D0, 0F, 8F, 10, 4F, 11, 0E, 12, 2C, 13, 4B, 14, 6A, 15, 88, 16, A7, 17, C6, 18, 44, 1A, C2, 1B, 41, 1D, BF, 1E, 9D, 20, 7B, 22, 58, 24, 96, 26, D3, 28, 11, 2B, 4E, 2D, 4B, 30, 47, 33, 44, 36, 40, 39, 3D, 3C, A2, 3F, 07, 43, 6C, 46, E6, 4A, 61, 4F,
A0, A7, 0B, 00, 02, 77, 17, 1F, 1F, 1F, 0A, FF, 19, 05,
A0, A8, 38, 00, 33, 33, 10, 00, 33, 23, 10, 00, 33, 24, 10, 4B, 23, 44, 10, CF, 22, 43, 10, CF, 22, 43, 10, CF, 22, 43, 10, CE, 22, 43, 10, CF, 22, 43, 10, CE, 22, 43, 10, 00, 33, 22, 10, C0, 22, 23, 10, 00, 33, 22, 10, C0, 22, 23, 10,
A0, 98, 08, 2F, 97, 1C, 80, 23, 2F, 2F, 2F,
A0, 9E, 0C, 0B, 97, 1C, 96, 00, 96, 00, 2B, 52, 03, 00, 00
}
NXP_RF_CONF_BLK_7={
20, 02, FB, 14,
A0, C6, 5B, 00, 00, 04, 00, 00, 00, 3C, 00, 00, 00, 20, 80, FF, 01, 00, 00, 64, 00, 00, C0, 00, 00, 00, C0, 00, 00, 00, 01, 01, 01, 20, 01, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00,
A0, 0D, 06, 10, C9, 30, 00, 40, 00,
A0, 0D, 03, 24, 29, 07,
A0, 0D, 03, 24, 30, 07,
A0, 0D, 03, 25, 29, 01,
A0, 0D, 03, 25, 30, 01,
A0, 0D, 06, 40, 42, F0, C1, 37, CC,
A0, 0D, 06, 41, 45, 31, 12, 00, 00,
A0, 0D, 03, 42, 7C, 54,
A0, 0D, 06, 42, 8D, 00, A0, A4, 64,
A0, 0D, 06, 42, 8B, 00, A2, 23, 00,
A0, 0D, 06, 42, 89, 7F, 12, BD, 01,
A0, 0D, 06, 42, 44, 00, B0, 66, 01,
A0, 0D, 06, 42, 43, 24, 24, 4D, ED,
A0, 0D, 06, 42, 41, FD, FF, 5F, F0,
A0, 0D, 06, 42, 40, 20, 77, 33, 3A,
A0, 0D, 06, 42, 4A, 00, 00, 00, 00,
A0, 0D, 06, 42, 49, 00, 00, 00, 00,
A0, 0D, 06, 51, 40, 32, 77, 33, 3A,
A0, 0D, 06, 43, 44, 00, 34, 52, 01
}
NXP_RF_CONF_BLK_8={
20, 02, FD, 1C,
A0, 0D, 06, 43, 43, A5, 64, 4C, AD,
A0, 0D, 06, 43, 40, 05, 77, 33, 3D,
A0, 0D, 06, 43, 4A, 00, 00, 00, 00,
A0, 0D, 06, 43, 49, 00, 00, 00, 00,
A0, 0D, 06, 44, 44, 00, 34, 52, 01,
A0, 0D, 06, 44, 43, A5, 64, 4C, AD,
A0, 0D, 06, 44, 40, 05, 77, 33, 3D,
A0, 0D, 06, 44, 4A, 00, 00, 00, 00,
A0, 0D, 06, 44, 49, 00, 00, 00, 00,
A0, 0D, 06, 45, 44, 00, 34, 52, 01,
A0, 0D, 06, 45, 43, A5, 64, 4C, AD,
A0, 0D, 06, 45, 40, 05, 77, 33, 3D,
A0, 0D, 06, 45, 4A, 00, 00, 00, 00,
A0, 0D, 06, 45, 49, 00, 00, 00, 00,
A0, 0D, 06, 46, 45, 39, 12, 00, 00,
A0, 0D, 06, 46, 44, 00, 34, 52, 01,
A0, 0D, 06, 47, 43, A5, 64, 4C, ED,
A0, 0D, 06, 47, 40, 05, 77, 33, 3D,
A0, 0D, 06, 47, 4A, 20, AA, 0B, 81,
A0, 0D, 06, 47, 49, B5, 44, 22, 00,
A0, 0D, 06, 48, 43, A5, 64, 4C, AD,
A0, 0D, 06, 48, 40, 05, 77, 33, 3D,
A0, 0D, 06, 48, 4A, 00, 00, 00, 00,
A0, 0D, 06, 48, 49, 00, 00, 00, 00,
A0, 0D, 06, 49, 43, A5, 64, 4C, AD,
A0, 0D, 06, 49, 40, 05, 77, 33, 3D,
A0, 0D, 06, 49, 4A, 00, 00, 00, 00,
A0, 0D, 06, 49, 49, 00, 00, 00, 00
}
NXP_RF_CONF_BLK_9={
20, 02, FA, 1C,
A0, 0D, 06, 4A, 8B, 48, 02, F0, 80,
A0, 0D, 06, 4A, 43, A5, 64, 4C, AD,
A0, 0D, 06, 4A, 40, 05, 77, 33, 3D,
A0, 0D, 06, 4A, 4A, 00, 00, 00, 00,
A0, 0D, 06, 4A, 49, 00, 00, 00, 00,
A0, 0D, 06, 4B, 43, A5, 64, 4C, 6D,
A0, 0D, 06, 4C, 44, 00, 34, 52, 01,
A0, 0D, 06, 4C, 4A, 00, 00, 00, 00,
A0, 0D, 06, 4C, 49, 00, 00, 00, 00,
A0, 0D, 06, 4C, 40, 85, 51, 33, 3D,
A0, 0D, 06, 4D, 44, 00, 34, 52, 01,
A0, 0D, 06, 4D, 4A, 00, 00, 00, 00,
A0, 0D, 06, 4D, 49, 00, 00, 00, 00,
A0, 0D, 06, 4D, 40, 85, 51, 33, 3D,
A0, 0D, 06, 4E, 45, 31, 12, 00, 00,
A0, 0D, 03, 4E, 7C, 50,
A0, 0D, 06, 4E, 8D, 00, 00, 00, 06,
A0, 0D, 06, 4E, 8B, 00, A2, 24, 00,
A0, 0D, 06, 4E, 89, 7D, 84, 05, 08,
A0, 0D, 06, 4E, 44, 00, B0, 66, 01,
A0, 0D, 06, 4E, 43, A5, 64, 5C, AD,
A0, 0D, 06, 4E, 41, FD, FF, 5F, F0,
A0, 0D, 06, 4E, 40, 07, 77, 33, 3D,
A0, 0D, 06, 4F, 4A, 2A, 8E, 8D, 2A,
A0, 0D, 06, 4F, 49, 5D, 27, 27, 00,
A0, 0D, 06, 60, 4E, FF, FF, FF, 01,
A0, 0D, 06, 60, 4F, FF, FF, FF, 01,
A0, 0D, 06, 60, 50, FF, FF, FF, 3F
}
NXP_RF_CONF_BLK_10={
20, 02, FD, 1C,
A0, 0D, 06, 80, 7D, A0, 00, 96, BF,
A0, 0D, 06, 80, 80, 42, 00, 04, 00,
A0, 0D, 06, 80, C9, 30, 00, 00, 00,
A0, 0D, 06, 8C, 80, 41, 00, 04, 00,
A0, 0D, 06, 90, 4F, FF, FF, F0, 01,
A0, 0D, 06, 90, 4E, FF, FF, F0, 01,
A0, 0D, 06, 90, 39, 3F, 00, 00, 61,
A0, 0D, 06, 9B, A9, 84, 00, 00, 00,
A0, 0D, 06, 9B, A1, 7F, 7F, 7F, 7F,
A0, 0D, 06, 9B, 99, 7F, 7F, 7F, 7F,
A0, 0D, 06, 9B, 95, FF, 00, 0F, 00,
A0, 0D, 06, 9B, A5, 7F, 7F, 7F, 7F,
A0, 0D, 06, 9B, 9D, 7F, 7F, 7F, 7F,
A0, 0D, 06, 9B, 97, FF, 00, 0F, 00,
A0, 0D, 06, 9B, 4F, FF, FF, FF, 01,
A0, 0D, 06, 9B, 4E, FF, FF, FF, 01,
A0, 0D, 06, 91, D4, F8, 84, EF, 03,
A0, 0D, 06, 91, D2, 4A, 4A, 4B, 38,
A0, 0D, 06, 9C, A9, 84, 00, 00, 00,
A0, 0D, 06, 9C, A1, 7F, 22, 5F, 00,
A0, 0D, 06, 9C, 99, 7F, 22, 7F, 7F,
A0, 0D, 06, 9C, 95, FF, 00, 0F, 00,
A0, 0D, 06, 9C, A5, 7F, 22, 5F, 00,
A0, 0D, 06, 9C, 9D, 7F, 22, 7F, 7F,
A0, 0D, 06, 9C, 97, FF, 00, 0F, 00,
A0, 0D, 06, 9C, 4F, 9F, 88, FF, 01,
A0, 0D, 06, 9C, 4E, 9F, 88, FF, 01,
A0, 0D, 06, 95, D4, F8, 84, 75, 00
}
NXP_RF_CONF_BLK_11={
20, 02, EC, 12,
A0, 0D, 06, 95, D2, 4A, 4B, 4B, 58,
A0, 0D, 06, 9D, A9, 84, 00, 00, 00,
A0, 0D, 06, 9D, A1, 7F, 7F, 7F, 7F,
A0, 0D, 06, 9D, 99, 7F, 7F, 7F, 7F,
A0, 0D, 06, 9D, 95, FF, 00, 0F, 00,
A0, 0D, 06, 9D, A5, 7F, 7F, 7F, 7F,
A0, 0D, 06, 9D, 9D, 7F, 7F, 7F, 7F,
A0, 0D, 06, 9D, 97, FF, 00, 0F, 00,
A0, 0D, 06, 9D, 4F, FF, FF, FF, 01,
A0, 0D, 06, 9D, 4E, FF, FF, FF, 01,
A0, 0D, 06, 99, D4, F8, 04, E4, 01,
A0, 0D, 06, 99, D2, 4A, 4B, 4B, 48,
A0, AF, 09, 11, 2F, 00, 23, 11, 2F, 00, 23, 00,
A0, 92, 28, 37, 00, 1B, 00, FC, 81, 0F, 00, 22, 80, 0F, 00, 14, 00, 20, 70, EA, 01, 43, 18, 32, 16, 78, 30, 0D, 00, 03, 55, EA, 05, 01, 04, 68, 02, 3F, 92, 04, 00, 0C, 13,
A0, 1F, 06, 63, 00, 42, 00, 14, 00,
A0, 9A, 02, 00, 00,
A0, 99, 0A, 03, 00, 80, 00, 00, 80, 00, 00, 00, 00,
A0, 68, 2A, 06, 40, 60, 03, 19, 00, 00, 00, 00, 82, 04, 00, C0, 05, C0, 00, 00, 01, 00, 01, A0, 00, A0, 00, 03, FA, 00, 00, 00, 4C, 00, 14, 00, 7D, 00, 05, 7F, 00, 00, 01, 00, 03
}
NXP_RF_CONF_BLK_12={
20, 02, 46, 08,
A0, 0D, 03, 61, 09, 7F,
A0, 0D, 06, 60, AB, FF, FF, 00, 00,
A0, 0D, 06, 60, 95, FF, FF, 0F, 00,
A0, 0D, 06, 60, 97, FF, FF, 0F, 00,
A0, 0D, 06, 82, 82, 47, 80, 00, 00,
A0, 0D, 06, 80, 82, 47, 80, 00, 00,
A0, 0D, 06, 62, 32, AE, 00, 7F, 00,
A0, 0D, 06, 67, 32, AE, 00, 1F, 00
}
NXP_RF_CONF_MAX_NUM=12