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.

CC2340R5: What's the max number for UART2 TX ring buffer Size?

Part Number: CC2340R5

Tool/software:

Hi team,

In SDK7.20, What's the max number for UART2 TX ring buffer Size? After review the code, we have the minimum limitation is 16, but no limitation for the max number.

Customer feedback they had use 129, but only can sent 116 byte. Is here any limitation in code? 

Thanks.

Regards,

Wesley

  • Hi Wesley,

    Using the SIMPLELINK-F3-SDK v7.20 uartCallback example for which echoPrompt has been increased to 140 characters and the TX/RX ring buffers are increased to 164, I am able to observed every byte being transmitted after a single call from UART2_write.  The physical limit is more related to the amount of SRAM your CC2340R5 application is able to allocate for the UART2 TI Driver.  Thus please further test and describe your development/test setup.  Be sure to provide the example you are working from and any changes that you've made to the project, along with code excerpts of your UART2 implementation.

    Regards,
    Ryan