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/CC2640: UART soft flow control

Part Number: CC2640
Other Parts Discussed in Thread: BLE-STACK

Tool/software: TI-RTOS

Our CC2640 (DTE) is controlling a GPRS module (DCE) by UART without hardware flow control (RTS and CTS are not connected). We've some issues with data exchange when power management is enabled on the CC2640.

Could the power management temporary be disabled to prevent standby during waiting for receiving data from the GRPS module? 

Section 19.4.4.2.2 of the technical reference manual talks about Software Flow Control (Modem Status Interrupts) to be supported. Is this way to control de power management during UART data exchange?

I assume if hardware flow control is implemented the RTOS UART driver wil handle the power management correctly. But some module does not support hardware flow control.

Thanks for helping.

  • Hello,

    If you know you need to inhibit power saving (i.e., entering standby) you can call the power driver directly to set a constraint. Refer to section "4.4.2 Use Power_setConstraint() to disallow power transitions as necessary" in the Power_Management.pdf document included in the C:\ti\tirtos_cc13xx_cc26xx_2_20_01_08\docs TI-RTOS SDK which is installed when you install TI BLE-Stack v2.2.1.

    Best wishes