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/F28M35H52C: UART_ECHO_M3 Example

Part Number: F28M35H52C
Other Parts Discussed in Thread: CONTROLSUITE, C2000WARE

Tool/software: Code Composer Studio

Hi,

I am trying to use the UART_ECHO_M3 example that comes with controlsuite. I was able to build the project and flash the device using CCS. I connected to the comport using putty, but I don't see any text send to the UART. Can you give me a pointer on how to debug why the text is not sending to the comport with this example project?

Regards,
Patrick

  • You need to make sure you are using the correct COM port. There should be two COM ports open, but you may have picked the wrong one. Also, you may be using the wrong baud rate. See the example information to see what baud rate and UART configuration for communication you should use.

    sal
  • Hi Sal,

    There is one COM port (COM65) and two XDS100 Debug Probes. I am using COM65 with putty. I have attached a screen capture of my Device manager. Are you saying that there should be two COM ports for this device? Please ignore COM1, it shows up on my PC regardless if I have this device attached.

    The baud rate is correct, I set 9600 in the example project. As well as using 9600 with putty.

    Patrick

  • I thought there may be another COM port do to the debugger being connected, but it looks like it is not.

    You then need to ensure that your board is configured properly to enable UART communication to the pins. Also, check the example is using the same pins you are connected to.

    sal
  • Hi Sal,

    I work on tooling and doesn't have much experience with firmware development.

    Can you please let me know which jumper setting that I need to enable for my device? Here is the GPIO PIN setting from example uart_echo_m3 project and the jumper setting for my board.

        GPIOPinConfigure(GPIO_PE4_U0RX);
        GPIOPinConfigure(GPIO_PE5_U0TX);
        GPIOPinTypeUART(GPIO_PORTE_BASE, GPIO_PIN_4 | GPIO_PIN_5);
    
        UARTConfigSetExpClk(UART0_BASE, SysCtlClockGet(SYSTEM_CLOCK_SPEED), 9600,
                            (UART_CONFIG_WLEN_8 | UART_CONFIG_STOP_ONE |
                             UART_CONFIG_PAR_NONE));

    Regards,
    Patrick

  • Please view the schematic in C2000Ware for the control Card to determine the jumper settings.

    sal