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.

Assemble file

Other Parts Discussed in Thread: TMS320C6747

Dear Sir,

I started to work in DSP (TMS320C6747) processor.can you anybody explain me below questions

1.How to get .asm file when  i compile and run the program?

2.what is the maximum frequency (Fsample) for TMS320C6747?

3.we are using in sin,cos,tan functions in Filter programs i want know about functions are real time  or not?\

Please answer these questions.....

By,

Vignesh

  • Hi Vignesh,

    1. Are you using CCSv5? If so, create a new file named xxx.asm in the workspace of your project, then the CCS will recognize it automatically and show up the file in the C/C++ Projects window. Now you can write your asm code and compile it.

    2. According to the datasheet of C6747, the maximum Fs is 456Mhz..

    3. TI provides the library to support the implementation of common math functions such as cos/sin/div/exp and so on. You can download it here: http://www.ti.com/tool/mathlib for your device. Please refer the manual for API rules. And these functions are already highly optimized, so it should meet your requirement of real-time system.

    Hope it helps.

    Allen

  • By the way, C6747 is generally not in the scope of C6000 Multicore DSP. You'd better post the related issue on C6000 single core DSP forum:

    http://e2e.ti.com/support/dsp/tms320c6000_high_performance_dsps/f/115.aspx

  • Thanks for the post and comments Allen.  I'm moving this to the C67x Single Core forum.

    Best Regards,

    Chad

  • Vignesh,

    Welcome to the TI E2E forum. We hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages. Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics.

    1. If your question was meant to ask about getting the assembly output from the C compiler, there is a compiler setting -k that tells the compiler to keep the assembly output file. This will be found in the Build Options for the project.

    2. Your question about maximum frequency used the term Fsample. That makes me wonder if you are looking for the fastest rate at which you can run an ADC to get data into the C6747. If so, there are too many different ways to connect to an ADC for us to give you a single right number. There are serial and parallel ports available, and there are methods that require additional logic outside the DSP to get higher speed. Allen probably answered your question precisely, but if you were looking for something else, please reply back with your clarification.

    Regards,
    RandyP

  • Dear Allen,

    Thanks ...

    I am using CCSv3.3.

  • Dear Randyp,

    Thank you sir...

  • Dear Allen,

    I am using CCSv3.3 software.please tell me it is possible create .asm directly same as you said in CCSv5.0.

    Please clarify when i compile and run the program ('C') code in TMS320C6747 using CCSv3.3 software.It is possible  to get the .asm file after running my program if yes means  where i get that file.

  • Vignesh,

    CCS 3.3 is old enough that many of us, including myself, do not have a copy of it installed. There is a lot of documentation available for CCS 3.3, and it will be available on your PC after installing CCS 3.3. From your question, you will be attempting to do very advanced work so you will need to learn a lot about the tool. This documentation and the online training will be needed for you to be successful.

    For online training, go to the TI Wiki Pages and search for "C6000 training" (no quotes) and go to the Category page. One of the older training sets has the name C6x1x in it. This will not directly match with the C6747, but it will help you learn to use CCS 3.3. I do recommend that you upgrade to CCSv5, if it is possible. Your skills will be more valuable on your next project if you learn the latest tools now.

    Since I do not have CCS 3.3 installed, I cannot tell you the exact locations of the command and the file. But even if I did have it installed, I would have to open CCS and look at the Build Options for the project. You can do this, and like you do with any new program you use, click on every option choice to see what you can select. Many option choices will have multiple tabs with many compiler or linker options. After you find one that mentions "keep assembly", you can set that option, then continue looking at all of the options to learn what you can do with the program. Look at every drop-down menu and every option you find. If there is one you do not understand, use the online Help->Contents and find the available documentation.

    With this -k option selected, build your project. Look in all the folders related to the project to find where the .asm file is saved.

    To help others with similar questions, please reply back here with what you have found and what successes you have experienced.

    Regards,
    RandyP

  • Dear Randyp,

    Thank you..

    I'll try and inform you...

    Regards,

    Vignesh

  • Dear RandyP,

    Finally i got the .asm file while compile and run my program.ASM file created in same folder.

    Projects

    Build options

    Assembly

    select Generate ASM file.

    File is attached below

    View:http://e2e.ti.com/cfs-file.ashx/__key/communityserver-discussions-components-files/115/0741.HmLPF.asm]

    Please can you clarify how the data are converted and which block in .asm file?

  • Vignesh,

    Thank you for the reply with the steps for generating the asm file. We should mark that post as an Answer, since it answers your original question.

    Vignesh Veera1 said:

    Please can you clarify how the data are converted and which block in .asm file?

    I do not know what you are asking about or what information you are asking for?

    Regards,
    RandyP