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

compiler function: wait 3ms

I have to wait 3ms to be able to initialize my lcd controller from epson. How could I calculate this time with the Realview Compiler? Is there a specific function where I could say the controller should wait for 3ms to do the next instruction?

I'm working with the LCP2214 controller.

Gerd

Parents
  • thanks for your answer.

    Configure and use a hardware timer

    I only need this time at the beginning to initialize my lcd controller. So the interrupt only has to occur once during the whole programm.

    Is it really the best solution to use a timer + ISR to do that? Or how is it possible to say that the ISR should only be called once during the programm?

    Gerd

Reply
  • thanks for your answer.

    Configure and use a hardware timer

    I only need this time at the beginning to initialize my lcd controller. So the interrupt only has to occur once during the whole programm.

    Is it really the best solution to use a timer + ISR to do that? Or how is it possible to say that the ISR should only be called once during the programm?

    Gerd

Children