This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

USB and Timer interrupts

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

Parents
  • > 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

Reply
  • > 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

Children
No data