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.

DSK 6713 - Programming [C] - how to use Daughtercard

Hey,

 

I'm new to programming DSP.

But I have some knowledge about programming in C. So I was able to create a sinewave at the AIC23 output.

As next step I wanted to give a rectangle signal to the output but the AIC23 has an Filter...

So I decided to give it on a selfmade daughtercard to amplify the signal external with a filter fitting to my ideas.

My question now is concerning the source code. Does anyone know how to give the signal to the peripheral connector J2?  My first step was to set the McBSP 1 bit in the CPLD register. But I don't get any signal at Pin 36 of J2 if I measure it with a scope and without a daughtercard so far. (the supply voltages are available)

Does anyone have an example code to study for me?

 

Thank you

Best regards

Hans

  • Hi Hans

    Do you have access to the BSL package  that is provide on the 6713DSK support pages @ Spectrum Digital

    http://c6000.spectrumdigital.com/dsk6713/

    If so, enabling McBSP0/1 on the DC connector should be easily accomplished using the BSL functions.

    I believe you meant J3, not J2. You would just need to manipulate the MISC registers in the DSK CPLD using BSL apis

     

    #define MCBSP2SEL            0x02 // McBSP1
    #define MCBSP1SEL            0x01//McBSP0

        DSK6713_init();
       
       /*Select McBsp 1connection to daughtercard*/
       
        DSK6713_rset(DSK6713_MISC , MCBSP2SEL);

    This will enable McBSP1 on the daughtercard. You should be able to see the activity once the McBSP is configured for whatever you are trying to do.

    Hope this helps.

    Regards

    Mukul

  • Hi Mukul,

     

    thanks for your answer. I didn't notice there is a function to set the bits. I will try it out by Tuesday and give you feedback.

    Thanks so far.

    Regards

    Hans

  • There is a signal on J3 called DC_DET. This is pulled up on the DSK board and is connected to the CPLD to indicate when a valid daughtercard is connected. This signal should be connected to ground on your daughtercard for correct operation. Any signals connected to J3 through the CPLD or controlled by the CPLD may be disabled unless this signal is connected to ground.