Sign in
Explore Guest Blogging Opportunities at Voude Blog: Your Online Diary Platform
Explore Guest Blogging Opportunities at Voude Blog: Your Online Diary Platform
Your Position: Home - Measurement & Analysis Instruments - How can I generate a single pulse using ePWM ... - TI E2E
Guest Posts

How can I generate a single pulse using ePWM ... - TI E2E

How can I generate a single pulse using ePWM ... - TI E2E

Hello,

Want more information on pulse/pattern generators for sale? Feel free to contact us.

We could make the PWM do this, but since the PWM is really designed for repetition it's not very straightforward. I think the best solution for you is to use an extra serial communications peripheral such as the SCI. You'll have pulse width control by configuring the data and baud rate.

For example, sending 0xF would create a shorter pulse than 0xFF. Then you can fine tune the width via the baud rate.

EDIT: My apologies, I missed the bit about modulation afterwards. There's a few ways to do this with the ePWM. One of the ways I would look at is to setup a PWM with SYNC in enabled (disable external sync paths). Set the TBPRD to something small like 2 and TBCTR = 0 and TBCTR = PRD set the output low via the AQ. Now set the TBPHS to 0xFFFF- # number of cycles in your pulse. Set CMPA=TBPHS and have CMPA set the PWM output high. You can then force a SYNC event via software, the TBCTR will jump to the CMPA value which is greater than TBPRD. It will then overflow and go back to the few counts between 0 and TBPRD where it is constantly being set low. When you are ready to use the PWM as normal you can then reconfigure it.

Regards,

If you want to learn more, please visit our website What Is Universal Counter.

Additional reading:
The Sutherland Rub Test: ASTM D5264

Kris

Generating Single Pulses, Finite Pulse Trains, and ...

Perspectives showcases how NI sees what's next in the world of test and technology.

Charting the Course for Test Development with LabVIEW

LabVIEW remains key in test, promising speed, efficiency, and new features with NI's investment in core tech, community, and integration.

Are you interested in learning more about Rbw And Vbw In Spectrum Analyzer? Contact us today to secure an expert consultation!

Read our featured article

Comments

0 of 2000 characters used

All Comments (0)
Get in Touch

  |   Transportation   |   Toys & Hobbies   |   Tools   |   Timepieces, Jewelry, Eyewear   |   Textiles & Leather Products   |   Telecommunications   |   Sports & Entertainment   |   Shoes & Accessories   |   Service Equipment