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

50nS delay generation on LPC2129

Hi, How do i generate a delay of 50nS using C.is there any NOP instruction in ARM7.i dont want to use timer or interrupt.please help

Regards,
Divya

Parents
  • nS is nano seconds,

    No, that is what you want it to be. But it isn't. The internationally standardized symbol for the SI unit 'second' is still a lower-case 's'.

    And you're thorougly misled about your choice of techniques. You say you "don't want" to use timers for this job, when timers are exactly what you should use for it. More to the point, you should be using some kind of hardware PWM generator fed off a timer. 20 MHz is way too high a frequency to be done by software-only methods, even on an ARM.

Reply
  • nS is nano seconds,

    No, that is what you want it to be. But it isn't. The internationally standardized symbol for the SI unit 'second' is still a lower-case 's'.

    And you're thorougly misled about your choice of techniques. You say you "don't want" to use timers for this job, when timers are exactly what you should use for it. More to the point, you should be using some kind of hardware PWM generator fed off a timer. 20 MHz is way too high a frequency to be done by software-only methods, even on an ARM.

Children