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: About the maximum number of bytes received by the zigbee coordinator at one time.

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

Hi team,

Here's the request from the customer:

Currently using cc2650 as the zigbee terminal node, send 50 bytes of data to the coordinator cc2530

The coordinator CC2530 receives 50 bytes of data and transmits it to the computer with uart

The serial port of the computer can receive data.

But when the cc2650 wants to send 100 bytes of data, the computer serial port cannot receive the data.

Is it caused by the large amount of received data? What is the maximum number of bytes of received data?

Is the size of the data received by the zigbee coordinator configured by itself? How to modify the configuration file?

Could you help check this case? Thanks.

Best Regards,                                                        

Nick

  • If you are using ZNP command to send data, I believe there’s limited buffer size. I roughly remember the maximum raw data size is about 80 bytes.

  • Hi Nick,

    Can the customer please clarify whether the larger data packet is being sent out over the air, and whether it is fragmented (i.e. separated into multiple smaller packets)? I assume Z-Stack HA 1.2.2a is being used since the CC2650 is involved. They should review the OnBoard.h MT_UART_RX_BUFF_MAX/HAL_UART_RX_BUF_SIZE as well as _hal_uart_dma.c HAL_UART_DMA_RX_MAX.  Non-UART definitions to consider include MAX_BUFFER_SIZE and MAX_TRANSFER_SIZE from the ZDConfig.h file.  Keep in mind that increase buffer sizes will further constrain the limited RAM on CC2530 devices.

    Regards,
    Ryan