How to calculate RSSI and LQI values

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to calculate RSSI and LQI values

Jump to solution
5,028 Views
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 Kudos
Reply
1 Solution
2,320 Views
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. 

View solution in original post

0 Kudos
Reply
2 Replies
2,321 Views
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 Kudos
Reply
2,318 Views
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 Kudos
Reply