Input/Output
Overview
The Jay40 provides access to 39 of the FPGA's programmable I/O pins. These pins are exposed through the board's two 24-pin connectors and are labeled D0 through D38. Each programmable I/O can be configured as an input, output, or tri-state buffer. In addition, an internal pull-up resistor can be enabled for each pin. For more detail, please refer to the "iCE40 Family Data Sheet."
The board's connectors also provide the pins required to program the FPGA and flash chip. This is done through a standard SPI interface (CS, SCK, MOSI, and MISO) and two dedicated FPGA configuration pins, CRST and CDN.
For power, the board includes several 3V3 and GND pins, as well as a 5V pin. Depending on the setup, these power pins be used as either power inputs or power outputs.
Connector Pinout
The board's pinout is shown in __. Aside from the single 5V power pin, all of the board's I/O operate at a 3.3 V logic level.
| Pin | Pin Name | Description | Pin | Pin Name | Description |
|---|---|---|---|---|---|
| 1 | 3V3 | 3.3 V Power | 15 | 3V3 | 3.3 V Power |
| 2 | GND | Ground | 16 | GND | Ground |
| 3 | D0 | Programmable I/O | 17 | D8 | Programmable I/O |
| 4 | D1 | Programmable I/O | 18 | D9 | Programmable I/O |
| 5 | D2 | Programmable I/O | 19 | D10 | Programmable I/O |
| 6 | D3 | Programmable I/O | 20 | D11 | Programmable I/O |
| 7 | D4 | Programmable I/O | 21 | D12 | Programmable I/O |
| 8 | D5 | Programmable I/O | 22 | D13 | Programmable I/O |
| 9 | D6 | Programmable I/O | 23 | D14 | Programmable I/O |
| 10 | D7 | Programmable I/O | 24 | D15 | Programmable I/O |
| 11 | MOSI | SPI Master Out Slave In | 25 | CS | SPI Chip Select |
| 12 | MISO | SPI Master In Slave Out | 26 | SCK | SPI Serial Clock |
| 13 | GND | Ground | 27 | CDN | Configuration Done |
| 14 | 3V3 | 3.3 V Power | 28 | CRST | Configuration Reset |
| Pin | Pin Name | Description | Pin | Pin Name | Description |
|---|---|---|---|---|---|
| 1 | D16 | Programmable I/O | 15 | 5V | 5 V Power |
| 2 | D17 | Programmable I/O | 16 | D28 | Programmable I/O |
| 3 | D18 | Programmable I/O | 17 | D29 | Programmable I/O |
| 4 | D19 | Programmable I/O | 18 | D30 | Programmable I/O |
| 5 | D20 | Programmable I/O | 19 | D31 | Programmable I/O |
| 6 | D21 | Programmable I/O | 20 | D32 | Programmable I/O |
| 7 | D22 | Programmable I/O | 21 | D33 | Programmable I/O |
| 8 | D23 | Programmable I/O | 22 | D34 | Programmable I/O |
| 9 | D24 | Programmable I/O | 23 | D35 | Programmable I/O |
| 10 | D25 | Programmable I/O | 24 | D36 | Programmable I/O |
| 11 | D26 | Programmable I/O | 25 | D37 | Programmable I/O |
| 12 | D27 | Programmable I/O | 26 | D38 | Programmable I/O |
| 13 | GND | Ground | 27 | GND | Ground |
| 14 | 3V3 | 3.3 V Power | 28 | 3V3 | 3.3 V Power |
Pin Mapping
| Pin Name | Ball Number | Ball Function |
|---|---|---|
| D0 | G1 | IOL_24B |
| D1 | H1 | IOB_54 |
| D2 | H2 | IOL_26B |
| D3 | J3 | IOB_57 |
| D4 | J4 | IOB_70 |
| D5 | J9 | IOR_110 |
| D6 | G9 | IOR_112 |
| D7 | D9 | IOR_119 |
| D8 | F1 | IOL_22A |
| D9 | G4 | IOB_81_GBIN5 |
| D10 | J1 | IOB_55 |
| D11 | J2 | IOB_56 |
| D12 | H4 | IOB_82_GBIN4 |
| D13 | J8 | IOR_109 |
| D14 | H9 | IOR_111 |
| D15 | E8 | IOR_140_GBIN3 |
| D16 | E1 | IOL_10B |
| D17 | E2 | IOL_13A |
| D18 | D2 | IOL_7A |
| D19 | C2 | IOL_2A |
| D20 | A1 | IOT_224 |
| D21 | A2 | IOT_221 |
| D22 | A3 | IOT_217 |
| D23 | B5 | IOT_188 |
| D24 | B6 | IOT_183 |
| D25 | B7 | IOT_180 |
| D26 | B8 | IOT_170 |
| D27 | B9 | IOT_120 |
| D28 | D1 | IOL_10A |
| D29 | C1 | IOL_3B |
| D30 | B1 | IOL_3A |
| D31 | B2 | IOL_2B |
| D32 | B3 | IOT_218 |
| D33 | A4 | IOT_208 |
| D34 | A6 | IOT_185 |
| D35 | A7 | IOT_177 |
| D36 | A8 | IOT_174 |
| D37 | A9 | IOR_116 |
| D38 | C9 | IOR_148 |
| CS | F7 | IOB_108_SS |
| SCK | G7 | IOB_107_SCK |
| MOSI | H7, G6 | IOB_106_SDI, IOB_105_SDO |
| MISO | G6, H7 | IOB_105_SDO, IOR_106_SDI |
| CRST | H6 | CRESET_B |
| CDN | E6 | CDONE |