This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ZigBee Issues

Other Parts Discussed in Thread: Z-STACK, CC2531, CC2530, CSD

Hello e2e, 

Background:

We have patched zigbee firmware with Skyworks changes but how do we load the firmware on zigbee chip? 

TI recently released Z-Stack for Linux Gateway. There are couple issues here:

They released only binaries for CC2531.

No source code is provide for those who wish to use CC2530. 

This stack only support HA 1.2.

 

File: hal_board_cfg.h Reason of modification:

1. Enable HAL_PA_LNA_SKY

2. hal_dma.c, hal_uart.c, znp_app.c, znp_spi.c are complaining the lack of definition of znpCfg1 and ZNP_CFG1_UART.

3. Enable UART0 as the main communication.

4. Disable LCD and LED, KEY  

 

File: mac_radio_defs.c Reason of modification:

1. Change CTX pin from P1.0 -> P1.1  

File: mac_radio_defs.h Reason of modification:

1. Change CPS pin from P1.1 -> P0.7, CSD pin from P1.2 ->P1.3  

File: mac_rffrontend.c Reason of modification:

1. Change P1DIR to P1.3 output.  

Finally, ! we can not find any GPIO pin for controlling the ANT_SEL pin. Please advice[urgent]! Please comment if you think I have over modifying on those patch files.

 

Questions:

1. Is there a patch set for the CC2531ZNP and the Skyworks AMP that is more mature that we can use to reduce our required changes?

2. Is there a better/newer base code version that we should be using?

3. Our design is exactly the same are your reference design and I would expect that ANT_SEL and the other AMP control signals would be part of your patch code as it will be in ours.  (even as a static definition)  Are we missing something here?

Thank you very much,

Natallia

  • Hi Natallia,

    We will soon release Z-Stack HA 1.2.x , and the included ZNP source should be compatible with the Z-Stack Gateway and should also include support for skyworks se2431. You may use CC Debugger (for hex) or serial bootloader tool (for bin) to reflash CC2531 firmware but in case you modified HA1.2 ZNP and intend to run it with Z-Stack Linux gateway , it is not currently supported. App note for CC2530 + skyworks: http://www.ti.com/lit/an/swra439/swra439.pdf

    Thanks,

    Saurabh