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.

CC2538 - USB functionality in Z-stack

Other Parts Discussed in Thread: CC2538, Z-STACK

Hi,

For next version of Zigbee boards, we are planning to go with CC2538.

Regarding USB of CC2538 we have some doubts.

Can we use the USB device controller along with Z-stack Home? any limitations? any restrictions ? from stack side or from controller side?

How much Flash they will occupy together -> usbdriverlib + Z-stack Home?

Thanks & Regards,

Rangineni Balasubramanyam

  • It is no problem to use USB device controller along with Z-stack Home. As I know, there is no limitation or restrictions. As for the flash size that would be occupied by this, you have to do it by yourself and check the map file.
  • If you enable the following compilation flags

    HAL_UART_USB
    USB_SETUP_MAX_NUMBER_OF_INTERFACES=5

    Then you would compile in the USB stack (CDC class). Please make sure that $PROJ_DIR$\..\..\..\..\Components\usblib\cc2538\bin\iar\usbcdc.lib is added as library in your example application.
    As you can see, the code space for this is few KBs so you won't have any issue with CC2538, which has flash that can go up to 512 KB.
    Thanks,
    TheDarkSide