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
Are you sure that you won't ever require any time-based functions anywhere during the entire operation of the rest of your system?
That would be quite unusual!
not unheard-of, but unusual.
but there's no specific wait function in Keil uvision for ARM controllers? (like in GCC or WinARM)
Joe
Only the developer - you - really know what hardware you can spare for implementing a timing feature.
Only the developer - you - know what timing resolution that is meaningful for the project.
Only the developer - you - know if timing hardware should be used with an ISR or if it should be polled.
Only the developer - your - know at what delay length it is meaningful to switch between busy-looping and switching over doing something else.
Several good reasons why Keil shouldn't try to guess what is a correct implementation of a delay function.
What kind of wait function does GCC or WinARM provide?
-- Joost