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.

BIOS, Port Configuration

Other Parts Discussed in Thread: CCSTUDIO

Hi all,
I am working with TMS3206416T DSK 1GHz, and CCS version 3.00.
I would like to transfer some data thru J3 by using BIOS. But I am unable to see CLKX0, FSR0, DX0.
Is there any sepcial set up for port cofiguration that I have to follow beside guideline in the book or any simple program that I can run to make sure the J3 is working OK.
I was able to see some CLK and trasmited data thru LEDs.
Any information from you would be great for me. Please send it to my email address: ttnguy11@rockwellcollins.com
Thank you for help
Tung Nguyen

  • Hi Tung,

    BIOS is just an operating system (in truth, a scheduler) that manages the software activity on the DSP. While this may be nitpicky, we don't "use BIOS" to output data on the DSK's J3 header. The McBSP initialization found in the McBSP Reference Guide is the most accurate routine for configuring the serial port. You can also use the Chip Support Library API (found in C:\CCStudio\c6000\csl) to help program and access the peripheral.

    Additionally, on the 6713DSK the McBSP0 is multiplexed between J3 and the AIC23B Stereo Codec. A CPLD controls where these signals are routed as seen on page 2-3 of the Technical Reference Manual.

    Off the top of my head I do not know of any example projects that do all this configuration, but the CPLD register write is as simple as a pointer such as below. 

    volatile unsigned int *ptr;
    ptr = (int *)0x90080006; // Points to offset 6 of the CPLD
    *ptr |= 1; // Route McBSP0 signals off-board (through J3)


    You can also find an example project which configures the McBSP in Digital LoopBack mode in the C:\CCStudio\examples\dsk6713\csl\mcbsp folder. This should be pretty easily modified to do what you need.  

  •  Don't forget to use "volatile" keyword!

    *((volatile unsigned short int*)0x90080006) |= 1;

  •  

    Hello all,

    I am using one DSK6416 to transmit data to another one, which is also DSK6416. I did switched the failure one, and tried to use it as transmite side, but it is unable to send the data out.

    I don't think the problem from application software, because my program is running good on one DSK6416, but fails on another one.

    As I checked the differences between these two board is 0532 (fo not working one) and 0523 (for working one) right top conner of TNS320C6416T DSK on primary side.

    Any suggestion to find out what is wrong would be the Big Help for me.

    Thank you,

    Tung Nguyen

     

     
  • I looked at the Technical Reference Manual for the 6416 DSK and it shows that only McBSP1 and McBSP2 are used to talk to the codec and therefore those are the only ones where Tim's earlier comments about rerouting through the memory mapped CPLD register would be relevant.  McBSP0's routing is not controlled by the CPLD.  It is hooked up to a component U20 on the board (a switch) which then goes out to the header.  That said, you might want to look at the component U20 on your board.  Perhaps you'll see the McBSP signals on one side but not the other.  That would at least tell you whether it's the McBSP not generating the signals or whether the component U20 failed.

    The Technical Reference can be downloaded from the board's manufacturer, Spectrum Digital:

    http://c6000.spectrumdigital.com/dsk6416/

    There are schematics at the end.

    Also, I looked at the 6416T datasheet.  There's no pin muxing on McBSP0 so there shouldn't be anything tricky going on there either.  Hope that helps.

    Brad