This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-F280049C: How to generate nanosecond delay using DEVICE_DELAY_US or SysCtl_delay()?

Part Number: LAUNCHXL-F280049C


Hello,

I'm a beginner of DSP and right now I'm trying to program a double-pulse test waveform. I tried to modify DEVICE_DELAY_US to create an interval of tens of nanoseconds, but it seems the minimum delay is merely 1us? Is there a easy way to generate two pulse with nanoscale interval between?

Thank you,

Tian

  • Hi Tian,

    I havent tried making a define for nano sec delay. But you can try making your own define for nano sec delay by modifying the usec delay define

    Change the 10^6 to 10^9 and see how it works.

    What pulse are you generating with this delay ?

    Have you tried using PWM module to do the same, delay seems like an inefficient way to do this.

    Thanks