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