Altera MAX Series as Voltage Level Shifters
Application Note AN-490
Related Information
This design example shows how to use Altera® MAX® II, MAX V, and MAX 10 to implement voltage level shifters between different devices in a mixed-voltage design environment.
The supported Altera devices are an excellent choice to implement voltage level shifters. Their low power make them ideal for voltage level translator applications. Specifically, this applies to multi-level voltage systems where it is critical to maintain a specific power-on sequence of the multiple voltages involved.
- Design Example for MAX II: Provides the MAX II design files for this application note (AN 490).
- Design Example for MAX 10: Provides the MAX 10 design file for this application note (AN 490).
- Power Management in Portable Systems Using MAX II CPLDs
- MAX II CPLD Design Guidelines
Multi-Voltage Systems
Devices on one circuit board can potentially use many different supply voltages, such as 5V, 3.3V, 2.5V, 1.8V, 1.5V, and 1.2V. Therefore, the buses connected to a system can have different voltage standards that can lead to voltage-level conflicts. MAX II devices are designed to interface directly with 1.5-V, 1.8-V, 2.5-V, and 3.3-V signals and can be used to eliminate these conflicts. MAX V and MAX 10 support direct interface with 1.2-V, 1.5-V, 1.8-V, 2.5-V, and 3.3-V signals.
The supported devices can interface with other devices using different voltage levels because the core power supply voltage (VCCINT or VCC_ONE for MAX 10) is separate from the device output voltage (VCCIO). A few applications for voltage level shifting are:
- Interfacing microprocessors with peripheral devices, timers, and transceivers that are operating at different I/O standards and levels
- Driving more than one set of GPIO pins having different I/O standards
Using MAX II Devices as Level Shifters
The detailed description of the implementation is based on the MAX II devices. This application can also be implemented in MAX V and MAX 10 devices.
MAX II devices are designed to tolerate all types of power-on sequences, making them ideal for multiple voltage systems where it is critical to maintain a particular power-on sequence.
You can configure each I/O bank to operate at a particular voltage using its VCCIO pin. A single device can support 1.2-V, 1.5-V, 1.8-V, 2.5-V, and 3.3-V interfaces, and each individual bank can support a different standard. In addition, each I/O bank can support multiple standards with the same VCCIO for input and output pins. The number of I/O banks for a particular device depends on its part number.
Figure 1: Implementing a Multi-Voltage System by Voltage Level Shifting
Diagram illustrating a multi-voltage system by voltage level shifting. It shows a power supply (1.8V/2.5V/3.3V) connected to VCCINT of a MAX II Device. The device has VCCIO pins connected to a Control Bus Input operating at 1.8-V TTL Standards, a 2.5-V Device, and an Output Bus operating at 3.3-V LVCMOS Standards.
The I/O buffer of the MAX II devices is programmable and supports a wide range of I/O voltage standards. Each I/O bank can be programmed to comply with a different I/O standard, such as the following:
- 3.3-V LVTTL/LVCMOS
- 2.5-V LVTTL/LVCMOS
- 1.8-V LVTTL/LVCMOS
- 1.5-V LVCMOS
In addition to these standards supported by all MAX II devices (on the EPM1270 and EPM2210 devices), I/O Bank 3 also includes a 3.3-V PCI I/O standard interface capability. MAX II devices with MultiVolt core I/O operation capability allow the core and I/O blocks of the device to be powered up with separate supply voltages. The VCCINT pins supply power to the device core, and the VCCIO pins supply power to the device I/O buffers. Therefore, the MAX II devices can receive inputs from, or drive outputs to, devices with different voltage levels by shifting from one value on one I/O bank to a different value on another I/O bank.
This design can be implemented with an EPM240 device or any other MAX II devices, all of which have more than one I/O bank. Eight inputs are powered at 2.5V and eight outputs are powered at 1.8V to achieve 2.8V to 1.8V level translation. This design example is implemented in three basic steps: determining the physical pins (pin assignments), setting pin attributes in the Quartus® II software and relevant buffers assignment, and signal paths between input pins and output pins (this is accomplished by the source code).
Voltage Level Shifter Design Demonstration on the MDN-B2 Demo Board
To demonstrate the design example on the MDN-B2 demo board, follow these steps:
- Set voltage jumpers on the MDN-B2 demo board corresponding to the voltage-level translation voltages; that is, VCCIO1 voltage is set to 2.5V with jumpers on JP9 and VCCIO2 voltage set to 1.8V using a jumper on JP7 of the demo board.
- Switch on power to the MDN-B2 demo board (using slide switch SW1).
- Download the design onto the MAX II through the JTAG header JP5 on the MDN-B2 demo board and a conventional programming cable such as ByteBlaster™ II or USB-Blaster™. Keep SW4 on the demo board pressed as you begin the programming process. Turn off power after programming.
- Switch on SW1 (power) and set any 8-bit data on the input bus by using the DIP switch SW3 on the demo board. These switches switch to logic 0 in their ON position and vice versa.
- Observe and measure shifted voltage levels from VCCIO1 levels (2.5-V logic high level) on the input bus to VCCIO2 (1.8-V logic high level) and on the output bus on JP8. Map the DIP switch positions 1, 2, 3, 4, 5, 6, 7, and 8 to the output pins 20, 18, 16, 14, 12, 10, 8, and 6 on the output header JP8, respectively.
Figure 2: Voltage Level Shifter Demonstration Circuit for MAX II Devices with Two I/O Banks
Circuit diagram for a voltage level shifter demonstration using MAX II devices with two I/O banks. The MAX II Device core operates at 1.8V, powered by VCCNT at 1.8V. I/O Bank 1 operates at 1.5V and receives an Input Bus operating at 2.5-V I/O Standard. I/O Bank 2 operates at 1.8V and provides an Output Bus at 1.8-V I/O Standard. VCCIO for I/O Bank 2 is shown.
Table 1: EPM240G Pin Assignment
Assign unused pins as input tri-stated in the Device and Pin Options dialog box in the Quartus II software prior to compilation.
Signal | Pin | Signal | Pin |
input_bus[7] | Pin 38 | input_bus[6] | Pin 37 |
input_bus[5] | Pin 36 | input_bus[4] | Pin 35 |
input_bus[3] | Pin 34 | input_bus[2] | Pin 33 |
input_bus[1] | Pin 30 | input_bus[0] | Pin 29 |
output_bus[7] | Pin 100 | output_bus[6] | Pin 99 |
output_bus[5] | Pin 98 | output_bus[4] | Pin 97 |
output_bus[3] | Pin 96 | output_bus[2] | Pin 95 |
output_bus[1] | Pin 92 | output_bus[0] | Pin 91 |
Assign the I/O pins in the Pin Planner as the following:
- Input pins bank 1 are assigned a 2.5-V I/O standard.
- Output pins on bank 2 are assigned a 1.8-V I/O standard.
Acknowledgments
Design example adapted for Altera MAX 10 FPGAs by:
Orchid Technologies Engineering and Consulting, Inc.
Maynard, Massachusetts 01754
TEL: 978-461-2000
WEB: www.orchid-tech.com
EMAIL: info@orchid-tech.com
Document Revision History
Date | Version | Changes |
September 2014 | 2014.09.22 |
|
December 2007 | 1.0 | Initial release. |