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.

CC2538: CTS AND RTS

Part Number: CC2538

Tool/software:

Greetings of the day!

I wanted to enquire about usage of CTS and RTS on CC2538.

1. Does initializing and assigning the pins as RTS and CTS in the code before the UART code make the hardware flow control work appropriately i.e. does it automatically check buffers for reception?
2. Do I have to write an explicit logic for checking buffers? 

Thanks and Kind Regards.

  • Hello,

    If RTS and CTS are initialized and enabled, then hardware flow control is enabled. This will help ensure data is only transmitted/received when the transmitter's TX buffer (FIFO) is populated and the receiver's RX buffer (FIFO) has space available.

    The RTS and CTS signals are automatically handled based on contents of TX FIFO and RX FIFO.
    The application is responsible for populating/consuming FIFO data, and for this the status of the FIFOs must still be checked (UART_FR_TXFF, UART_FR_RXFE).

    Thanks,
    Toby