I have JN5168-001-M05 module (max 9.5dBm) on my gateway and jn5169 SoC (max 10 dBm) on custom end device. How can I set the max tx power levels on these devices?
From the datasheets I have tried,
for JN5168-001-M05 module,
vAppApiSetHighPowerMode(APP_API_MODULE_HPM05, TRUE);
eAppApiPlmeSet(PHY_PIB_ATTR_TX_POWER, (uint32)9);
for JN5169 SoC ,
vAppApiSetHighPowerMode(APP_API_MODULE_STD, TRUE);
eAppApiPlmeSet(PHY_PIB_ATTR_TX_POWER, (uint32)10);
But I did not see any change on distance. What is the exact code for setting the max power level?
Alpay
Hello Alpay,
The usage of eAppApiPlmeSet is described in the JN-UG-3087 (chapter 2.2.1 page 26).
This document can be downloaded from http://www.nxp.com/products/wireless-connectivity/2.4-ghz-wireless-solutions/ieee-802.15.4-for-jn516...
Best regards
François Robbe
On some application note you can see,
/* Define HIGH_POWER_ENABLE to enable high power module */
#ifdef HIGH_POWER_ENABLE
vAHI_HighPowerModuleEnable(TRUE, TRUE);
#endif
Just try TRUE, TRUE.
It looks like no settings to control it to lower power. Only Turn ON High Power and TX at maximum power.
Thank you Lib.
In JN516x Api datahsheet it is written "This function should only be used with a JN516x high-power module manufactured by NXP." I think it enables external gain circuit assembled on NXP's high power modules. So it can be used for JN5168-001-M05 module but not on NXP's standard JN5169 modules or custom boards that has only JN5169 IC's.
The power issues are not clear for JN516x devices.
Alpay