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.

how do i use the mcbsp ports on the c5416? need a simple example.

Hey everyone,

I am new to using a processor. My first processor happens to be the tms320c5416. I need help on the following problem. Suppose I write a program on the board( in C) and need to get the value of a variable out through to a serial port, how should I go about it?  Should I use the MCBSP? Can anyone explain with a simple example?

Thanks a lot.

Naveen.

  • naveen francis said:

    I am new to using a processor. My first processor happens to be the tms320c5416. I need help on the following problem. Suppose I write a program on the board( in C) and need to get the value of a variable out through to a serial port, how should I go about it?  Should I use the MCBSP?

    This seems to be a reasonable approach.  The questions you need to ask yourself is what throughput do you need on the serial interface as well as what interface standard do you need.

    The MCBSP natively supports interfaces like SPI, TDM (Time Division Multiplxed), I2S.  Not something like a UART, although you can emulate an UART with some software and DMA channels along with the McBSP.  Application Notes for the TMS320C54x are found here.

     

    You should find an example for using the McBSP in the TMS320C54x Chip Support Library.

  • Thanks a lot Brandon. My intention is to write a program on the board and somehow get the result to another system. I want to learn how to use the tms320 as part of a bigger system thereby the need of understanding how to interface with other systems. What other options do I have other than the Mcbsp?

     

    Thankyou

  • Naveen,

    The only other peripheral on the C5416 that could be used for communications with other devices on a board would be the Host Port Interface (HPI).  The pointers that Brandon provided for the McBSP will also get you information on the HPI. 

    The McBSP is the simplest interface for communications between processors and either end can control the port.  With the HPI, an external host manages the communications.

    From your description, it's not clear which interface would be the best fit for  you.  Review of the documentation should help you decide.

    Regards.