Global Sources
EE Times-Asia
Stay in touch with EE Times Asia
EE Times-Asia > Memory/Storage

Generate multiple PWM with DMA

Posted: 22 Dec 2011 ?? ?Print Version ?Bookmark and Share

Keywords:timer? direct memory access? controller?

Some applications require a small package with more PWM outputs than available in hardware in the device. This application note by Renesas Electronics shows how to use a timer and a direct memory access (DMA) controller to generate additional PWM outputs.

The Direct Memory Access controller, or DMA controller, is a peripheral that transfers data between the peripheral hardware supporting DMA, SFRs, and internal RAM without using the CPU. As a result, the normal internal operation of the CPU and data transfer can be executed in parallel allowing simultaneous transfer between the SFR and internal RAM, In addition, real-time control using communication, timer, and A/D can also be implemented.

In this application note eight separate PWM outputs are generated. However more could be added with minor modifications by using additional DMA channels. It is important to note that the PWM outputs have the same time base, so are not fully independent.

View the PDF document for more information.

Originally published by Renesas Electronics at as "Multiple PWM generation using DMA".

Article Comments - Generate multiple PWM with DMA
*? You can enter [0] more charecters.
*Verify code:


Visit Asia Webinars to learn about the latest in technology and get practical design tips.

Back to Top