JN5189 RSSI and LQI

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

JN5189 RSSI and LQI

跳至解决方案
984 次查看
Johnny9
Contributor II
Hi. I am developing Zigbee application using JN5189 and DK6. I couldn't find a function to read the RSSI and LQI. How can I check the RSSI and LQI? Please let me know if there is a register or API that can check the value.
0 项奖励
1 解答
961 次查看
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi @Johnny9,

I hope you are doing great.

Please look at the JN-AN-1255 Example. It implements the read-out LQI and RSSI Values.

  uint32 u32Rssi = u32REG_RFPModemRead(MF_RSSI_DBM_PACKET);
  int32 i32Rssi = ((int32)(u32Rssi << 22)) >> 22;
  i32Rssi = abs(i32Rssi);
  uint8 u8Lqi= u8MMAC_GetRxLqi(NULL);

 

Regards,

Mario

 

在原帖中查看解决方案

1 回复
962 次查看
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi @Johnny9,

I hope you are doing great.

Please look at the JN-AN-1255 Example. It implements the read-out LQI and RSSI Values.

  uint32 u32Rssi = u32REG_RFPModemRead(MF_RSSI_DBM_PACKET);
  int32 i32Rssi = ((int32)(u32Rssi << 22)) >> 22;
  i32Rssi = abs(i32Rssi);
  uint8 u8Lqi= u8MMAC_GetRxLqi(NULL);

 

Regards,

Mario