你好,我看您发的帖子在这方面很专业的,有一个关于SI4463无线模块的问题想请教,这个芯片寄存器太多了,下了个例程看不管从该模块读取什么数据好像都是读0xff寄存器,真是越看越晕。还有就是要读取任意时刻的RSSI和接收数据包同步字时的RSSI应该怎么做啊,是不是先写入命令0x22然后读某个寄存器,这一个命令有十几个返回值,具体怎么操作呢?热切期盼您的回复……
数据手册上相关的部分是这样写的:
CMD 0x22,
Response:
INVALID_SYNC_PEND - If set, INVALID_SYNC interrupt is pending.
RSSI_JUMP_PEND - If set, RSSI_JUMP interrupt is pending.
RSSI_PEND - If set, RSSI interrupt is pending.
INVALID_PREAMBLE_PEND - If set, INVALID_PREAMBLE interrupt is pending.
PREAMBLE_DETECT_PEND - If set, PREAMBLE_DETECT interrupt is pending.
SYNC_DETECT_PEND - If set, SYNC_DETECT interrupt is pending.
INVALID_SYNC - If set, invalid sync has been detected
RSSI_JUMP - If set, RSSI jump above MODEM_RSSI_JUMP_THRESH has occured
RSSI - If set, RSSI is above MODEM_RSSI_THRESH
INVALID_PREAMBLE - If set, invalid preamble has been detected
PREAMBLE_DETECT - If set, preamble has been detected
SYNC_DETECT - If set, sync has been detected
CURR_RSSI[7:0] - Current RSSI reading from the modem.
LATCH_RSSI[7:0] - Latched RSSI reading from the modem as configured by MODEM_RSSI_CONTROL. Reset to 0 at
the start of every RX.
ANT1_RSSI[7:0] - RSSI of ANT1 while antenna diversity. Latched during preamble evaluation and avaliable for reading
after sync detection.
ANT2_RSSI[7:0] - RSSI of ANT2 while antenna diversity. Latched during preamble evaluation and avaliable for reading
after sync detection.
AFC_FREQ_OFFSET[15:0] - The AFC value that is generated by the AFC loop during receive mode.