Altera (Intel) MAX II EPM570 CPLD in the 256-ball FineLine BGA on a single 3.3 V supply: VCCINT and both I/O banks on +3V3, decoupling, JTAG pull-up and pull-down, and a net label on every one of the 160 I/O balls, ready for fan-out.
DraftProgrammable logic14 partsApache-2.0
Draft. Nobody has checked this against the datasheet yet. It follows MAX II Device Handbook, Section I: MAX II Device Family Data Sheet (Altera, August 2009), KiCad opens it without errors, and the nets match the specification. Check the values yourself before you build it.
The schematic as KiCad draws it. Open it at full size to zoom: it is a vector image.
Pins used on EPM570F256
Pin numbers follow the datasheet's pin table. Every other pin is marked no-connect (X), so you can see what is free; delete the marker to use a pin.
Pin
Name in KiCad
Net
A1
GNDIO
GND
A2
IO2_A2
IO_A2
A3
VCCIO2
+3V3
A4
IO2_A4
IO_A4
A5
IO2_A5
IO_A5
A6
IO2_A6
IO_A6
A7
IO2_A7
IO_A7
A8
IO2_A8
IO_A8
A9
IO2_A9
IO_A9
A10
IO2_A10
IO_A10
A11
IO2_A11
IO_A11
A12
IO2_A12
IO_A12
A13
IO2_A13
IO_A13
A14
VCCIO2
+3V3
A15
IO2_A15
IO_A15
A16
GNDIO
GND
B1
IO2_B1
IO_B1
B2
GNDIO
GND
B3
IO2_B3
IO_B3
B4
IO2_B4
IO_B4
B5
IO2_B5
IO_B5
B6
IO2_B6
IO_B6
B7
IO2_B7
IO_B7
B8
IO2_B8
IO_B8
B9
IO2_B9
IO_B9
B10
IO2_B10
IO_B10
B11
IO2_B11
IO_B11
B12
IO2_B12
IO_B12
B13
IO2_B13
IO_B13
B14
IO2_B14
IO_B14
B15
GNDIO
GND
B16
IO2_B16
IO_B16
C1
VCCIO1
+3V3
C2
IO1_C2
IO_C2
C3
IO1_C3
IO_C3
C4
IO2_C4
IO_C4
C5
IO2_C5
IO_C5
C6
IO2_C6
IO_C6
C7
IO2_C7
IO_C7
C8
IO2_C8
IO_C8
C9
IO2_C9
IO_C9
C10
IO2_C10
IO_C10
C11
IO2_C11
IO_C11
C12
IO2_C12
IO_C12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
GND
R3
IO1_R3
IO_R3
R4
IO1_R4
IO_R4
R5
IO1_R5
IO_R5
R6
IO1_R6
IO_R6
R7
IO1_R7
IO_R7
R8
IO1_R8
IO_R8
R9
IO1_R9
IO_R9
R10
IO1_R10
IO_R10
R11
IO1_R11
IO_R11
R12
IO1_R12
IO_R12
R13
IO1_R13
IO_R13
R14
IO1_R14
IO_R14
R15
GNDIO
GND
R16
IO1_R16
IO_R16
T1
GNDIO
GND
T2
IO1_T2
IO_T2
T3
VCCIO1
+3V3
T4
IO1_T4
IO_T4
T5
IO1_T5
IO_T5
T6
IO1_T6
IO_T6
T7
IO1_T7
IO_T7
T8
IO1_T8
IO_T8
T9
IO1_T9
IO_T9
T10
IO1_T10
IO_T10
T11
IO1_T11
IO_T11
T12
IO1_T12
IO_T12
T13
IO1_T13
IO_T13
T14
VCCIO1
+3V3
T15
IO1_T15
IO_T15
T16
GNDIO
GND
Checklist
Required
This block is for the EPM570 without a suffix: it takes 3.3 V or 2.5 V on VCCINT and regulates it down to its 1.8 V core internally, so VCCINT can share the 3.3 V rail with the I/O. The EPM570G and EPM570Z take only 1.8 V on VCCINT and need a separate 1.8 V supply. (Altera Corporation (now Intel / Altera), p. 6, Table 1-5 (printed p. 1-4); Figure 2-18, p. 30)
Keep VCCINT within 3.00 to 3.60 V for 3.3 V operation. The internal regulator is not guaranteed between the 2.5 V range (2.375-2.625 V) and the 3.3 V range. (Altera Corporation (now Intel / Altera), p. 60, Table 5-2 (printed p. 5-2); regulator note p. 30 (printed p. 2-22))
Both I/O banks run at 3.3 V here (VCCIO 3.00 to 3.60 V, 3.3 V LVTTL/LVCMOS). Each bank's VCCIO sets its own level; to use 2.5, 1.8 or 1.5 V I/O in a bank, give that bank's VCCIO balls their own supply instead of +3V3. (Altera Corporation (now Intel / Altera), p. 35, Table 2-4 and Figure 2-22 (printed p. 2-27): EPM570 has two banks; VCCIO limits in Table 5-2, p. 60)
Connect every VCCINT, VCCIO and ground ball. A floating one can cause current leakage, and every bank must be powered for in-system programming as well as for normal operation. (Altera Corporation (now Intel / Altera), p. 4, VCCINT and VCCIO Voltages; checklist item 2, p. 21)
Pull TMS high and TCK low through 10 kOhm resistors (R1, R2). Noise on the JTAG pins can put the device in an undefined state, and a stray rising edge on TCK while VCCIO is not up can move the JTAG state machine. Figure 1 of the same note draws 1 kOhm on TCK; 10 kOhm is the value its text and checklist give. (Altera Corporation (now Intel / Altera), p. 6, JTAG Pins Pull Up/Down; checklist item 10, p. 22; Figure 1, p. 7)
The JTAG pins are in bank 1, so their levels follow VCCIO1: 3.3 V in this block. Run the download cable at the same voltage. In a chain of devices with different VCCIO, the higher-voltage devices drive the lower ones. (Altera Corporation (now Intel / Altera), p. 7, JTAG Chain Containing Devices with Different VCCIO; handbook p. 36 (printed p. 2-28))
Every I/O ball has a label here, but none is driven by this block. Tie nothing straight to a rail: in Quartus II reserve unused pins as input tri-stated (they then source or sink at most 10 uA), and leave pins reported as RESERVED unconnected, since they drive out unspecified signals. Pull pins high or low only through resistors. (Altera Corporation (now Intel / Altera), p. 17, Pin Assignments, Figure 11; RESERVED pins p. 5; resistors p. 6)
Drive every input (and every bidirectional pin used as an input) to a defined level: a floating input has an undefined value and adds noise. (Altera Corporation (now Intel / Altera), p. 4, Input Pin Connection)
Recommended
Decoupling: 100 nF per pair of VCC balls (2 for VCCINT, 4 per VCCIO bank), placed on the back, as close to the balls as the fan-out vias allow, and a 10 uF bulk capacitor beside the package. This is common practice: neither cited document gives a decoupling rule. Check Altera's board design guidelines for the package if your design is noise-sensitive. (common practice)
The block has no programming connector: TCK, TMS, TDI and TDO are labelled for yours. Altera's application note shows no resistor on TDI or TDO (Figure 1); in a chain, TDO goes to the next device's TDI. Buffer the JTAG signals at the connector when the cable drives three or more devices. (Altera Corporation (now Intel / Altera), p. 7, Figure 1; buffering p. 8)
If the system allows, apply ground first, then VCCINT and VCCIO, then the inputs, and remove them in reverse order: this lowers the risk of latch-up during power-up. (Altera Corporation (now Intel / Altera), p. 11, Latch-Up Prevention)
Good to know
The supplies can come up in any order. The device enters user mode only after all VCCINT and VCCIO balls are powered, 200 to 450 us after VCCINT passes about 1.7 V; until then the I/O are tri-stated. (Altera Corporation (now Intel / Altera), p. 56, Power-Up Characteristics (printed p. 4-6); I/O tri-stated during power-up and any order, p. 52; AN 428 p. 4)
VCCINT draws about 12 mA in standby and 55 mA during power-up (typical); size the 3.3 V supply for that plus the I/O load. (Altera Corporation (now Intel / Altera), p. 61, Table 5-4 (printed p. 5-3))
GCLK0 to GCLK3 (balls H5, J5, J12, H12) feed the global clock network; DEV_OE (M8) tri-states all outputs and DEV_CLRn (M9) clears all registers when those options are enabled in Quartus II. Unused, they are ordinary I/O. Ball numbers are from KiCad's symbol. (Altera Corporation (now Intel / Altera), p. 13, Global Clock; DEV_OE p. 9; DEV_CLRn p. 10)
An I/O pin sinks at most 25 mA. Between two GNDIO pads the outputs may sink at most 130 mA together, and between two VCCIO pads source at most 170 mA. Do not power other devices from I/O pins. (Altera Corporation (now Intel / Altera), p. 6, Output Pin Source Current)
Inputs accept -0.5 to 4.0 V DC; a 5 V signal needs level shifting or the measures in Altera's multi-voltage chapter. (Altera Corporation (now Intel / Altera), p. 60, Table 5-2, VI (printed p. 5-2))
The 256-pin FineLine BGA is 17 x 17 mm with 1.0 mm ball pitch and gives the EPM570 160 user I/O. KiCad's symbol has pins for 204 of the 256 balls; the others get no net. (Altera Corporation (now Intel / Altera), p. 5, Tables 1-3 and 1-4 (printed p. 1-3))
The EPM570, EPM1270 and EPM2210 share this package for vertical migration, but the larger devices have more power balls. To keep that option, lay out the board for the largest density you might use and check the pin-outs of each. (Altera Corporation (now Intel / Altera), p. 5, Vertical migration (printed p. 1-3))
PCB layout
14 footprints, 381 tracks and 132 vias, drawn for KiCad and checked with its design rule check and schematic comparison. The block has no board outline: it takes the one of the board you place it on.
The layout as KiCad draws it: front copper red, back copper blue.
A 4-layer board: In1.Cu is a GND plane and In2.Cu a +3V3 plane under the part. Each ground and supply ball has a via into its plane; keep the planes whole under the BGA. (common practice)
The layout's net classes go into your board before you route on: BGA signals 0.15 mm tracks with 0.12 mm clearance and 0.6/0.3 mm vias; power the same clearance and via. Most board houses make 0.15 mm track and space and a 0.3 mm drill as standard. (common practice)
Fanned out when the block is built: the outer two rings leave on the top layer, every other ball takes a short 45° track to a via in the gap between four balls (never in a pad) and leaves on the bottom layer. Every escape ends two pitches (2 mm) outside the ball field: route on from there. (common practice)
Decoupling sits on the back round the ball field, each capacitor with its own vias into the planes: 0402 parts do not fit between the vias under the BGA. (common practice)
Altera Corporation (now Intel / Altera), p. 6, Table 1-5 (printed p. 1-4): VCCINT 3.3 V or 2.5 V for EPM570; 160 user I/O in the 256-pin FineLine BGA, Table 1-3 (PDF p. 5)
C1
100nF
Device:C
Capacitor_SMD:C_0402_1005Metric
common practice
C2
100nF
Device:C
Capacitor_SMD:C_0402_1005Metric
common practice
C3
100nF
Device:C
Capacitor_SMD:C_0402_1005Metric
common practice
C4
100nF
Device:C
Capacitor_SMD:C_0402_1005Metric
common practice
C5
100nF
Device:C
Capacitor_SMD:C_0402_1005Metric
common practice
C6
100nF
Device:C
Capacitor_SMD:C_0402_1005Metric
common practice
C7
100nF
Device:C
Capacitor_SMD:C_0402_1005Metric
common practice
C8
100nF
Device:C
Capacitor_SMD:C_0402_1005Metric
common practice
C9
100nF
Device:C
Capacitor_SMD:C_0402_1005Metric
common practice
C10
100nF
Device:C
Capacitor_SMD:C_0402_1005Metric
common practice
C11
10uF
Device:C
Capacitor_SMD:C_0805_2012Metric
common practice
R1
10k
Device:R
Resistor_SMD:R_0402_1005Metric
Altera Corporation (now Intel / Altera), p. 6, JTAG Pins Pull Up/Down; checklist item 10, p. 22
R2
10k
Device:R
Resistor_SMD:R_0402_1005Metric
Altera Corporation (now Intel / Altera), p. 6, JTAG Pins Pull Up/Down; checklist item 10, p. 22; Figure 1 (p. 7) draws 1 kOhm
How to use it
In KiCad 9 or later. Unzip the download. Open Preferences › Manage Design Block Libraries, add the unzipped crossprobe.kicad_blocks folder as a library, then place the block from the design block chooser. The symbols and footprints are KiCad's own.
In Crossprobe. Choose Open in Crossprobe above. It opens a new project with this block already in its schematic, using the reference designators from the table above. The project stays in your browser until you save it, and you pick where it goes. To add the block to a project you already have, open that project, turn on Edit and use Add block.
Source
MAX II Device Handbook, Section I: MAX II Device Family Data Sheet (Altera, August 2009), Altera Corporation (now Intel / Altera). Page numbers on this page refer to that version of the document. Copy hosted by Farnell; Altera's original link was http://www.altera.com/literature/hb/max2/max2_mii5v1.pdf. Chapters are dated October 2008 to August 2009. Page numbers are PDF pages (1 to 88); the printed chapter page (e.g. 5-2) is given with them. Values are quoted as facts; the circuit is drawn here, not copied.