Other Parts Discussed in Thread: CC2650, , Z-STACK, CODECOMPOSER
Tool/software: TI-RTOS
Hello,
I am trying to develop an application using ZigBee, on cc2650 launchpad. As a starting point i used the example provided in CCS, which apparently uses proprietary 2.4Ghz protocol, I am trying to switch the protocol, but with no success. The example can be found here. From what I had seen the problem seems to be in the configuration provided in smartrf_settings.c:
RF_Mode RF_prop = { .rfMode = RF_MODE_PROPRIETARY_2_4, .cpePatchFxn = &rf_patch_cpe_genfsk, .mcePatchFxn = &rf_patch_mce_genfsk, .rfePatchFxn = &rf_patch_rfe_genfsk, };
the rfMode should be changed to RF_MODE_IEEE_15_4, in oder to switch the modulation, but I am unable to find the rest of the configuration that needs to be done. If I change the rfMode to RF_MODE_IEEE_15_4 the mcu hangs when sending the message at line :RF_EventMask result = RF_runCmd(rfHandle, (RF_Op*)&RF_cmdPropTx, RF_PriorityNormal, NULL, 0);
Any suggestions are welcome. Thank you!