Hi David/Mario,
We have the similar problem. We are using JN5168 custom made module, without external PA, and based on “JN-AN-1174-JN516x-802-15-4-Application-Template”, to form a IEEE 802.15.4 (not ZigBee) network.
In field test, especially indoor inside a supermarket, we found the RF reception seems cannot satisfy customer’s request. We have tried ways to improve it, and now focus on TX power issue – how to make a maximum TX power? Now 0 dBm is what we can reach.
Quote from “JN-UG-3087_JN516xIntegratedPeripheralsAPI_v15”,
“you can use the function eAppApiPlmeSet() from the NXP 802.15.4 Stack API (supplied in AppApi.h in all the JN516x SDKs). The required function call is:
eAppApiPlmeSet(PHY_PIB_ATTR_TX_POWER, x);
where x is a 6-bit two’s complement power level, corresponding to an input range of -32 to 31 dBm. In practice, this value is mapped to an actual transmission level: For JN5168, JN5164 and JN5161, it is mapped to one of four levels: -32, -20, -9 and 0 dBm
“
We have used a spectrum, specially to test this function, as below result. It seems to meet the JN-UG-3087 – the maximum TX power we can get is around 0 dBm.
X : 0 ~31, Power ~= -0.4 dBm
X : 32 ~39, Power ~= -36 dBm
X : 40 ~51, Power ~= -23 dBm
X : 52 ~63, Power ~= -11 dBm
Note x is a 6-bit two’s complement power level.
But based on “JN516X” datasheet, we got not matched description,
“ Transmit power 2.5dBm
“
We switched to use “JN-AN-1172_Jn516xCustomerModuleEvaTool_v16” as another test base, per NXP engineer ‘s suggestion,
“5168 select b ) Standard Module(Boost Mode) should get 2dbm Tx power level.
“
Per test setting of 0,1,2,3, in 0dBm mode: we got spectrum power reading of -35, -22, -10, +0.21 dBm,
Also setting of 0,1,2,3, in boost mode: we got spectrum power reading of -32, -20, -8, +1.26 dBm,
This concluded besides 0 dBm, JN5168 can increase Tx power level to at least above +1.26 dBm (as there may have cable loss) in our case.
Even warned by “JN-RM-2027_Jn51xxProductionTestApi_v16”,
“Caution: Software developed using this API cannot be used in conjunction with the IEEE 802.15.4, JenNet-IP or ZigBee PRO stack.
“
We still tried below changes in the 802.15.4 project code, and do got a +1.26 dBm reading. But there are side effects such as we have to use “bJPT_PacketRx()” for receiving, and behaved weirdly.
#include <JPT.h>
PUBLIC void AppColdStart(void) {
……
u32JPT_Init();
(void)u32AHI_Init();
(void)u32AppQApiInit(NULL, NULL, NULL);
bJPT_RadioInit(E_JPT_MODE_BOOST);
bJPT_RadioSetChannel(11);
……
}
Makefile:
INCFLAGS += -I$(COMPONENTS_BASE_DIR)/ProductionTestApi/Include
LDLIBS += JPT_${JENNIC_CHIP}
We have checked NXP Community’s related threads as below, but still not clear what to do:
Distance of JN5168-001-M00 Module
https://community.nxp.com/message/964418?commentID=964418#comment-964418
Enabling High power on Jn5168-001-M05 | Zigbee 3.0
https://community.nxp.com/thread/455276
Boosting Wireless range for JN5168 modules (this thread)
https://community.nxp.com/thread/460781
Can you help to confirm, in “JN-AN-1174-JN516x-802-15-4-Application-Template”, how to properly squeeze out this lost +1.26 dBm Tx power using standard 802.15.4 API?
Regards,
Benjamin Chang