The MAX® II CPLD architecture has two unique features not found in other CPLD architectures: an internal oscillator and 8 Kbits of non-volatile user flash memory (refer to Figure 1). You can benefit from these two unique features by:

  • Using them instead of external components to save PCB area and cost
  • Using the oscillator to automatically start and stop the device
  • Using the user flash memory to store system parameters and product information

Figure 1. User Flash Memory Block and Oscillator


The internal oscillator is a 4.4-MHz (typical output) clock source and resides inside the user flash memory block. Not only does the internal oscillator reduce component count, it can also be used to reduce system power. For example, many industrial and consumer applications, such as portable media players, do not require the CPLD to be powered on all the time. In these applications, it is preferred to have a design in which the CPLD remains off most of the time and only powers on when needed. Altera® MAX II CPLDs are well suited for such applications because:

  • The internal oscillator can be used to automatically turn the device on and off, with no system intervention.
  • When the CPLD is off, the only current consumption is the leakage current due to active inputs (IDK). This current draw is negligible (10 µA), compared to traditional macrocell-based CPLDs, which draw greater than a milliamp.
  • Robust power sequencing allows MAX II CPLDs to power on and off, without adversely affecting the system.

You can find technical information about the oscillator in the Using User Flash Memory in MAX II Devices (PDF) chapter of the MAX II Device Handbook and the altufm_osc megafunction available within the Quartus® II software.

Oscillator Applications

See the following for more information about oscillator applications:

User Flash Memory

The user flash memory is an 8-Kbit user-accessible and programmable block of non-volatile flash memory that stores user-defined data, such as a serial EEPROM. The user flash memory block is accessible by any logic element (LE) within the MAX II CPLD. The user flash memory block offers the following features:

  • Interface to the CPLDs logic array or JTAG circuit
  • Non-volatile storage, 16-bit wide and 8,192 total bits
  • Partitioned as two sectors for independent sector erase, reads, or writes
  • Built-in oscillator that optionally drives the CPLD logic array
  • Optional auto-increment addressing
  • Serial interface to logic array, programmable with a Quartus II automated GUI. Several industry standard protocol options are available:
    • I2C
    • SPI
    • Parallel
    • None (defaults to Altera Serial Interface)

Commonly used applications include using the user flash memory to store the following information: encryption keys, PCB serialization numbers, firmware revision numbers, or initialization code to boot ASICs, ASSPs, analog components, microprocessors, or microcontrollers.

You can find technical information about the user flash memory in the Using User Flash Memory in MAX II Devices (PDF) chapter of the MAX II Device Handbook. The user flash memory interfaces with the JTAG circuitry and with the core logic, giving you the flexibility to write to the device in a variety of ways. For example, if you wish to interface to a standard bus such as serial peripheral interface (SPI), I2C, parallel, etc., the Quartus II software automates the interface through a GUI-based megafunction.

User Flash Memory Applications

The MAX® II CPLD family is a non-volatile, instant-on programmable logic family using an industry-first CPLD architecture that allows you to reduce system power, space, and cost.

The foundation of lower system cost and power savings is an architecture combining all of the advantages of Altera's MAX II CPLDs, while leveraging Altera's expertise in FPGA products and look-up table (LUT)-based architectures. The LUT-based architecture delivers the maximum logic capability in the smallest I/O pad-constrained space.

MAX II CPLDs are used for a wide variety of applications previously implemented in older generation FPGAs, ASSPs, and standard-logic devices.

Table 1 outlines the MAX II device family members and features.

Table 1. MAX II CPLD Family Overview

Feature EPM240/G/Z EPM570/G/Z EPM1270/G EPM2210/G
Logic Elements (LEs)2405701,2702,210
Equivalent Macrocells1924409801,700
Maximum User I/O Pins80160212272
User Flash Memory (Kbits)8888

Buy Now (1)

Buy Now (1)

Buy NowBuy Now


  1. All MAX IIZ CPLDs are available to order and released for shipments, but lead-times might be six to ten weeks. Please contact your local Altera sales representative to help expedite your order.

Based on a cost- and quality-optimized 0.18-µm six-layer metal flash process, the MAX II CPLD family is targeted for general-purpose, low-density logic applications, such as mobile handsets and smart phones. MAX II CPLDs are ideal for interface bridging, I/O expansion, device configuration, and power-up sequencing. Pre-built and hardware-verified design examples are available to get you started on your next design. Table 2 shows an overview of MAX II CPLD packaging and I/O pin counts.

Table 2. MAX II CPLD Package and Maximum User I/O Pins (1)

Package Size EPM240Z EPM240/G EPM570Z EPM570/G EPM1270/G EPM2210/G
68-Pin Micro FineLine BGA
(5 mm x 5 mm)
(2), (3)
100-Pin Micro FineLine BGA
(6 mm x 6 mm) (2), (3)
100-Pin FineLine BGA
(11 mm x 11 mm) (2), (4)
100-Pin Thin-Quad Flat Pack (TQFP)
(16 mm x 16 mm)
144-Pin Micro FineLine BGA
(7 mm x 7 mm)
144-Pin TQFP
(22 mm x 22 mm)
256-Pin Micro FineLine BGA
(11 mm x 11 mm) (2)
256-Pin FineLine BGA
(17 mm x 17 mm)
324-Pin FineLine BGA
(19 mm x 19 mm)


  1. All packages support migration across densities.
  2. Packages only available in RoHS-compliant versions.
  3. BGA: ball-grid array with 0.5-mm pitch.
  4. BGA with 1.0-mm pitch.

Back to Top

Table 3 shows the available MAX II CPLD speed grades.

Table 3. MAX II Speed Grade Offering

Device Speed Grade
-3 -4 -5


-7 -8

EPM240, EPM240G

checkcheck check ---
EPM240Z---check check


EPM570, EPM570Gcheck check check ---
EPM570Z---check check check
EPM1270, EPM1270Gcheck check check ---
EPM2210, EPM2210Gcheck check check ---

Table 4 shows industrial temperature support for MAX II devices.

Table 4. MAX II Device Industrial Temperature Support

Device Package Speed Grade
100-pin FBGA
100-pin MBGA
100-pin TQFP

68-pin MBGA
100-pin MBGA


100-pin FBGA
100-pin MBGA
100-pin TQFP
144-pin TQFP
256-pin FBGA
256-pin MBGA

100-pin MBGA
144-pin MBGA
256-pin MBGA


144-pin TQFP
256-pin FBGA
256-pin MBGA
256-pin FBGA
324-pin FBGA


The low-cost MAX II CPLDs offer architectural and board management features (see Table 5) to optimize ease of use and system integration.


Table 5. MAX II CPLD Features at a Glance

Feature Description
Cost-Optimized ArchitectureAltera® MAX II CPLDs have a new CPLD architecture that breaks through traditional macrocell power, space, and cost limitations.
Low PowerMAX II CPLDs offer the lowest dynamic power in the CPLD industry with one-tenth the power of previous MAX CPLDs.
Features Unique to MAX II CPLDsMAX II CPLDs offer 8 Kbits of user-accessible flash memory to implement on-chip serial or parallel non-volatile storage.
Real-Time In-System Programmability (ISP) MAX II CPLDs allow you to update the configuration flash memory while the CPLD is in operation.
I/O CapabilitiesMAX II CPLDs support a variety of single-ended I/O interface standards such as LVTTL, LVCMOS, and PCI.
Packages Available TQFP, 1.0-mm pitch FBGA, and 0.5-mm pitch MBGA. (1), (2), (3)
Parallel Flash LoaderMAX II CPLDs feature a JTAG block that can configure external non-JTAG-compliant devices such as discrete flash memory devices using the Parallel Flash Loader megafunction.
Industrial Temperature SupportMAX II CPLDs support the industrial temperature range, -40°C to +100°C (junction), required for various industrial and other temperature-sensitive applications.
Extended Temperature SupportMAX II CPLDs are offered in the extended temperature range, -40°C to +125°C (junction), to support automotive and other temperature-sensitive applications.


  1. TQFP: Thin quad flat pack
  2. FBGA: FineLine BGA
  3. MBGA: Micro FineLine BGA