Tool/software: TI C/C++ Compiler
Hi everyone,
I would like to ask your help in the following problem:
I had connected the FT232RQ chip to the CC2650 UART. The communication works perfectly both ways (sending, receiving) when settings are correct.
BUT, when the RX pin of the microcontroller gets to logical level 0, OR the data arrives from the PC side with incorrect speed due to an incorrect consol setup, the firmware execution terminates.
The FT232RQ’s power supply provided by a 5V USB. When USB disconnected, power discontinues. Because of this, I had enabled the pull-up resistor at the RX input of the microcontroller to ensure the logical level of 1. The problem appearance got fewer this way, but still exist. The problem is not triggered by a concrete event, can appear any time and case, expect when USB not connected since the startup.
The problem can be reproduced easily, using CC2650 LaunchpadPad and UART Echo example utility.
Eg.: sending several bytes from the PC console with 9600bps at 4800bps setting. In this case, the microcontroller does not respond after PC console gets back to the correct speed of 9600bps.
In the files of UARTCC26XX.c I can see Log_print lines. I had installed the UIA and tried to enable logging feture, but nothing appear there, though tha RTOS analyser seems to be working.
Any concrete help would greatly appriciated!
CCS Version: 8.3.0.00009
UART_Echo imported from: c:\ti\tirtos_cc13xx_cc26xx_2_21_01_08\examples\TI\CC2650_LAUNCHXL\uartecho
Driver location: c:\ti\tirtos_cc13xx_cc26xx_2_21_01_08\products\tidrivers_cc13xx_cc26xx_2_21_01_01\packages\ti\drivers\uart
Compiler: TI v16.9.4.LTS
UIA: 2.30.1.02
Added lines to the uartecho.cfg
var LoggingSetup = xdc.useModule('ti.uia.sysbios.LoggingSetup'); var LoggerStopMode = xdc.useModule('ti.uia.loggers.LoggerStopMode'); LoggerStopMode.common$.diags_USER1 = xdc.module("xdc.runtime.Diags").ALWAYS_ON; LoggerStopMode.common$.diags_USER2 = xdc.module("xdc.runtime.Diags").ALWAYS_ON; LoggerStopMode.common$.diags_INFO = xdc.module("xdc.runtime.Diags").ALWAYS_ON;
Many thanks,
Laszlo