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.

PWM Interrupt Problem for 28027

Hi,all

  I debugger a code for PWM and ADC; In ADC program, if  the DSP28x_usDelay(Uint32 Count) is used , the main program can operate in PWM interrupt. But if I delay () which is defined by mfself, The interrup can work well.  Please help me . Thanks very much.

Nick

  • Hi Nick,

    I debugger a code for PWM and ADC; In ADC program, if the DSP28x_usDelay(Uint32 Count) is used , the main program can operate in PWM interrupt. But if I delay () which is defined by mfself, The interrup can work well. Please help me .

    In both the cases the interrupt seem to work well (as mentioned by you above) then where is the problem :)
    I guess, in 2nd case the interrupt is creating some issue ?

    Regards,
    Gautam
  • Hi, Gautam
    Thanks your help.
    sorry, I described my problem wrongly.
    I debugger a code for PWM and ADC; In ADC program, if the DSP28x_usDelay(Uint32 Count) is used , the main program can not operate in PWM interrupt. But if I delay () which is defined by myself, The interrupt can work well.
  • Can you paste your implementation with using "DSP28x_usDelay(Uint32 Count)" ? I would like to have a look. Also, do you receive any error with that implementation?

    Regards,
    Gautam