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.

CC2530: MAC library?

Part Number: CC2530
Other Parts Discussed in Thread: Z-STACK

HI teams:

CC2530F256RHAR

The customer asked for a MAC address library. Can you provide this, or help provide a method?

  • Check if TIMAC is what you want.

  • Hi Kevin,

    Are they attempting to read the IEEE extended address?  This is stored in the Information Page of the CC2530 (see the TRM).  Here is an example of it being read in Z-Stack:

          if (!osal_memcmp((uint8 *)(P_INFOPAGE+HAL_INFOP_IEEE_OSET), nullAddr, Z_EXTADDR_LEN))
          {
            osal_memcpy(aExtendedAddress, (uint8 *)(P_INFOPAGE+HAL_INFOP_IEEE_OSET), Z_EXTADDR_LEN);
          }

    Where P_INFOPAGE is HWREG(0x00280000), HAL_INFOP_IEEE_OSET is 0xC, and Z_EXTADDR_LEN is 8.

    Otherwise, are you looking for the Z-Stack source files?  If neither these or YK's suggestion, please clarify your request.

    Regards,
    Ryan