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.

Re: mcbsp loopback data

 hello,

          I am new to omap l138. I'm using dsp/bios 5.41 and psp_drivers 1.30.00. I want to loopback data from the same c6748 mcbsp. I've tried dlb enable. It reflects in the registers, and used mcbspSampleMaster program and combine somehow to acheive loopback. but couldnt find out what i should do to move further. help me in this..

 

Thanks and Regards,

BABU.

  • BABU,

        Were you unable to get data to loopback using the mcbspSampleMaster program? If you were successful, you will need to reconfigure the McBSP peripheral and disable Digital Loopback Mode (DLB) and possibly other register to work in your particular application. This is done in the McBSP registers settings found in the OMAP-L138 McBSP User's Guide.  If you need further assistance, it would be best to provide details in regards to your particular application.

  • Hello Drew,

               I am using a Hawkboard. I am not using two boards for data loopback. Using CCS4, I have done hardware debug of  mcbspSampleMaster program alone on one hawkboard and looked at the register values.  I just enabled dlb and as said in the mcbsp document, it reflects in the registers. I combined mcbspSampleMaster and Slave program to get loopback on same board. Am i wrong on this?? kindly suggest configurations for achieving mcbsp data loopback on the same board.

    Thanks and Regards,

    BABU

  • BABUSUBASHCHANDAR CHANDRA MOHAN said:
    I just enabled dlb and as said in the mcbsp document, it reflects in the registers.

    It's not explicitly clear which McBSP document you are referring to. Could you please clarify?

     

    BABUSUBASHCHANDAR CHANDRA MOHAN said:
    I combined mcbspSampleMaster and Slave program to get loopback on same board. Am i wrong on this?? kindly suggest configurations for achieving mcbsp data loopback on the same board.

    I'll assume from the last line that combining the two programs didn't work. I'm not familiar with either of the two program's source code, but I suspect that the mcbspSampleMaster has the correct settings since you can enable digital loop back.  Have you tried searching Hawkboard.org? I'm sure there there is someone who will be able to provide you with some open source code to complete your project.

     

     

  • Hello Drew,

                I've been successful in making mcbsp loopback data both internally and externally using ccs in windows on omap l138.. Now i'm trying to use this ccs program in dsplink application in linux. I've one dsplink application "tskLoop" for getting data from arm side to dsp side of omap l138.  That setup is working fine. How can i tweak this dsplink application to make mcbsp loopback code built from ccs work with it. The flow is as follows, arm is sending data; dsp receiving it and send that to outer world through mcbsp interface. 

     

    Thanks and Regards,

    BABUSUBASHCHANDAR