I have a 6713 evaluation board. But it doesn't have any HWI example. I tried to add the HWI to the BIOS. Is there a tutorial? Thx
I'm using Code composer 3.3.
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.
I have a 6713 evaluation board. But it doesn't have any HWI example. I tried to add the HWI to the BIOS. Is there a tutorial? Thx
I'm using Code composer 3.3.
I did follow the document page3-8, but the HWI is not responding. I did try pin4 and pin 6 to be sure it was not hardware problem. Btw, what is the keyword? "Add interrupt keyword in front of function declaration" Thanks
http://my.fit.edu/~vkepuska/ece3552/TI%20DSP-BIOS/BIOS/PDF/BIOS%2003%20-%20HWI.pdf
Hi Andy Kong,
Thanks for your post.
When you are using the interrupt keyword instead of the BIOS Dispatcher, it means a SWI will preemps the HWI and while using the interrupt keyword the BIOS scheduler has no idea that your code was inside an ISR. So, it is advisable not to use interrupt keywords unless SWI not preempting the HWI in your case.
Basically, CLK functions and ISRs that use the interrupt dispatcher should not use the interrupt keyword. So, please confirm that you are not using the 'interrupt' keyword for your ISRs? For more details to understand the cause of "Improper use of the interrupt keyword", please refer the DSP Bios debugging tips as below:
Please also check for any possibility of other causes mentioned in the above wiki as per your usecase.
Also, please confirm that you have the correct function names configured in both HWI_INTx items in the DSP/BIOS Graphical User Interface (GUI).
Are you using a BIOS dispatcher or interrupt keyword in your ISR? please confirm?
Which version of DSP/BIOS are you using?
In my opinion, You definitely want to use the HWI_dispatcher for your interrupts since DSP/BIOS and HWI_dispatcher do very good jobs at calling the correct ISRs
Also, please sort out any issues based on the dependancies on emulator or CCS versions using to gether since TMS320C6713 DSK specific Code Composer Studio from Texas Instruments need to be used mandatorily which is included as part of DSP Starter Kit. Kindly check the below for more details:
http://c6000.spectrumdigital.com/dsk6713/V1/docs/dsk6713_Faq.html#1.3
Please try this too, I hope it helps, if you use DSP BIOS.
http://www.dsprelated.com/groups/c6x/show/12146.php
Thanks & regards,
Sivaraj K