forked from ev3dev/ev3dev
-
Notifications
You must be signed in to change notification settings - Fork 0
EV3 Processor
David Lechner edited this page Jan 17, 2014
·
13 revisions
- Texas Instruments AM1808 ARM Microporcessor
- 32-bit
- ARM9
- 3 - [16550-Type UART Modules](EV3 UART)
- 2 - [Serial Peripheral Interfaces (SPI)](EV3 SPI)
- 2 - [Multimedia Card (MMC)/Secure Digital (SD) Card Interfaces](EV3 SD Card Reader) (using one)
- 2 - [Master/Slave I2C Interfaces](EV3 I2C) (using one)
- [Programmable Real-Time Unit Subsystem (PRUSS)](EV3 PRU)
- [USB 1.1 Host Port (OHCI)](EV3 USB Host Port)
- [USB 2.0 On-The-Go Port (OTG)](EV3 PC USB Port)
- [Real-Time Clock (RTC)](EV3 RTC)
- 1 - [64-bit General-Purpose or Watchdog Timer](EV3 FIQ I2C)
- 2 - [Enhanced High-Resolution Pulse Width Modulators (eHRPWM)](EV3 PWM)
- 3 - [32-bit Enhanced Capture Modules (ePCAP)](EV3 PWM)
- LCD Controller (EV3 uses an [external controller](EV3 LCD Display))
- 1 - Host Port Interface (HPI)
- 1 - Multichannel Audio Serial Port (EV3 uses [PWM for sound](EV3 PWM))
- 2 - Multichannel Buffered Serial Ports
- 10/100 Mbps Ethernet MAC (EMAC)
- Video Port Interface (VPIF)
- Universal Parallel Port (uPP)
- Serial ATA (SATA) Controller
- Enhanced Direct Memory Access Controller 3 (EDMA3)
- 3 - 64-bit General-Purpose Timers
There are 400 pins on the chip. The pins are multiplexed so that each pin can perform multiple functions. This is what the EV3 uses each pin for. See section 10.4.9 in the technical reference manual to see where this came from.
Most of the "?" pins are probably not connected to anything. We will find out for sure if/when LEGO releases schematics.
MUX | Function | Usage | MUX | Function | Usage | ||
---|---|---|---|---|---|---|---|
0 | 28 | UART2 CTS | Bluetooth | 1 | 28 | ECAP1 APWM1 | Output Port D Motor Driver |
24 | UART2 RTS | Bluetooth | 24 | GPIO 0-1 | Input Port 4 Pin 5 I/O | ||
20 | ? | 20 | GPIO 0-2 | Input Port 1 Pin 5 I/O | |||
16 | ? | 16 | GPIO 0-3 | Output Port B Pin 1 In | |||
12 | GPIO 0-12 | Input Port 3 Pin 5 I/O | 12 | GPIO 0-4 | Output Port A Pin 6 In | ||
8 | GPIO 0-13 | Input Port 2 Pin 6 I/O | 8 | ? | |||
4 | GPIO 0-14 | Input Port 2 Pin 5 I/O | 4 | GPIO 0-6 | A/D Converter Battery Enable (switches battery voltage to ADC channel 4) | ||
0 | GPIO 0-15 | Input Port 1 Pin 6 I/O | 0 | ECAP2 APWM2 | Bluetooth Clock | ||
2 | 28 | ECAP0 APWM0 | Output Port C Motor Driver | 3 | 28 | ? | |
24 | ? | 24 | SPI0 CS | SPI chip select to analog/digital converter | |||
20 | ? | 20 | UART0 TXD/GPIO 8-3 | Input Port 2 Pin 5 UART/I2C Clock | |||
16 | AXR3/GPIO 1-11 | Input Port 4 Pin 5 UART/I2C Clock | 16 | UART0 RXD | Input Port 2 UART | ||
12 | AXR4/GPIO 1-12 | Input Port 3 Pin 5 UART/I2C Clock | 12 | SPI0 SIMO | SPI data from analog/digital converter | ||
8 | GPIO 1-13 | Button 1 (Enter) | 8 | SPI0 SOMI | SPI data to analog/digital converter | ||
4 | GPIO 1-14 | Input Port 3 Pin 6 I/O | 4 | EPWM0B | PWM to speaker amplifier | ||
0 | GPIO 1-15 | Input Port 4 Pin 6 I/O | 0 | SPI0 CLK | SPI Clock to analog/digital converter | ||
4 | 28 | UART1 TXD/GPIO 1-0 | Input Port 1 Pin 5 UART/I2C clock | 5 | 28 | GPIO 2-8 | Output Port D Pin 6 In |
24 | UART1 RXD | Input Port 1 UART | 24 | GPIO 2-9 | Output Port B Pin 6 In | ||
20 | UART2 TXD | Bluetooth | 20 | SPI1 SIMO | LCD SPI data | ||
16 | UART2 RXD | Bluetooth | 16 | GPIO 2-11 | LCD A0 display data/command selector | ||
12 | I2C0 SDA | EEPROM I2C data | 12 | GPIO 2-12 | LCD chip select (active low) | ||
8 | I2C0 SCL | EEPROM I2C clock | 8 | ? | |||
4 | ? | 4 | EPWM1B | Output Port A Motor Driver | |||
0 | ? | 0 | EPWM1A | Output Port A Motor Driver | |||
6 | 28 | ? | 7 | 28 | GPIO 3-8 | Output Port C Pin 5 In | |
24 | GPIO 2-1 | Output Port B Pin 2 In | 24 | ? | |||
20 | GPIO 2-2 | Input Port 1 Pin 2 In | 20 | ? | |||
16 | ? | 16 | ? | ||||
12 | ? | 12 | ? | ||||
8 | GPIO 2-5 | Output Port B Pin 5 In | 8 | ? | |||
4 | ? | 4 | GPIO 3-14 | Output Port C Pin 6 In | |||
0 | GPIO 2-7 | FIQ notification for input port I2C (*was TP4) | 0 | GPIO 3-15 | Output Port A Pin 1 In | ||
8 | 28 | ? | 9 | 28 | ? | ||
24 | ? | 24 | GPIO 4-9 | Bluetooth enable (active low) | |||
20 | ? | 20 | ? | ||||
16 | GPIO 3-3 | Bluetooth PIC enable | 16 | ? | |||
12 | ? | 12 | ? | ||||
8 | ? | 8 | ? | ||||
4 | GPIO 3-6 | Output Port A Pin 2 In | 4 | GPIO 4-14 | Bluetooth PIC reset | ||
0 | ? | 0 | ? | ||||
10 | 28 | ? | 11 | 28 | GPIO 5-8 | Output Port B Pin 5 In | |
24 | ? | 24 | GPIO 5-9 | Output Port C Pin 2 In | |||
20 | MMCSD0 DAT3 | SD Card Reader | 20 | GPIO 5-10 | Output Port D Pin 1 In | ||
16 | MMCSD0 DAT2 | SD Card Reader | 16 | GPIO 5-11 | Output Port A Pin 5 In | ||
12 | MMCSD0 DAT1 | SD Card Reader | 12 | ? | |||
8 | MMCSD0 DAT0 | SD Card Reader | 8 | GPIO 5-13 | Output Port C Pin 5 In | ||
4 | MMCSD0 CMD | SD Card Reader | 4 | ? | |||
0 | MMCSD0 CLK | SD Card Reader | 0 | GPIO 5-15 | Output Port D Pin 5 In | ||
12 | 28 | GPIO 5-0 | LCD reset (active low) | 13 | 28 | GPIO 6-8 | Output Port C Pin 1 In |
24 | ? | 24 | GPIO 6-9 | Output Port D Pin 5 In | |||
20 | ? | 20 | GPIO 6-10 | Button 5 (Back) | |||
16 | GPIO 5-3 | Output Port D Pin 2 In | 16 | GPIO 6-11 | System 5V Power (turns off EV3) | ||
12 | GPIO 5-4 | Output Port A Pin 1 In | 12 | GPIO 6-12 | LED 0 (right, red) | ||
8 | ? | 8 | GPIO 6-13 | LED 2 (left, green) | |||
4 | ? | 4 | GPIO 6-14 | LED 1 (left, red) | |||
0 | GPIO 5-7 | Bluetooth CTS | 0 | GPIO 6-15 | Speaker amplifier (sound) enable | ||
14 | 28 | ? | 15 | 28 | ? | ||
24 | ? | 24 | ? | ||||
20 | ? | 20 | ? | ||||
16 | ? | 16 | ? | ||||
12 | ? | 12 | ? | ||||
8 | ? | 8 | ? | ||||
4 | GPIO 6-6 | Button 4 (left) | 4 | ? | |||
0 | GPIO 6-7 | LED 3 (right, red) | 0 | ? | |||
16 | 28 | GPIO 7-10 | Input Port 4 buffer enable (active low) | 17 | 28 | ? | |
24 | GPIO 7-11 | Input Port 3 Pin 2 In | 24 | ? | |||
20 | GPIO 7-12 | Button 3 (right) | 20 | ? | |||
16 | ? | 16 | ? | ||||
12 | GPIO 7-14 | Button 2 (down) | 12 | ? | |||
8 | GPIO 7-15 | Button 0 (up) | 8 | ? | |||
4 | GPIO 6-5 | System power enable (turns off EV3) | 4 | GPIO 7-8 | Input Port 4 Pin 2 In | ||
0 | ? | 0 | GPIO 7-9 | Input Port 3 buffer enable (active low) | |||
18 | 28 | GPIO 8-10 | Input Port 1 Pin 1 Out | 19 | 28 | ? | |
24 | GPIO 8-11 | Input Port 1 buffer enable (active low) | 24 | ? | |||
20 | GPIO 8-12 | Input Port 2 Pin 1 Out | 20 | ? | |||
16 | ? | 16 | ? | ||||
12 | GPIO 8-14 | Input Port 2 buffer enable (active low) | 12 | GPIO 6-3 | USB1 overcurrent | ||
8 | GPIO 8-15 | Input Port 2 Pin 2 In | 8 | GPIO 6-4 | Input Port 4 Pin 1 Out | ||
4 | ? | 4 | GPIO 8-8 | Rechargable battery indicator | |||
0 | ? | 0 | GPIO 8-9 | Input Port 3 Pin 1 Out |