How to calculate RSSI and LQI values

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

How to calculate RSSI and LQI values

跳至解决方案
4,693 次查看
vihangjani
Contributor I

Hello,

            I have seen JN-AN-1175-JN516x-Packet-Error-Rate-Tool for PER test for SE profile and Started communication between AN1175_PER_TTY_Master and AN1175_PER_Slave  Application on JN5168 chip.

On AN1175_PER_TTY_Master Application SIde

I give  below details on CLI.

Options
>Channel: 11
Power Mode: Low
Power Level: 24
Retries: 3
LEDs: Disabled
Done

Up(1) Down(2) Select(3)

I got result on ACK mode

Channel 11
Mode Ack
Seen 0
Total 3322
PER % 100.0
CCA Fail % 0.0
Retries 3
LQI 0
Chan (1) Stop (2) Mode (3)

I need to add RSSI  Field in this Application. How to calculate RSSI or which APIs is used?.

Do you know anyone ?,If yes,please put the steps or details. 

0 项奖励
回复
1 解答
1,985 次查看
limcb
Contributor IV

Since you are using JPT, you can have a look at:

C:\NXP\bstudio_nxp\sdk\JN-SW-4163\Components\ProductionTestApi\Include\jpt.h

or

C:\NXP\bstudio_nxp\sdk\*SDK NUMBER*\Components\ProductionTestApi\Include\jpt.h

for more API commands.

If you would have a look at JN-DS-JN516x.pdf, page 29, there is a graph charting LQI vs dBm. 

At AN1175_PER_TTY_Master.c, you can intercept line 537 then add your own "convert the LQI to dBm/RSSI" function.  

Offtopic:

If you just want to do some range testing, I would recommend using this: JN-AN-1172-JN516x-Customer-Module-Evaluation-Tool

It's more detailed & configurable (testing-wise) in my opinion. 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,986 次查看
limcb
Contributor IV

Since you are using JPT, you can have a look at:

C:\NXP\bstudio_nxp\sdk\JN-SW-4163\Components\ProductionTestApi\Include\jpt.h

or

C:\NXP\bstudio_nxp\sdk\*SDK NUMBER*\Components\ProductionTestApi\Include\jpt.h

for more API commands.

If you would have a look at JN-DS-JN516x.pdf, page 29, there is a graph charting LQI vs dBm. 

At AN1175_PER_TTY_Master.c, you can intercept line 537 then add your own "convert the LQI to dBm/RSSI" function.  

Offtopic:

If you just want to do some range testing, I would recommend using this: JN-AN-1172-JN516x-Customer-Module-Evaluation-Tool

It's more detailed & configurable (testing-wise) in my opinion. 

0 项奖励
回复
1,983 次查看
vihangjani
Contributor I

Hello,

I will be using this JN-AN-1172-JN516x-Customer-Module-Evaluation-Tool application .Do you know the transmit power mode for JN5168 and JN5169. if you know and have any documents,please provide me.

0 项奖励
回复