Scicos block and code generation: new drivers

A forum useful to discuss the details of the ScicosLab code generator.

Moderator: paolo.gai

Locked
riza
Newbie
Posts: 1
Joined: Wed May 20, 2009 4:40 pm

Scicos block and code generation: new drivers

Post by riza » Wed May 20, 2009 5:28 pm

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

Locked