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.

8147 UART0 ECHO TEST NOT WORKING



When I try 8147 UART0 ECHO TEST, the DSP can receive letters from PC, but the PC can not recieve anything.

I test the output of UART0_TXD PIN, and there is no waveform but a high level of 3.3V.

And the GEL scripts are executed.

1. PG 2.x DM814X --> ALL_ADPLL_CLOCKS_ENABLE_API
2. DM814X System Initialization --> UARTClkEnable

Why is there no output from  UART0_TXD?

  • The gel file doesn't set pin mux.

    Add UART0_PinMux_Setup function to fix the problem.

    hotmenu UART0_PinMux_Setup() {  

    GEL_TextOut("\t ***** Configuring UART0 TX and RX....***** \n");           

     WR_MEM_32(PINCNTL70, 0x00060001);   

    WR_MEM_32(PINCNTL71, 0x00060001);      

    GEL_TextOut("\t ***** Configuring UART0 TX and RX complete....***** \n");        

      }

  • He Liang,

    he liang said:
    The gel file doesn't set pin mux.

    Yes, this is correct. The gel file only defines the base address of these pins registers:

    #define    PINCNTL70    (    CTRL_MODULE_BASE_ADDR +    0x0914    )
    #define    PINCNTL71    (    CTRL_MODULE_BASE_ADDR +    0x0918    )

    he liang said:
    Add UART0_PinMux_Setup function to fix the problem.

    Yes, I think this is one good solution.

    Other solution can be to configure the Boot Mode Select switches for UART boot, BOOTM[4:0] = 00001. Thus the ROM code should configure the UART0 pins (instead of the updated gel file).

    Best Regards,
    Pavel