37
SAM9G45 [Summary]
6438IS–ATARM–12-Feb-13
9. Peripherals
9.1 Peripheral Mapping
As shown in Figure 7-1, the Peripherals are mapped in the upper 256 Mbytes of the address space between the
addresses 0xFFF7 8000 and 0xFFFC FFFF.
Each User Peripheral is allocated 16K bytes of address space.
9.2 Peripheral Identifiers
Table 9-1 defines the Peripheral Identifiers of the SAM9G45. A peripheral identifier is required for the control of the
peripheral interrupt with the Advanced Interrupt Controller and for the control of the peripheral clock with the Power
Management Controller.
Table 9-1. SAM9G45 Peripheral Identifiers
Peripheral ID Peripheral Mnemonic Peripheral Name External Interrupt
0 AIC Advanced Interrupt Controller FIQ
1 SYSC System Controller Interrupt
2 PIOA Parallel I/O Controller A,
3 PIOB Parallel I/O Controller B
4 PIOC Parallel I/O Controller C
5 PIOD/PIOE Parallel I/O Controller D/E
6 TRNG True Random Number Generator
7 US0 USART 0
8 US1 USART 1
9 US2 USART 2
10 US3 USART 3
11 MCI0 High Speed Multimedia Card Interface 0
12 TWI0 Two-Wire Interface 0
13 TWI1 Two-Wire Interface 1
14 SPI0 Serial Peripheral Interface
15 SPI1 Serial Peripheral Interface
16 SSC0 Synchronous Serial Controller 0
17 SSC1 Synchronous Serial Controller 1
18 TC0..TC5 Timer Counter 0,1,2,3,4,5
19 PWM Pulse Width Modulation Controller
20 TSADCC Touch Screen ADC Controller
21 DMA DMA Controller
22 UHPHS USB Host High Speed
23 LCDC LCD Controller
24 AC97C AC97 Controller
25 EMAC Ethernet MAC
26 ISI Image Sensor Interface
27 UDPHS USB Device High Speed
29 MCI1 High Speed Multimedia Card Interface 1
30 Reserved
31 AIC Advanced Interrupt Controller IRQ
38
SAM9G45 [Summary]
6438IS–ATARM–12-Feb-13
9.3 Peripheral Interrupts and Clock Control
9.3.1 System Interrupt
The System Interrupt in Source 1 is the wired-OR of the interrupt signals coming from:
z the DDR2/LPDDR Controller
z the Debug Unit
z the Periodic Interval Timer
z the Real-Time Timer
z the Real-Time Clock
z the Watchdog Timer
z the Reset Controller
z the Power Management Controller
The clock of these peripherals cannot be deactivated and Peripheral ID 1 can only be used within the Advanced Interrupt
Controller.
9.3.2 External Interrupts
All external interrupt signals, i.e., the Fast Interrupt signal FIQ or the Interrupt signal IRQ, use a dedicated Peripheral ID.
However, there is no clock control associated with these peripheral IDs.
9.4 Peripheral Signals Multiplexing on I/O Lines
The SAM9G45 features 5 PIO controllers, PIOA, PIOB, PIOC, PIOD and PIOE, which multiplexes the I/O lines of the
peripheral set.
Each PIO Controller controls up to 32 lines. Each line can be assigned to one of two peripheral functions, A or B. The
multiplexing tables in the following paragraphs define how the I/O lines of the peripherals A and B are multiplexed on the
PIO Controllers. The two columns “Function” and “Comments” have been inserted in this table for the user’s own
comments; they may be used to track how pins are defined in an application.
Note that some peripheral function which are output only, might be duplicated within the both tables.
The column “Reset State” indicates whether the PIO Line resets in I/O mode or in peripheral mode. If I/O is mentioned,
the PIO Line resets in input with the pull-up enabled, so that the device is maintained in a static state as soon as the reset
is released. As a result, the bit corresponding to the PIO Line in the register PIO_PSR (Peripheral Status Register) resets
low.
If a signal name is mentioned in the “Reset State” column, the PIO Line is assigned to this function and the
corresponding bit in PIO_PSR resets high. This is the case of pins controlling memories, in particular the address lines,
which require the pin to be driven as soon as the reset is released. Note that the pull-up resistor is also enabled in this
case.
To amend EMC, programmable delay has been inserted on PIO lines able to run at high speed.
39
SAM9G45 [Summary]
6438IS–ATARM–12-Feb-13
9.4.1 PIO Controller A Multiplexing
Table 9-2. Multiplexing on PIO Controller A (PIOA)
I/O Line Peripheral A Peripheral B
Reset
State
Power
Supply Function Comments
PA0 MCI0_CK TCLK3 I/O VDDIOP0
PA1 MCI0_CDA TIOA3 I/O VDDIOP0
PA2 MCI0_DA0 TIOB3 I/O VDDIOP0
PA3 MCI0_DA1 TCKL4 I/O VDDIOP0
PA4 MCI0_DA2 TIOA4 I/O VDDIOP0
PA5 MCI0_DA3 TIOB4 I/O VDDIOP0
PA6 MCI0_DA4 ETX2 I/O VDDIOP0
PA7 MCI0_DA5 ETX3 I/O VDDIOP0
PA8 MCI0_DA6 ERX2 I/O VDDIOP0
PA9 MCI0_DA7 ERX3 I/O VDDIOP0
PA10 ETX0 I/O VDDIOP0
PA11 ETX1 I/O VDDIOP0
PA12 ERX0 I/O VDDIOP0
PA13 ERX1 I/O VDDIOP0
PA14 ETXEN I/O VDDIOP0
PA15 ERXDV I/O VDDIOP0
PA16 ERXER I/O VDDIOP0
PA17 ETXCK I/O VDDIOP0
PA18 EMDC I/O VDDIOP0
PA19 EMDIO I/O VDDIOP0
PA20 TWD0 I/O VDDIOP0
PA21 TWCK0 I/O VDDIOP0
PA22 MCI1_CDA SCK3 I/O VDDIOP0
PA23 MCI1_DA0 RTS3 I/O VDDIOP0
PA24 MCI1_DA1 CTS3 I/O VDDIOP0
PA25 MCI1_DA2 PWM3 I/O VDDIOP0
PA26 MCI1_DA3 TIOB2 I/O VDDIOP0
PA27 MCI1_DA4 ETXER I/O VDDIOP0
PA28 MCI1_DA5 ERXCK I/O VDDIOP0
PA29 MCI1_DA6 ECRS I/O VDDIOP0
PA30 MCI1_DA7 ECOL I/O VDDIOP0
PA31 MCI1_CK PCK0 I/O VDDIOP0

AT91SAM9G45B-CU-999

Mfr. #:
Manufacturer:
Description:
IC MCU 32BIT 64KB ROM 324TFBGA SAM9G
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union