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.

CC2640R2F: How to display simple_central and simple_peripheral Menus using a PC Terminal program

Part Number: CC2640R2F

Reference:  SDK 1.50.00.71

I need to test the BLE 5.0 Long Range mode.  I have the Simple_Central and Simple_peripheral programs running

on two C2540R2F launchPad boards.   The evaluation SDK 1.50.00.71 was used for these example programs.

The program are running, but the text for the display is not showing up in a usable format for my PC's Terminal program.

I think it is due the the programs being tailored for an LCD display.

Are there project settings available to have the display work on a Terminal Program, so that the program can be run

from the PC?

Thanks,

Dan

  • Hi Dan,

    Simple Central and Simple Peripheral are both set up to use a uart output by default. Did you use the terminal settings listed in the project README.html files?
  • Hi Rachel,

    I think I have terminal settings correct because I am getting data from the Simple_Central application, see screen shot below.

    But, the data has a lot of extra characters which I am guessing are control commands for an LCD display.  The app is responding

    to the Keys on the sides of the lauchXl board, but the displayed characters on the PC Terminal are not usable.  I thought maybe

    there is a #define to have the project run based on a PC Terminal and not an LCD display?

    Also, I am going to buy a few of the LCD booster packs.  /430boost-sharp96

    Thanks,

    Dan

  • Hi Dan,

    There is a #define to run the program with an LCD. The projects do not use that by default. You can check the display settings used in the predefined symbols in the app project settings. When you switch to using an LCD, you will want to change the define.

    Does your terminal program use any encoding? Can you try again with a different program? I use PuTTY and my terminal output always looks fine out of box.
  • Hi Dan,

    While you are checking your predefined symbols, you may try disabling this setting to see if you have better results: BOARD_DISPLAY_USE_UART_ANSI=1
  • Hi Dan,

    You may also be able to get the correct output by changing your terminal display settings: realterm.sourceforge.io/

    Maybe switching to ANSI without disabling the BOARD_DISPLAY_USE_UART_ANSI=1 symbol will display the output correctly.
  • Rachel,

    I tried PuTTY and that worked! Thanks so much. Also, changing the Display on RelaTerm to ANSI also worked.

    Thanks again,
    Dan