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.

HAL zstack (cc2538 + SmartRF06)

Other Parts Discussed in Thread: CC2538

Hi,

I am developing my project on zigbee HA.

How can i know that LED's and Switches of SmartRF06 Evaluation board are connected to with pins and port cc2538.

in programs it is simply written

#define HAL_LED_1 0x01

but it is not saying which port pins of cc2538.

what shall i do if i want to change the HAL_LED_1 pins to another port pins.

  • It's defined in bsh.h (under \Components\bsp\srf06eb_cc2538\drivers\source) like the followings:

    // Board LED defines
    #define BSP_LED_BASE GPIO_C_BASE
    #define BSP_LED_1 GPIO_PIN_0 //!< PC0
    #define BSP_LED_2 GPIO_PIN_1 //!< PC1
    #define BSP_LED_3 GPIO_PIN_2 //!< PC2
    #define BSP_LED_4 GPIO_PIN_3 //!< PC3