Equivalent of JPT.h library for JN5189

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

Equivalent of JPT.h library for JN5189

1,229 Views
andrei_pobega
Contributor II

Hello,

I am trying to port a radio test software from JN5169 to JN5189.

On JN5169 we had the JPT.h (Production Test API) library and used following functions:

  • u32JPT_Init
  • u32JPT_RadioModesAvailable
  • bJPT_RadioInit
  • vJPT_RadioDeInit
  • vJPT_GetRadioConfig
  • vJPT_TxPowerTest
  • bJPT_RadioSetChannel
  • vJPT_RadioSetPower
  • vJPT_TxPowerAdjust

However, it seems that JPT does not exist anymore for JN5189. Which is the equivalent of JPT.h for JN5189 chip ?

Thank you,

Andrei

5 Replies

1,150 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Andri,

Unfortunately, we do not provide any reference for this. The Application Note JN-AN-1242 CMET example provides a simple document and the process of how to configure the data.

For the radio power please look at the below table for the TX power

Txpwr_Power dBm
-30 -35
-29 -35
-28 -29
-27 -29
-26 -29
-25 -26
-24 -26
-23 -25
-22 -23
-21 -23
-20 -21
-19 -21
-18 -19
-17 -19
-16 -18
-15 -16.6
-14 -15.5
-13 -14.8
-12 -14
-11 -12.5
-10 -11.7
-9 -10.7
-8 -9.7
-7 -8.7
-6 -7.7
-5 -6.7
-4 -5.7
-3 -4.7
-2 -3.7
-1 -2.7
0 -1.7
1 -0.7
2 0.3
3 1.3
4 2.3
5 3.3
6 4.3
7 5.3
8 6.3
9 7.3
10 9.5

 

Regards,

Mario

0 Kudos

1,171 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Andrei,

Please look at the radio_test_jn518x.h file that includes all the APIs that you are looking for.

For example:

bool bRadio_Test_Jn518x_RadioSetChannel(uint8_t u8Channel);
uint8_t u8Radio_Test_Jn518x_RadioGetChannel(void);
uint32_t u32Radio_Test_Jn518x_Init(void);‍‍‍
void vRadio_Test_Jn518x_RadioSetPower(int8_t i8PowerLevel);

You could find the h file following the next path.

\JN5189DK6\middleware\wireless\framework\XCVR\DK6\Build\Include\radio_test_jn518x.h

Regards,

Mario

1,171 Views
andrei_pobega
Contributor II

Hi Mario,

Thanks a lot for this.

Is there also a document describing the APIs ?

0 Kudos

1,171 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Andrei,

You could find the API description on the radio.h file

\JN5189DK6\middleware\wireless\framework\XCVR\DK6\radio.h

Regards,

Mario

0 Kudos

1,171 Views
andrei_pobega
Contributor II

Hi Mario,

I was asking if there is a document(.pdf file) which describes how, when and in which order radio_test_jn518x.h APIs should be used.
For example, I would like to find out which is the maximum value of power I can set using vRadio_Test_Jn518x_RadioSetPower() function.

Thanks,

Andrei 

0 Kudos