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.

Sending digital data on Codec to output ports like EMIF or HPI on C6713DSK

Hello,

I implemented application based on digital communication on C6713DSK .

I have a simple problem.  I saw ADC output and DAC input  hexadecimal digital data on  Code Composer Studio 3.1 's watch window.I want to send these data to digital osciloscope for real time analysis.

I know that users can get analog audio data from  headphone or Line out of DSK. But I have not so much idea about which port(s)can be used as digital data output.  Where should I transmit hexadecimal data on watch window to observe on digital osciloscope? Should I use EMIF or HPI for my aim? Is it useful?

For my digital communication MsC project, I must observe data on osciloscope.

Could you give an advice?

Best Regards.

  • Ahmet,

    Let me see if I understand this, and I may have some questions to ask. Is that okay?

    You have an application that is working (implemented) on the C6713DSK, and this application has something to do with digital communications. With what other board or device is the DSK communicating? What digital communication method is it using?

    Since you saw ADC output (DSP side) and DAC input (generated by DSP), I assume you have some analog signal source on the ADC's analog input and something like a headphone or speaker on the DAC's analog output. Are those two assumptions correct?

    And now you want to get digital data out so you can display it on a digital oscilloscope? Do I have the concepts correct, so I know the right direction to try to point you?

    I am not familiar with MsC. What is this acronym? I am sorry for my ignorance. May I assume you have a professor and/or instructor who have guided to this point in the project? Or do I misunderstand, again?

    I can easily tell you that the HPI port will not work for whatever you are trying to do. It is a slave port on the C6713 so it could not be useful for any method of displaying data that only involves the DSK. If there is another host processor, then the Host Port Interface could be useful, but you have not mentioned that here.

    Digital data can be sent on all of the other peripheral ports, including the parallel and serial ports. Until I understand more completely, I will not have a recommendation for you, however.

    Regards,
    RandyP

  • Firstly,thanks for your reply.

    I want to add more detailed information to explain you more efficiently.

    I'm working an university in Turkey .I'm also master of science student at Electric and Electronic Engineering at this university. I implemented  OFDM transmitter and receiver based on BPSK modulation and demodulation.Now I have a single C6713 DSK  Though We purchased second DSK , until second one come to university.( ti's turkey  distiributor will send us )

    I implemented transmitter and receiver part on a single  DSK, so all communication parts are present . I designed the system on Matlab Simulink.  Input of projection C6713 ADC block is present .After getting audio signal from input ,I'm modulating signal based on BPSK and doing other OFDM transmitter part operations . Before sending it to receiver part, I added to signal Additive White Gauss Noise. At receiver part, I'm demodulating signal and doing other receiver part operations. At the last part of the simulink design C6713 DAC block is  present. I built the design in Simulink. It converts the blocks Code Composer Studio 3.1 project .CCS3.1 built project ,linked and loaded the out file to the DSK. 

    Of course ,I can hear noisy audio signal from headphone when I run the project in CCS 3.1.For acedemic purpose,I have to compare input and output parts in a bits order. I'm not able to do bit error performance analysis from C6713 DSK , So I decided to compare  output of the ADC of the codec and input of the DAC of the codec and decided to observe these signals to send output ports of DSK. I can see data at watch windows of CCS 3.1 as  hexadecimal .You mentioned in your message that HPI port will not work and  digital data can be sent on all of the peripheral ports  Which port should I use? And How could I send these digital data which I saw watch windows of CCS 3.1 ?

    Could I explain completely?

    I will wait your recommandation(s).

    Best Regards...

  • Ahmet,

    I had the pleasure of visiting Turkey for a short time during a trip a few years ago, and that short time there was one of the highlights of my trip. I met very good people in Turkey.

    Ahmet said:
    I have to compare input and output parts in a bits order.

    I do not understand what you mean by "bits order". This sounds like you must observe the serial data going in and out of the DAC and ADC. If that is the case, then you will want to find a contact point on the DSK board where you can reach those signals. They may be going to an expansion or memory connector, or they may be available at a pin of the DAC or ADC.

    But I may not have the right understanding.

    Regards,
    RandyP

  • Yes, You have the right understanding! How could I send in and out of DAC and ADC to expansion ports like EMIF.

    I 'm not sure that sampled audio signals from AIC23 codec can be transported to digital ports.And I  was not able to find 

    document about interface between McBSP( or AIC23) and EMIF( or other expansion ports)

    Could you give me detailed information to implement this?

    Could I send  AIC23 codec ADC and DAC digital signals serial  to the external port of C6713 DSK?

    If is it true how could I do this?

    Regards,

  • Ahmet,

    Since my understanding above is correct, then my explanation of what you must do should also be correct.

    You will find the DSK schematics from the DSK delivery package or from the vendor's website. From that schematic, you can locate the devices in the path from the ADC to the DSP and find a point at which the serial data can be observed using the digital oscilloscope.

    The serial data, which is what you said you need to observe, is only available in this way. It is not available from any other peripheral as serial data.

    Regards,
    RandyP