RC663通信速率如何更改?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

RC663通信速率如何更改?

639 次查看
370188629
Contributor I

关于RC663如何改变通信速率?例如从106k改变到424K?我使用官方库,修改uint16_t PH_MEMLOC_CONST_ROM wRc663_DefaultShadow_I14443a[][2],

static const uint16_t PH_MEMLOC_CONST_ROM wRc663_DefaultShadow_I14443a[][2] =
{
{PHHAL_HW_CONFIG_PARITY, PH_ON},
{PHHAL_HW_CONFIG_TXCRC, PH_OFF},
{PHHAL_HW_CONFIG_RXCRC, PH_OFF},
{PHHAL_HW_CONFIG_RXDEAFBITS, 0x0008},
{PHHAL_HW_CONFIG_TXWAIT_US, 81},
{PHHAL_HW_CONFIG_TXDATARATE, PHHAL_HW_RF_DATARATE_106},
{PHHAL_HW_CONFIG_RXDATARATE, PHHAL_HW_RF_DATARATE_106},
{PHHAL_HW_CONFIG_TIMEOUT_VALUE_US, PHHAL_HW_RC663_DEFAULT_TIMEOUT},
{PHHAL_HW_CONFIG_TIMEOUT_VALUE_MS, 0x0000},
{PHHAL_HW_CONFIG_ASK100, PH_ON}
};

static const uint16_t PH_MEMLOC_CONST_ROM wRc663_DefaultShadow_I14443a[][2] =
{
{PHHAL_HW_CONFIG_PARITY, PH_ON},
{PHHAL_HW_CONFIG_TXCRC, PH_OFF},
{PHHAL_HW_CONFIG_RXCRC, PH_OFF},
{PHHAL_HW_CONFIG_RXDEAFBITS, 0x0008},
{PHHAL_HW_CONFIG_TXWAIT_US, 81},
{PHHAL_HW_CONFIG_TXDATARATE, PHHAL_HW_RF_DATARATE_424},
{PHHAL_HW_CONFIG_RXDATARATE, PHHAL_HW_RF_DATARATE_424},
{PHHAL_HW_CONFIG_TIMEOUT_VALUE_US, PHHAL_HW_RC663_DEFAULT_TIMEOUT},
{PHHAL_HW_CONFIG_TIMEOUT_VALUE_MS, 0x0000},
{PHHAL_HW_CONFIG_ASK100, PH_ON}
};

改变中间106k为424k,编译运行程序,发现原来的卡片(通信速率为106k),在新的程序中依然可以识别到卡?

请问,怎么修改通信速率?

如何查询芯片是使用的哪种通信速率??

谢谢???

0 项奖励
回复
1 回复

597 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Li Jie,

There is  no need to change the data rate manually like this, the NFC reader library automatically switches to a higher rate supported by the card during the hand shake, and I guess your card is a ISO14443A type card, right? Please also note for ISO14443A card, the hand shake always starts at 106Kbps, so it is impossible to switch the reader to a higher rate then start to communicate with the card. Please kindly refer to the ISO14443 spec for more details.

Hope that helps,

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复