JN5189 RSSI and LQI

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
2,192件の閲覧回数
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 解決策
2,169件の閲覧回数
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 返信
2,170件の閲覧回数
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