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.

Interrupts Documentations for C66x



I am having hard time finding good reference that explain all the peices nesessary to use the Eclipse based CCS...I like to have one document that explain the functions used in the user's guide, etc...not just give the examples without knowing why the steps rae there...for example: reading through "Bios_User_guide", they give example on how to write HWI, SWI, etc but no explaination on what:  Swi_Params, Swi_Params_init...and so on...I guess the question I like to get an answer to is: if I want to start a new project, how do I know what to declare, what header files to include...etc...

P.S: I've been using CCS 2 for the past 10 years...

  • We have many resources to help you.

    1. To begin with though CCS has been updated to be eclipse based one, it is stil very similar with regards to configuring BIOS etc.
    The latest CCS version is here : 
    http://processors.wiki.ti.com/index.php/Download_CCS
    
    
    2. Related to SWI, you can refer the SYSBIOS user guide, section 3.4. 
    http://www.ti.com/lit/ug/spruex3j/spruex3j.pdf
    
    
    3. If you mention which is your target device, we can point you to some example projects to refer and try out.


    Hope this helps. Await your response about which target device you plan to use.

  • Thanks Varada for your reply...I am using the C6678 on the EVM6678L evaluation board...I've been through many documents and examples but alot still missing...maybe the best was the 4 day workshop posted on wiki...

    I tried to use whatever I've learned to perform the following project but no luck...do you mind give it a try...

     

    http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/160712.aspx

     

    Regards,

     

    Murad

  • Murad,

    Have you tried to ensure that GPIO registers are configured correct in order to enable interrupt generation, as suggested by Steven in the other post.
    In the meanwhile, I will try to find an exmaple that uses HWI on C6678 that you can use as reference for the interrupt setup.

    Regards,
    Varada
  • Thanks Varada, Any code examples related to the C6678 and the EVM would be great...while reading some docs, it says not to use CSL when using the MCSDK but when I read on e2e examples, it seems that we still need to call functions from the CSL!!!