Hello,
I have to produce pulse 115us wide
with 1.7ms delay after positive edge of external pulse.
The external pulse has 10ms of period.
Can I do this with a peripheral of C2000 ?
thankyou
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.
Hello,
I have to produce pulse 115us wide
with 1.7ms delay after positive edge of external pulse.
The external pulse has 10ms of period.
Can I do this with a peripheral of C2000 ?
thankyou
Hi Mauro,
Mauro Fantina said:I have to produce pulse 115us wide
Is this a single pulse or a continuous stream of pulses (ie after one positive edge detection)?
Mauro Fantina said:Can I do this with a peripheral of C2000 ?
You can surely achieve this by using eCAP module to detect rising edge and then GPIO to produce a single pulse or ePWM for continuous stream of pulses. Apart from this you'll have to use the inbuilt microsec delay routine.
Regards,
Gautam
This is a continuous stream of pulse (the DSP has to produce pulse in response of every positive edge detection).
Mauro Fantina said:This is a continuous stream of pulse (the DSP has to produce pulse in response of every positive edge detection).
No problem, just check the eCAP module for the response time and minimum/maximum frequencies that it supports.
Regards,
Gautam
I didn't yet read eCAP, but I don't want to use DELAY periodically and waste CPU computation.
I hope eCAP make the delay in hardware.
Mauro Fantina said:I hope eCAP make the delay in hardware.
You should be, as It can count to a certain period and you can set the CTR conditions like CTR=CMP or CTR=PRD etc.
Do check the manual.
Regards,
Gautam