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.

CCS/AWR1642BOOST: How to monitor data from Uart?

Part Number: AWR1642BOOST
Other Parts Discussed in Thread: AWR1642, AWR1843

Tool/software: Code Composer Studio

Hi, I want to use serial port monitoring software to get the raw data that is sent across Uart by CLI_write() in CCS code, but it would cause a problem that the mmWave Demo Visualizer would occupy the Uart port and make the serial port monitoring software access denied. Are there any methods that could both use this two software at the same time?

  • Hi Jimmy,

    Visualizer will capture the UART handle due to which other application may not able to access the same COM port (UART).

    May I know why do you want to monitor CLI UART?

    If you need to monitor data UART (COM port over which object data is being sent out) then that may possible when you use TeraTerm (any serial terminal) instead of Visualizer. Send CLI commands from serial terminal connect other COM port to port monitoring software. As soon as you send sensorStart from serial terminal over CLI UART, on other port you can monitor the data.

    Regards,

    Jitendra

  • Hi Jitendra,

    Thank you so much for your speedy reply.

    The reason I want to monitor CLI UART is that I've sent the temperatures by CLI_write() to the console of mmWave Demo Visualizer and I want to monitor them and write them into the file. And I have several questions:

    1. How to choose certain COM port to send out the data I need?

    2. Besides, if it is possible to connect more than 2 ports at the same time?

    <p.s.> One is for mmWave Demo Visualizer (CFG_port) (cause I still need to control it to do some simulation and measurement in the real-time), another is for DATA_port and the others are for the data I want to send out and monitor. 

    3. What are the physical locations (x,y,z) of the temperatures reported by function rlRfGetTemperatureReport() on the AWR1642 and AWR1843  (i.e. the (x,y,z) of tmpRx0Sens, tmpRx1Sens, tmpRx2Sens, tmpRx3Sens, tmpTx0Sens and tmpTx1Sens on the AWR1642 and AWR1843, respectively)?

    Thank you very much.

    Best Wishes,

    Jimmy

  • Hi Jitendra,

    Could you tell me how to send CLI commands from serial terminal connect other COM port? Or are there any documents that have mentioned the method?

    Thank you.

    Best Wishes,

    Jimmy

  • Hi Jimmy,

    You need to open two instances of TeraTerm and connect a separate COM port on those with right baud rate.

    Based on Device manager: Application/UART COM port-> CFG_Port COM port @115200; Auxiliary Data COM port-> Data_port @921600

    In the CFG_Port teraTeram connection, you will see command prompt with some enter hit. Send one CLI command at a time on this TeraTerm (reading from config file profiles\profile_2d.cfg).

    tmpRx0Sens. tmpTx0Sens are the temperature measurement at Rx and Tx chain (inside the device).

    Regards,

    Jitendra

  • Hi Jitendra,

    Thank you so much for your reply. 

    Where are the physical locations (x,y,z) of  tmpRx0Sens, tmpRx1Sens, tmpRx2Sens, tmpRx3Sens, tmpTx0Sens, and tmpTx1Sens on the AWR1642 and AWR1843, respectively? 

    I want to know the information that I could do some simulation for AWR1642 and AWR1843.

  • Hello Jimmy,

    Are you looking for the exact location of the temp sensors in the AWr1642/1843 die ? We cannot provide the die details. Could you provide more details on what kind of simulations you intend to do? Maybe we can help you in other ways.

    Regards,

    Vivek

  • Hi Vivek,

    I'm sorry that I don't express it clearly.

    I want to use the temperatures reported by temp sensors to be the benchmarks and use them to validate our thermal simulator.

    So the exact locations of temp sensors are also important for us to validate our thermal simulator.

    Could you help me?

    Thank you very much.

    Best Wishes,

    Jimmy 

  • Hello Jimmy,

    The Tx temp sensors are located near the Tx balls , RX temp sensors near the Rx balls. These are the main ones you would need to correlate your thermal simulations. Does this help?

    regards,

    Vivek