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.

Zigbee CC2530 data transmitting from serial to Air

Other Parts Discussed in Thread: CC2530

Hi,

    i m using  ZStack-CC2530-2.2.0-1.3.0 for SmartRF05 Evaluation Board .

i am not getting how can i transmit data from serial to Air and at the other point i want to receive that data and want to send it on anther serial port.

please sir help me.

Thanks

  • This functionality is covered by the serial app example, located at:

    C:\Texas Instruments\ZStack-CC2530-2.2.0-1.3.0\Projects\zstack\Utilities\SerialApp

  •  

    I'm testing CC2530ZDK.

    CC2530 doesn't look like sending txdata to Z-tool but receiving rxdata from Z-tool.

    I put break point to isr function to see if  HalUARTIsrDMA() is called but never called.

     

    HAL_ISR_FUNCTION( halDmaIsr, DMA_VECTOR )

     

    When Z-tool sends data,  MT_task receives it and make rsp and sends to uart

    but  it is accumulated in dmaCfg.txBuf and txIdx is growing. it doesn't become 0.

    Z-tool doesn't receives rsp from device that tells 'no device'.

    Is it sure if  MT _task  is working well in sample application?

     

    I checked SerialApp sample application sends tx and receives rx both well.

    but MT_Task doesn't work . 

    Will you help me? I need some support here.

     

    **

    I found it.

    I changed the flowControl to false in MT_UartInit ()    then, It sends data ...

     

    uartConfig.flowControl          = FALSE; 

     

  • SerialApp routine use, a coordinator, a router, when the unicast coordinator router sends every 100 milliseconds give a 16-byte data, no loss. But after the broadcast coordinator change is set to 100 ms 16 bytes of data sent automatically, pass around a few hundred bytes, you get stuck, the router will not receive the data. . . . I do not know what the reasons are. Well someone encountered this problem?

  • Hi Tomas,

    I would suggest you using sniffer to check if the 16 bytes data are sent over the air every 100 milliseconds. This will make you confirm where the problem is. Does the data missed on Zigbee RF transmit or UART lost?