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.

Few doubdts regarding c6713

If we do 'output_left_sample(sample)' where sample is a 16 bit number(foe ex:0x8c45).... i should get output only from headphone port r8...i should not get any output from line out but when i see the output through oscilloscope i get the output through both the pins and i get the out put exactly as written in the code from right(line out) and distorted from left(headphone). why is that?

If we send a 16-bit sample by output_sample() do i get output from both the ports ?

If i send two different 16-bit numbers through output_right_sample() and output_left_sample() i do get different voltage depending on the value sent...r8?



what is the difference between software interrupt and function calling?


thanking you,

GLKC.


  • and also is there any way to run the code, on power on of the kit, automatically with out opening CCS and clicking on run, debug...etc?

    is it possible to run multiple projects at the same time in same kit, parallel?

  • Leela,

    leela g k c said:
    output_left_sample(sample)

    output_right_sample()

    output_sample()

    As far as I can tell, these are not functions that were written or supplied by TI. I am not sure how TI can tell you how to use a function that we do not own or have or support. My best advice to you is to use these functions in the manner they are demonstrated in the example code that you have started from. If you want to learn more about how the functions work when you use then differently than is recommended by those examples, you will have to read the source code, study the schematics, and study the architecture of the device.

    It is easier to use the functions the way they were intended.

    leela g k c said:
    what is the difference between software interrupt and function calling?

    We can help with specific problems and questions you have using our devices. It sounds like you would benefit from a college class on Embedded Processing. You can start with the workshops we have online on the TI Wiki Pages, search for "c6713 training" (no quotes) as a start.

    Without any context, your question is asking for general information on programming. You have to know what a function call is, and I must assume you know what an interrupt is. So this question is not clear within the context of 16-bit output samples.

    For new questions unrelated to your desired question, please start a separate thread.

    leela g k c said:
    is there any way to run the code, on power on of the kit, automatically with out opening CCS and clicking on run, debug...etc?

    Burn it into Flash. See the training material on the TI Wiki Pages that I referenced above.

    leela g k c said:
    is it possible to run multiple projects at the same time in same kit, parallel?

    This can be answered in any way that matches your understanding of embedded processing. Please see training material on the Wiki that I referenced above.

    DSP/BIOS and SYS/BIOS are single-process, multi-thread operating systems.

    Regards,
    RandyP

  • i do know what an interrupt is and i hv idea what function call is....
    what i dont understand is how is software interrupt(not harware) different from function calling.
    i mean software interrupt do occur only when it is called inside software which can be accomplished also by simple function call......
    software interrupt m8 be different when it is useful when the system runs in to error somehow, and activates interrupt automatically...
    is my understanding of software interrupt, wrong?


    can u reference me on running multiple projects at same time(giving page numbers in the pdf m8 be helpful)



    I HV UPLOADED A FILE WHICH HAS THE FUNCTIONS I MENTIONED ABOVE AND IT CLEARLY STATES THAT, 'Includes functions from TI in the C6713 CSL and C6713DSK BSL'

  • Leela,

    My apologies, but I do not understand some of your misspelled words or funny-spelled words. Even through that, I do not understand what you are asking about, but it seems you are looking for training in programming and not help with specifics of a C6713 device (which is what I can best help with).

    The functions we discussed earlier do not come from TI, to the best of my knowledge. The file you uploaded came from somewhere other than TI, although it uses other functions which did come from TI. Whoever you downloaded that file from should be able to help you understand how those functions or software interrupts operate and should be used.

    You can learn about BIOS's Software Interrupts from the training material provided on the TI Wiki Pages. Search there for "c6713 training" (no quotes); especially the C6x1x course.

    It may be helpful for you to start a new thread, and I will let someone else help you who is more knowledgeable in what you need. Again, my apologies for the communication problem.

    Regards,
    RandyP