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.

RTOS/CC3220S-LAUNCHXL: CC3220S_LAUNCHXL

Part Number: CC3220S-LAUNCHXL
Other Parts Discussed in Thread: CC3220S

Tool/software: TI-RTOS

Hi

I am using the CC3220S-LAUNCHXL with SDK 1.6 network terminal example. I revised and active UART1 with hardware flow control.
I have assigned the RTS and CTS pin, and set 1 to .flowControl for Uart1 on CC3220S_LAUNCHXL.c

Then I used the scope to verify the RTS and CTS signal, its always in high level and never change.
However the data can still be transfer between device.

Apart from setting the .rtspin, .ctspin and .flowcontrol, do i still need to setup or manual set/clear the RTS and CTS signal?

Thanks

Nick

  • Hi Nick,

    Yes the CC3220 supports hardware flow control, and you can set this by .flowControl = UARTCC32XX_FLOWCTRL_HARDWARE and the correct pins for the CTS/CTS of that UART. You should not have to manually manipulate them in this case.

    -Aaron
  • Hi 

    thanks

    i did setup the flowcontrol and pin assignment, but i did see the RTS and CTS signal change during communication.

    here with the setting for uart1

    .baseAddr = UARTA1_BASE,
    .intNum = INT_UARTA1,
    .intPriority = (~0),
    .flowControl = 1, 
    .ringBufPtr = uartCC3220SRingBuffer[CC3220S_LAUNCHXL_UART1],
    .ringBufSize = sizeof(uartCC3220SRingBuffer[CC3220S_LAUNCHXL_UART1]),
    .ctsPin = UARTCC32XX_PIN_UNASSIGNED,
    .rtsPin = UARTCC32XX_PIN_UNASSIGNED,
    .rxPin = UARTCC32XX_PIN_59_UART1_RX,
    .txPin = UARTCC32XX_PIN_58_UART1_TX,
    .ctsPin = UARTCC32XX_PIN_61_UART1_CTS,
    .rtsPin = UARTCC32XX_PIN_62_UART1_RTS,
    .errorFxn = NULL

    Regards
    Nick

  • It looks like the rts and cts are set twice in this snippet..