Post Go back to editing

ADSP-SC58x/2158x UART - Code Example

Attached  test is to check the RS-232 communication with PC using UART. In this code, UART receives a character from the PC and loops it back. So, at the hyperterminal,  the character sent out should be echoed back.

UART_Comm_PC_Core1.zip
  • Hi Vinod,

    Can you please share the CCES project of the same.?

    Thanks

  • Hi Vinod ,

                     I compiled the program in Cross Core 2.2.0 and run it on SC589 eval kit Rev 1.6 then i got the following run time error .. 

    A non-recoverable error or exception has occurred.

      Description:   No dispatched handler available for the specified interrupt code.

      General Type:  RunTimeError

      Specific Type: NoDispatchedHandler

      Error PC:      0xc10046d8

    can you help with this?

    Thanks

  • Hi,

    Please see the attached standalone code which works fine using CCES.

    In order to test this:

    • Connect the USB to UART cable to the board and use Termite.
    • Settings: 19200, 1 stop bit, 8 bit data, no parity, no flow control.
    • USB to UART is connected to UART0, so this is configured in the code.
    • Whatever is typed in the console, same is received or echoed back.

    You can use this as reference.

    Thanks,

    Harshit

    UART_Comm_PC_Core1.zip