Page 1 of 1

Scicos block and code generation: new drivers

Posted: Wed May 20, 2009 5:28 pm
by riza
I developed drivers for input capture and output compare for the flex board. Now, I am trying to develop scicos blocks for these devices.

These devices needs their own timer. It is possible that these devices use different timers (either timer 2 or timer 3).

The first problem for me is to define these timers in scicos. Should I develop scicos blocks for the timers so that I can define their period and ISRs. Is there any other options to do this?

The second problem is the fact that the code generation use timer 2 by default and the period of this timer can\'t be changed from scicos. This problem limits our option to only timer 3 if we want different period.

Looking forward to your view on this subject