Altera MAX IIZ CPLD PWM Control White Paper

This white paper describes how to use Altera® MAX® IIZ CPLDs to control analog systems, including driving audio speakers, controlling LED brightness, motor speed, and servo motor position.


Altera MAX IIZ CPLD PWM Control White Paper - cover page
Brand
Altera
Category
Other Electronics
Document type
Application Note
Language
Chinese
Pages
5
File format
PDF
File size
419 KB
Published
12 January, 2012
Updated
30 September, 2023
MD5 checksum
C52CB53F06F79BEC0888352B673EC5D0

About this manual

The document introduces PWM as a method for converting digital signals to analog-like outputs using the Altera MAX IIZ CPLD. It describes the theory behind PWM, sampling frequency, and how the CPLD can replace a traditional DAC for driving LEDs, speakers, and motors with minimal external components.

Practical application sections cover LED brightness control, audio playback, and motor speed or position control, including design guidelines such as I/O current limits, the use of MOSFETs for higher‑power motors, and when low‑pass filtering is (or isn’t) required. The white paper also details the internal architecture (LPM_FF, LPM_COUNTER, LPM_ADD_SUB) used to implement PWM in Quartus® II. This manual is written in Chinese.

What's inside

  • Introduction
  • PWM Analog Output Applications
  • PWM Frequency and Resolution
  • Implementation Details
  • Conclusion

Specifications

I/O current setting8 mA
Maximum I/O drive capability16 mA per pin
Logic elements (LE) in smallest device240 LE

Frequently asked questions

Can the MAX IIZ CPLD drive LEDs directly without extra components?

Yes, the CPLD can drive LEDs using its 8 mA I/O current setting, and a current‑limiting resistor can be omitted for low‑power LEDs.

Is a low‑pass filter required for PWM‑based analog output?

A low‑pass filter is not required for LED or motor control, but it is needed when converting PWM to a stable DC voltage for a servo motor.

Download PDF (419 KB)

More Altera Manuals


View all Altera manuals →