Spark Logic

AT91SAM7X pinout

ARM7TDMI microcontroller family with 128, 256 or 512 KiB flash, USB full-speed device, Ethernet MAC and CAN.

LQFP-100

100 contacts Current package
TFBGA-100 100 contacts

Microchip Technology · LQFP-100 · Quad flat package · Refer to the mechanical drawing for footprint dimensions.

256 KiB flash · 64 KiB SRAM

LQFP-100 pinout

LQFP-100
Top view · Pin 1 at the upper left · Schematic outline Scroll the map to reach all contacts.
Selected pin details

39 · PB12

Bidirectional · GPIO

Programmable input/output line. Peripheral A · ETXER Peripheral B · TCLK0

After reset · PIO input with pull-up at reset. System functions and analog mode can override the digital I/O behavior.

6120K · Package pinout and signal descriptions

Electrical limits · Link to this pin

All 100 pins

PinSignalDirectionFunction
1ADVREF Analog referenceAnalog reference Reference voltage input for the analog converter. Follow the reference limits and connection for the selected use.
2GND ReturnReturn Connect to the ground plane with local return paths for the associated supply capacitors.
3AD4 Analog inputAnalog input Dedicated analog-to-digital converter input. Keep its voltage between ground and ADVREF.
4AD5 Analog inputAnalog input Dedicated analog-to-digital converter input. Keep its voltage between ground and ADVREF.
5AD6 Analog inputAnalog input Dedicated analog-to-digital converter input. Keep its voltage between ground and ADVREF.
6AD7 Analog inputAnalog input Dedicated analog-to-digital converter input. Keep its voltage between ground and ADVREF.
7VDDOUT Regulator outputRegulator output Output of the on-chip 1.8 V regulator. Use the specified output capacitor for regulator stability.
8VDDIN SupplySupply Input to the on-chip regulator. On SAM7X it also supplies the ADC.
9PB27 BidirectionalBidirectional Programmable input/output line. Peripheral A · TIOA2 Peripheral B · PWM0 Extra function · AD0 Package alternate · AD0
10PB28 BidirectionalBidirectional Programmable input/output line. Peripheral A · TIOB2 Peripheral B · PWM1 Extra function · AD1 Package alternate · AD1
11PB29 BidirectionalBidirectional Programmable input/output line. Peripheral A · PCK1 Peripheral B · PWM2 Extra function · AD2 Package alternate · AD2
12PB30 BidirectionalBidirectional Programmable input/output line. Peripheral A · PCK2 Peripheral B · PWM3 Extra function · AD3 Package alternate · AD3
13PA8 BidirectionalBidirectional Programmable input/output line. Peripheral A · RTS1 Peripheral B · SPI0_NPCS2 Package alternate · PGMM0
14PA9 BidirectionalBidirectional Programmable input/output line. Peripheral A · CTS1 Peripheral B · SPI0_NPCS3 Package alternate · PGMM1
15VDDCORE SupplySupply 1.8 V supply for the core and embedded logic. Connect all core supply contacts.
16GND ReturnReturn Connect to the ground plane with local return paths for the associated supply capacitors.
17VDDIO SupplySupply Digital I/O supply. Connect each VDDIO contact and place a local ceramic bypass capacitor nearby.
18PA10 BidirectionalBidirectional Programmable input/output line. Peripheral A · TWD Package alternate · PGMM2
19PA11 BidirectionalBidirectional Programmable input/output line. Peripheral A · TWCK Package alternate · PGMM3
20PA12 BidirectionalBidirectional Programmable input/output line. Peripheral A · SPI_NPCS0 Package alternate · PGMD0
21PA13 BidirectionalBidirectional Programmable input/output line. Peripheral A · SPI0_NPCS1 Peripheral B · PCK1 Package alternate · PGMD1
22PA14 BidirectionalBidirectional Programmable input/output line. Peripheral A · SPI0_NPCS2 Peripheral B · IRQ1 Package alternate · PGMD2
23PA15 BidirectionalBidirectional Programmable input/output line. Peripheral A · SPI0_NPCS3 Peripheral B · TCLK2 Package alternate · PGMD3
24PA16 BidirectionalBidirectional Programmable input/output line. Peripheral A · SPI0_MISO Package alternate · PGMD4
25PA17 BidirectionalBidirectional Programmable input/output line. Peripheral A · SPI0_MOSI Package alternate · PGMD5
26PA18 BidirectionalBidirectional Programmable input/output line. Peripheral A · SPI0_SPCK Package alternate · PGMD6
27PB9 BidirectionalBidirectional Programmable input/output line. Peripheral A · EMDIO
28PB8 BidirectionalBidirectional Programmable input/output line. Peripheral A · EMDC
29PB14 BidirectionalBidirectional Programmable input/output line. Peripheral A · ERX3 Peripheral B · SPI0_NPCS2
30PB13 BidirectionalBidirectional Programmable input/output line. Peripheral A · ERX2 Peripheral B · SPI0_NPCS1
31PB6 BidirectionalBidirectional Programmable input/output line. Peripheral A · ERX1
32GND ReturnReturn Connect to the ground plane with local return paths for the associated supply capacitors.
33VDDIO SupplySupply Digital I/O supply. Connect each VDDIO contact and place a local ceramic bypass capacitor nearby.
34PB5 BidirectionalBidirectional Programmable input/output line. Peripheral A · ERX0
35PB15 BidirectionalBidirectional Programmable input/output line. Peripheral A · ERXDV/ECRSDV
36PB17 BidirectionalBidirectional Programmable input/output line. Peripheral A · ERXCK Peripheral B · SPI0_NPCS3
37VDDCORE SupplySupply 1.8 V supply for the core and embedded logic. Connect all core supply contacts.
38PB7 BidirectionalBidirectional Programmable input/output line. Peripheral A · ERXER
39PB12 BidirectionalBidirectional Programmable input/output line. Peripheral A · ETXER Peripheral B · TCLK0
40PB0 BidirectionalBidirectional Programmable input/output line. Peripheral A · ETXCK/EREFCK Peripheral B · PCK0
41PB1 BidirectionalBidirectional Programmable input/output line. Peripheral A · ETXEN
42PB2 BidirectionalBidirectional Programmable input/output line. Peripheral A · ETX0
43PB3 BidirectionalBidirectional Programmable input/output line. Peripheral A · ETX1
44PB10 BidirectionalBidirectional Programmable input/output line. Peripheral A · ETX2 Peripheral B · SPI1_NPCS1
45PB11 BidirectionalBidirectional Programmable input/output line. Peripheral A · ETX3 Peripheral B · SPI1_NPCS2
46PA19 BidirectionalBidirectional Programmable input/output line. Peripheral A · CANRX Package alternate · PGMD7
47PA20 BidirectionalBidirectional Programmable input/output line. Peripheral A · CANTX Package alternate · PGMD8
48VDDIO SupplySupply Digital I/O supply. Connect each VDDIO contact and place a local ceramic bypass capacitor nearby.
49PA21 BidirectionalBidirectional Programmable input/output line. Peripheral A · TF Peripheral B · SPI1_NPCS0 Package alternate · PGMD9
50PA22 BidirectionalBidirectional Programmable input/output line. Peripheral A · TK Peripheral B · SPI1_SPCK Package alternate · PGMD10
51TDI InputInput JTAG serial data input. Reference the signal levels to VDDIO.
52GND ReturnReturn Connect to the ground plane with local return paths for the associated supply capacitors.
53PB16 BidirectionalBidirectional Programmable input/output line. Peripheral A · ECOL Peripheral B · SPI1_NPCS3
54PB4 BidirectionalBidirectional Programmable input/output line. Peripheral A · ECRS
55PA23 BidirectionalBidirectional Programmable input/output line. Peripheral A · TD Peripheral B · SPI1_MOSI Package alternate · PGMD11
56PA24 BidirectionalBidirectional Programmable input/output line. Peripheral A · RD Peripheral B · SPI1_MISO Package alternate · PGMD12
57NRST BidirectionalBidirectional Active-low system reset controlled by the reset controller. Use open-drain drive for external reset.
58TST InputInput Factory test and fast programming selection. Use the documented low strap for normal operation.
59PA25 BidirectionalBidirectional Programmable input/output line. Peripheral A · RK Peripheral B · SPI1_NPCS1 Package alternate · PGMD13
60PA26 BidirectionalBidirectional Programmable input/output line. Peripheral A · RF Peripheral B · SPI1_NPCS2 Package alternate · PGMD14
61VDDIO SupplySupply Digital I/O supply. Connect each VDDIO contact and place a local ceramic bypass capacitor nearby.
62VDDCORE SupplySupply 1.8 V supply for the core and embedded logic. Connect all core supply contacts.
63PB18 BidirectionalBidirectional Programmable input/output line. Peripheral A · EF100 Peripheral B · ADTRG
64PB19 BidirectionalBidirectional Programmable input/output line. Peripheral A · PWM0 Peripheral B · TCLK1
65PB20 BidirectionalBidirectional Programmable input/output line. Peripheral A · PWM1 Peripheral B · PCK0
66PB21 BidirectionalBidirectional Programmable input/output line. Peripheral A · PWM2 Peripheral B · PCK1
67PB22 BidirectionalBidirectional Programmable input/output line. Peripheral A · PWM3 Peripheral B · PCK2
68GND ReturnReturn Connect to the ground plane with local return paths for the associated supply capacitors.
69PB23 BidirectionalBidirectional Programmable input/output line. Peripheral A · TIOA0 Peripheral B · DCD1
70PB24 BidirectionalBidirectional Programmable input/output line. Peripheral A · TIOB0 Peripheral B · DSR1
71PB25 BidirectionalBidirectional Programmable input/output line. Peripheral A · TIOA1 Peripheral B · DTR1
72PB26 BidirectionalBidirectional Programmable input/output line. Peripheral A · TIOB1 Peripheral B · RI1
73PA27 BidirectionalBidirectional Programmable input/output line. Peripheral A · DRXD Peripheral B · PCK3 Package alternate · PGMD15
74PA28 BidirectionalBidirectional Programmable input/output line. Peripheral A · DTXD
75PA29 BidirectionalBidirectional Programmable input/output line. Peripheral A · FIQ Peripheral B · SPI1_NPCS3
76TDO OutputOutput JTAG serial data output. Reference the signal levels to VDDIO.
77JTAGSEL InputInput Selects boundary scan when high. Use the documented low strap for normal debugger access.
78TMS InputInput JTAG test mode select. Reference the signal levels to VDDIO.
79TCK InputInput JTAG test clock. Reference the signal levels to VDDIO.
80PA30 BidirectionalBidirectional Programmable input/output line. Peripheral A · IRQ0 Peripheral B · PCK2
81PA0 BidirectionalBidirectional Programmable input/output line. Peripheral A · RXD0 Package alternate · PGMEN0
82PA1 BidirectionalBidirectional Programmable input/output line. Peripheral A · TXD0 Package alternate · PGMEN1
83GND ReturnReturn Connect to the ground plane with local return paths for the associated supply capacitors.
84VDDIO SupplySupply Digital I/O supply. Connect each VDDIO contact and place a local ceramic bypass capacitor nearby.
85PA3 BidirectionalBidirectional Programmable input/output line. Peripheral A · RTS0 Peripheral B · SPI1_NPCS2
86PA2 BidirectionalBidirectional Programmable input/output line. Peripheral A · SCK0 Peripheral B · SPI1_NPCS1
87VDDCORE SupplySupply 1.8 V supply for the core and embedded logic. Connect all core supply contacts.
88PA4 BidirectionalBidirectional Programmable input/output line. Peripheral A · CTS0 Peripheral B · SPI1_NPCS3 Package alternate · PGMNCMD
89PA5 BidirectionalBidirectional Programmable input/output line. Peripheral A · RXD1 Package alternate · PGMRDY
90PA6 BidirectionalBidirectional Programmable input/output line. Peripheral A · TXD1 Package alternate · PGMNOE
91PA7 BidirectionalBidirectional Programmable input/output line. Peripheral A · SCK1 Peripheral B · SPI0_NPCS1 Package alternate · PGMNVALID
92ERASE InputInput Hardware erase input. Bias low in normal operation and guard against accidental assertion.
93DDM BidirectionalBidirectional USB device negative data signal. Route with DDP as a differential pair.
94DDP BidirectionalBidirectional USB device positive data signal. See the hardware checklist for pull-up and routing details.
95VDDFLASH SupplySupply 3.3 V nominal supply for the flash charge pump and USB transceiver.
96GND ReturnReturn Connect to the ground plane with local return paths for the associated supply capacitors.
97XIN InputInput Main oscillator amplifier input. Use the recommended crystal or external clock circuit. Package alternate · PGMCK
98XOUT OutputOutput Main oscillator amplifier output. Use the load network for the chosen crystal.
99PLLRC Loop filterLoop filter PLL loop-filter node. Use the filter values calculated for the chosen operating conditions.
100VDDPLL SupplySupply 1.8 V supply for the main oscillator and PLL. Follow the device-specific decoupling and filtering circuit.

Signal assignments

JTAG

Normal ICE/debug access uses JTAGSEL low. Use the target voltage reference on the probe. Clock → TCK · Data in → TDI · Data out → TDO · Mode select → TMS

Debug UART

PIOA peripheral A. Cross TX and RX at the adapter. DRXD → PA27 · DTXD → PA28

TWI / I²C

Check the PIO A/B or extra-function selection for each pad. TWD → PA10 · TWCK → PA11

SPI

Check the PIO A/B or extra-function selection for each pad. SPI1_NPCS1 → PA2 · SPI1_NPCS2 → PA3 · SPI1_NPCS3 → PA4 · SPI0_NPCS1 → PA7 · SPI0_NPCS2 → PA8 · SPI0_NPCS3 → PA9 · SPI_NPCS0 → PA12 · SPI0_NPCS1 → PA13 · SPI0_NPCS2 → PA14 · SPI0_NPCS3 → PA15 · SPI0_MISO → PA16 · SPI0_MOSI → PA17 · SPI0_SPCK → PA18 · SPI1_NPCS0 → PA21 · SPI1_SPCK → PA22 · SPI1_MOSI → PA23 · SPI1_MISO → PA24 · SPI1_NPCS1 → PA25 · SPI1_NPCS2 → PA26 · SPI1_NPCS3 → PA29 · SPI1_NPCS1 → PB10 · SPI1_NPCS2 → PB11 · SPI0_NPCS1 → PB13 · SPI0_NPCS2 → PB14 · SPI1_NPCS3 → PB16 · SPI0_NPCS3 → PB17

CAN

Check the PIO A/B or extra-function selection for each pad. CANRX → PA19 · CANTX → PA20

Ethernet MAC

Check the PIO A/B or extra-function selection for each pad. ETXCK/EREFCK → PB0 · ETXEN → PB1 · ETX0 → PB2 · ETX1 → PB3 · ECRS → PB4 · ERX0 → PB5 · ERX1 → PB6 · ERXER → PB7 · EMDC → PB8 · EMDIO → PB9 · ETX2 → PB10 · ETX3 → PB11 · ETXER → PB12 · ERX2 → PB13 · ERX3 → PB14 · ERXDV/ECRSDV → PB15 · ECOL → PB16 · ERXCK → PB17 · EF100 → PB18

USB device

Use the external pull-up and connection circuit in the hardware checklist. D+ → DDP · D− → DDM

Electrical limits

ParameterLimitConditions and source
Flash and SRAM256 KiB flash · 64 KiB SRAM256 KiB flash · 64 KiB SRAM Single-plane flash. 6120K Table 1-1
VDDIN, VDDIO, VDDFLASH3.0–3.6 V3.0–3.6 V Nominal 3.3 V for the single-supply configuration. Follow regulator input rise-time requirements. 6120K §5 and 6260C §3
VDDCORE and VDDPLL1.65–1.95 V1.65–1.95 V Nominal 1.8 V. The internal regulator can supply both domains with the specified decoupling. 6120K §5 and 6260C §3
Maximum CPU clock55 MHz55 MHz Apply the flash wait-state and revision-specific restrictions before setting the clock. 6120K features, Electrical Characteristics and errata

Models and documents

Includes SAM7X128, SAM7X256 and SAM7X512 across the LQFP and TFBGA maps. Select the marked ordering code for the flash size and use the matching silicon errata.

AT91SAM7X512
512 KiB flash · 128 KiB SRAM
AT91SAM7X512-AU
512 KiB flash · 128 KiB SRAM · industrial −40 to +85 °C.
AT91SAM7X512B-AU
512 KiB flash · 128 KiB SRAM · industrial −40 to +85 °C.
AT91SAM7X512B-AUR
512 KiB flash · 128 KiB SRAM · industrial −40 to +85 °C · tape and reel.
AT91SAM7X256
256 KiB flash · 64 KiB SRAM
AT91SAM7X256-AU
256 KiB flash · 64 KiB SRAM · industrial −40 to +85 °C.
AT91SAM7X256B-AU
256 KiB flash · 64 KiB SRAM · industrial −40 to +85 °C.
AT91SAM7X256C-AU
256 KiB flash · 64 KiB SRAM · industrial −40 to +85 °C.
AT91SAM7X128
128 KiB flash · 32 KiB SRAM
AT91SAM7X128-AU
128 KiB flash · 32 KiB SRAM · industrial −40 to +85 °C.
AT91SAM7X128B-AU
128 KiB flash · 32 KiB SRAM · industrial −40 to +85 °C.
AT91SAM7X128C-AU
128 KiB flash · 32 KiB SRAM · industrial −40 to +85 °C.