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: cc2530: MAC co - Processor TIMAC

Part Number: CC2530
Other Parts Discussed in Thread: TIMAC

I am working on MAC coP of TIMAC. MAC coP to the module and can send commands via RS232 and receive feedback.

4. Setting up a TIMAC Network

4.1 Starting a PAN Coordinator

To Start a PAN coordinator following sequence of commands can be used to the MAC-coP from the Host
via the MT interface

  1. Reset the MAC using the API : MAC_RESET_REQ
  2. Set the parameters using the API: MAC_SET_REQ
    1. Set the Short Address attributeID: ZMAC_SHORT_ADDRESS
    2. Set the Extended Address attributeID: ZMAC_EXTENDED_ADDRESS
  3. Scan the area for pre-existing PAN ID’s. send a MAC_SCAN_REQ
  4. After receiving MAC_SCAN_CNF (AREQ) determine the existing PANID’s and select a unique PAN ID to start the network.
  5. Start the MAC network using MAC_START_REQ
  6. Set the parameters: MAC_SET_REQ
    1. Allow Association: ZMAC_ASSOCIATION_PERMIT
    2. Device On All the time : ZMAC_RX_ON_IDLE, set true for coordinator

Can you help me with the commands for setting up coordinator?

example:

SREQ                        ->              SRSP
0x fe 00 21 01 20 (Ping)                                          -> 0x fe 02 61 01 43 00 21
0x fe 01 22 01 01 23 (mac reset)                                     -> 0x fe 01 62 01 00 62

..........