是否有任何示例代码将ST25R3911B置于透明模式?我一直无法做到
ST25R3911B在透明模式下输出OOK。
我需要这个功能,因为我正在实现一个专有协议。
我的配置/使用模型:
我的
电路根据时序要求使用MCU_CLK
我配置ST25R3911_REG_OP_CONTROL寄存器以使能TX并禁用RX
我清零ST25R3911_REG_AUX_tr_am并在ST25R3911_REG_AUX寄存器中设置ST25R3911_REG_AUX_ook_hr以启用OOK.I执行0xDC命令(ST25R3911_CMD_TRANSPARENT_MODE)以启用透明模式。我将MOSI引脚配置为推挽输出我期望从RFO1测量时反映MOSI的变化RFO2,振荡信号(MOSI高)或无(MOSI低)。但不幸的是,我没有得到RFO1 / RFO2的任何信号。
任何帮助将不胜感激。
以上来自于谷歌翻译
以下为原文
Is there any sample code to put the ST25R3911B into transparent mode? I have been unable to make the
ST25R3911B output OOK in transparent mode.
I need this func
tionality because I'm implementing a proprietary protocol.
My configuration/use model:
- My circuit uses MCU_CLK as required for timing
- I configure the ST25R3911_REG_OP_CONTROL register to enable TX and disable RX
- I clear ST25R3911_REG_AUX_tr_am and set ST25R3911_REG_AUX_ook_hr in the ST25R3911_REG_AUX register to enable OOK.
- I execute the 0xDC command (ST25R3911_CMD_TRANSPARENT_MODE) to enable transparent mode.
- I configure the MOSI pin to push-pull output
- I expect changes to MOSI to be reflected when I measure from RFO1 to RFO2, with an oscillating signal (MOSI high), or nothing (MOSI low).
But, unfortunately, I don't get any signal on RFO1/RFO2.
Any assistance would be greatly appreciated.