hi everyone, I am using lpc2378 processor. I am using timer interrupt at highest priority and USB in HID interrupt. But it does not work properly.
Iqbal
> in timer interrupt I am just toggling Port 1 at 8 KHz
The times have a function to toggle output port on match. Using this function and reset on match, you get 50% duty waveform without any firmware intervention. Also, PWM module is available for waveform generation.
When you need precise timing, consider on the hardware functions, first.
Tsuneo