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.

tms320c5535 ezdsp UART 範例程式 TERMINAL端 無反應

Other Parts Discussed in Thread: TMS320C5535

大家好 最近剛接觸這塊tms320c5535 ezdsp 開發版

執行 UART範例程式時 TERMINAL端都沒任何回應,其中一種是CCS v4 提供的

另外想確認的是PORT是選J2 USB接口是嗎?

也試過連接P2接口上的38 40腳直接接一個UART轉USB的模塊,終端機一樣沒回應,應該只需要接上TX RX兩隻腳就可以了吧? RTS與CTS應該不需要接上吧?

板子上的切換開關(SW3)沒有變更過。

請大家幫我解惑一下,感謝

程式如下:

Int16 uart_test()

{

    char rx;

   

    /* Enable UART to FTDI chip */

    EZDSP5535_GPIO_init();

    EZDSP5535_GPIO_setDirection( 15, GPIO_OUT ); /

    EZDSP5535_GPIO_setOutput( 15, 0 ); 

    printf("    This program tests the UART over the FTDI chip.\n");

    printf("    Open a Terminal window set to 115200 baud.\n");

    printf("    Type in the terminal and a message returns on the button pressed.\n");

    printf("    Press escape to exit.\n");

    /* Open Uart Handle */

    EZDSP5535_UART_open( );

   

    /* UART Test */

    while(1)

    {   

        /* Waitin for RX */

        EVM5515_UART_getChar( &rx );   // Read 1 byte

   

    // Was Esc pressed?

    if(rx == 27)   

            break;

 

.

.

.