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/CC2640R2F: Unable to display a printf statement

Part Number: CC2640R2F
Other Parts Discussed in Thread: SIMPLELINK-CC13X2-26X2-SDK

Tool/software: Code Composer Studio

Hello TI,

I have been following the link

http://dev.ti.com/tirex/explore/node?node=ACAmHpRsYbFcPWGPpQxoUA__krol.2c__LATEST

and http://software-dl.ti.com/simplelink/esd/simplelink_msp432_sdk/3.30.00.13/docs/tidrivers/doxygen/html/_display_8h.html in particular to display a statement unable to print here is the picture depicting the work.

Please let me know if I am missing something, Awaiting for your immediate response.

  • Hi Pradeep,

    Assigning an expert to comment. 

    Thanks, 
    Elin

  • Hi Pradeep,

    Can you please verify using the simple_peripheral example you are getting some data printed out? (this is to be sure you are observing the right serial port with the right configuration).

    For the rest a similar question has been addressed in this thread.

    Kind regards,

  • Hello, I I am on right serial port and using Tera Term for it. Please look at the output I received using Tera term when pressed reset button.

    Which is not readable .

  • Hi,

    The baud rate used by TeraTerm does not seem to be correct. Please review the README of the example.

    Regards,

  • Hi, Thank you it is working now. 

    I don't see button 0 to press while debugging using system_printf. Where can I see the value in CCS console?

    I wanted to print a value into a log file (gAoaOverrideloc) how can I do this?

    I want to write it down or see the value that is being parsed into the ticket.

  • Hi,

    The UART stream can be directed to a file using some very easy scripts (e.g. Python or even bash). Please review other forums if you need assistance on this specific point not related to BLE or CC26XX.

     

    pradeep sambu said:
    I don't see button 0 to press while debugging using system_printf. Where can I see the value in CCS console?

    The simple_peripheral example provides an example how to use the two buttons of your launchpad. You can also review the driver examples in your SDK (especially the pininterrupt example) for more details.

    I hope this will help,

    Regards,

  • Hi Clement,

    Could you give a sample of how to direct to file by using (Python or even bash), A Couple of references or links would help.

    I would like to display a value of CTE in a packet that is transmitted in the Angle of Arrival using CC2640R2F devices. Which is the file that sends the packet including CTE values? how can I log the values in the packet which is being transmitted? I would like to check the values inside the packet by copying ina file or some sort of operation. Please send me the required documentation or code which I need to be used to debug or print the them 

    Thanks,

    Pradeep 

  • Hi Pradeep,

    As a reminder, TI has made the decision to discontinue further development and support of the TI-proprietary Angle of Arrival (AoA) on the CC2640R2. We recommend and welcome our customers using AoA on CC2640R2 to transition from the CC2640R2 to the new RTLS examples based on the Bluetooth 5.1 specification which can be used with the CC13x2R and CC26x2R devices. These software examples can be found in the SimpleLink™ CC13x2 and CC26x2 software development kit 3.40 or later which features a Bluetooth 5.1 qualified stack with support of Bluetooth 5.1 Angle of Arrival. To make this transition, here is a list of available resources you can reference: Simple Link Academy, AoA stack users guide, LaunchPad Tool Order Page

    That being said, I recommend you to leverage the tools (python scripts) provided in the SIMPLELINK-CC13X2-26X2-SDK (in tools\ble5stack\rtls_agent\examples)

    Best regards,