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.

Drivers for TMS320C5515

Other Parts Discussed in Thread: TMS320C5515, TMS320VC5505

Hi All,

I am using the C5515 board along with CCS 4.1, from the evaluation disk shipped along with the  kit.I have performed a complete installation of the software in the CD, but i dont see a DDK (Driver Development Kit) in the installation.I have created and started using a DSP/BIOS project.

My application needs an interrupt based UART driver with DMA and flow control enabled.

The DSP/BIOS Driver Developer's Guide(spru616.pdf)  section 1.2.1 Functional Device Drivers, specifies that, the DDK offers complete device drivers, including the UART driver.

Should the DDK be separately downloaded/ installed ? If yes, where to find the correct version for CCS 4.1 ?

If anybody knows, please help.

Thanks in advance.

Regards

Ullas R

 

 

 

 

 

 

 

  • Ullas,

    The DDK is no longer offered with current releases of BIOS.  The document you reference is for an earlier version of BIOS.  I'm not sure of the release that spru616 covers, but the date is from 2002.  The C5515 is supported by the Low Power Chip Support Library available here: http://focus.ti.com/docs/toolsw/folders/print/sprc133.html.  You should select C55XCSL-LOWPOWER for the C5515 DSP.  There are examples of how to use CSL, but there is not a complete driver implementation.

    The latest release of BIOS uses a different driver model than was discussed in the DDK document.  The latest recommendations on how to implement drivers is contained inthe TMS320 DSP/BIOS v5.41 User's Guide (http://www-s.ti.com/sc/techlit/spru423).  There is a chapter named Streaming I/O and Device Drivers that expains the new driver models and gives some example implementations.

    Regards.

  • Hi Tommy,

    Thanks for the quick response.

    I downloaded the CSL and DSP user guide from the location that you specified.

    But, to begin with the driver implementation, i am unable to find the actual ISR number to Interrupt source mapping for C5515.

    I found the TMS320C55x DSP CPU Reference Guide (spru371f), which i believe is the right document for this board.(Please tell me if i am wrong)

    The section 5.2 Interrupt Vectors and Priorities, says the following: "To determine which interrupt corresponds to each of the vectors, see the data manual for your C55x DSP".

    The data sheet/ manual that i could locate for C5515 was :http://focus.ti.com/lit/ds/symlink/tms320c5515.pdf

    (Note:This is for Rev A, whereas, the board that i have is Rev B)

    However,I was unable to find the ISR number vs Interrupt source mapping in this document too.

    Please help.

    Thanks & Regards

    Ullas

  • Friends,

    I would like to buy the TMS320VC55055 Evaluation kit (EVM) to do basic Reasearch. Within the board is rs232 port where it can be connected to PC. I would like to connect the output of this port to the PC then try to read the data into a Matlab software where I can do further analysis to the collected signals. Matlab allows me to create serial port object (e.g. Out = serial ('COM1');) but I am still not sure whether I can read data from port

    My question please, can I get the data out of the rs-232 and fetch it into Matlab.

    Note: the link below is about the EVM kit

    http://focus.tij.co.jp/jp/lit/an/sprab36a/sprab36a.pdf

     

    Your feedback is highly appreciated

    Faisal

     

     

     

     

     

  • Ullas,

    There is a document for the C5515 that hasn't been released yet which contains this information.  It is named the System Guide and should be released by the end of July.  In the mean time you can use the System Guide for the TMS320VC5505 (http://www-s.ti.com/sc/techlit/sprufp0).  The VC5505 and C5515 have the same ISR number to Interrupt source mapping. 

    Details on the differences between the VC5505 and C5515 can be found on our Wiki page here: http://processors.wiki.ti.com/index.php/TMS320VC5504/05_to_TMS320C5504/05/14/15_Migration.

    Regards.

  • Hi Tommy,

    According to the C5505 document, the UART interrupt is mapped to HWI-6.

    To confirm the mapping, I enabled the UART interrupt, and  wrote a dummy  ISR , which just puts some text onto the Transmitter Holding Register (THR) everytime the handler is called.

    Apart form this, i am polling on the UART port, reading and writing  everything entered from a Hyperterminal application.

    However, i observe that the interrupt handler is never being hit , but the polling read/write is working fine.

    I also observed in the Interrupt Identification Register that a "Transmitter holding register empty" interrupt has been detected.

    So, i am able to detect an interrupt, but am not able to map the interrupt to my interrupt handler properly.

    I followed the same syntax as used by the timer_isr in the EVM_Sample code available in the kit's disk, to declare the UART ISR.

    To simplify things, I have removed DSP/BIOS from the project.

    Is there any documentation which clearly explains the syntax and procedure for interrupt mapping and definition ?

    Thanks & Regards
    Ullas

  • Ullas,

    Have you looked at the CSL examples?  There is one for UART interrupts that should give you a working example.  The example can be found under your CSL installation root at: \ccs_v4.0_examples\uart\CSL_UART_IntExample. 

    Regards.

  • Hi Tommy,

    I didn't know that the CSL installation had any example code. This seems to be what i was looking.

    Thanks a lot for the help.

    Regards

    Ullas