Timer driven interrupt

Hi

I am trying to set up a Timer driven interrupt. I tried using the example out of the Sample Code which sets Timer B up - problem is I cannot seem to get any change of pulse rate if I change the compare value.

Any ideas for set up an interrupt every 100 us. I am using the 3365 board.

Many thanks

Nic

Hi Nick,

Remember that the timer simply cycles. So if you just set a compare it will trigger once at the compare cycle round (taking exactly the same time) then trigger again.

Make sure when you set this trigger and your interrupt occurs you reset the counter to a set value to count down from again. Varying this value should give you different intervals

Spitz