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.

Ezdsp 5515 Uart in EZDSP_Sample project

Other Parts Discussed in Thread: MAX3222

Hi,

I am trying to use CSL_UART_Int example code with usbstk5515 USB_Stick_Sample codes. There is no compiler errors but the UART interrupts don't work. I suppose interrupt definitions in CSL code and usbstk code conflict. The program gets stuck in uart_IntcSample() function.

I am sending my code. Could you please tell me what is wrong or suggest me usbstk5515_uart code?

4265.usbstk5515_sample_main.txt

  • Hi,

    The usbstk5515 has the UART pins of the C5515 DSP brought out to both the edge connector and the RF connector.

    The CSL_UART_Int example requires communication with a PC via HyperTerminal (or equivalent).

    On the C5515 EVM this is possible through the RS-232 port which interfaces to the UART pins C5515 DSP through a MAX3222.

    On the C5505 and C5535 eZdsps this is possible through the XDS100 - USB to JTAG on Channel A and USB to UART VCP on Channel B (FTDI chip).

    On the usbstk5515, the FTDI Channel B UART VCP is not routed to DSP UART pins - we will likely add this feature in future revisions.

    You can still use the C5515 UART on the usbstk5515 through either edge connector or RF connector - to communicate with another UART device.

    You can create an edge connector daughter board with the MAX2232 or FTDI chip to interface to a PC.

    Hope this helps,
    Mark

  • Thanks for answer.

    I use edge connector and CSL_UART_Int example works. I use a wireless module (Roving WiFly RN-174) and can communicate with computer wirelessly.

    The problem is that when I cannot use usbstk5515 demo code with CSL Uart code. There is no compile errors but I think I cannot set the interrupts correctly. When I run the code do not pass line 469 and get stuck in uart_IntcSample() function. I think the interrupts conflict.

    I want to set the UART interrupts so when I send a command from computer the interrupt routine works and sets the tone parameters (for AIC).