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.

CC3220MOD: What are the requirements for the interval between two consecutive calls to UART?

Part Number: CC3220MOD

Dear

The SDK version I use is “simplelink_cc32xx_sdk_2_10_00_04”, and UART_CALLBACK isn't defined.

As the tile, 

★Question1: When I read the ring buffer area of UART by polling,What are the requirements for the interval between two consecutive calls to UART?

The following is the polling call UART_ Read code:

--------------------------------------------------------------------------

while(1)
{
    ReadBytes = UART_read(STRUCTUART1.TIUARTHandle, uCHARTemp, ReadBytePer);

    Len = fifo_insert(&SCI_LINK_INSTANCE_0->RXFifo, uCHARTemp, ReadBytes);   // Insert the value read from UART ring buffer into the pre-defined FIFO
}

--------------------------------------------------------------------------

★Question2: I found that there is a byte data duplication in FIFO from time to time. May this be due to the improper use of UART_read()?

Regards

Yunxue Wang