Technical discussions about the TI C6000 DSPs (including the c62x, c64x and c67x DSPs).
|
Hi everyone I have some problem. I try to operation of hardware interrupt using external pins. Used DSP chip is TMS320C6203 and DSP BIOS II environment. But Hardware interrupt doesn=A1=AFt work well. My code is below xxx.cdb I set the DSP BIOS File =A1=B0xxx.cdb=A1=B1as the following. Hwi obj -> _func1(); Hwi obj -> _func2(); And I write main and ISR routine as the following. #include <std.h> #include <hwi.h> #include <log.h Void func1(); Void func2(); Extern LOG_obj trace > main() { LOG_printf(&trace, =A1=B0\n start=A1=B1); } void func1() { LOG_printf(&trace, =A1=B0\n func1=A1=B1); } void func1() { LOG_printf(&trace,=A1=B0\n func1=A1=B1); } I want to know that My code have some problem.!! ================================================== ¿ì¸® ÀÎÅͳÝ, Daum Æò»ý ¾²´Â ¹«·á E-mail ÁÖ¼Ò ÇѸÞÀÏ³Ý Áö±¸ÃÌ ÇÑ±Û °Ë»ö¼ºñ½º Daum FIREBALL http://www.daum.net |