167
32072H–AVR32–10/2012
AT32UC3A3
CLK_ECCHRS
14.5.4
Interrupts
The EBI interface has two interrupt lines connected to the Interrupt Controller:
SDRAMC_IRQ: Interrupt signal coming from the SDRAMC
ECCHRS_IRQ: Interrupt signal coming from the ECCHRS
Handling the EBI interrupt requires configuring the interrupt controller before configuring the EBI.
14.5.5
HMATRIX
The EBI interface is connected to the HMATRIX Special Function Register 6 (SFR6). The user
must first write to this HMATRIX.SFR6 to configure the EBI correctly.
Table 14-2.
EBI Clocks Configuration
Clocks name
Clocks
type
Type of the Interfaced Device
SDRAM
SRAM, PROM,
EPROM,
EEPROM, Flash
NandFlash
SmartMedia
CompactFlash
CLK_EBI
HSB
X
CLK_SDRAMC
PB
X
CLK_SMC
PB
X
CLK_ECCHRS
PB
X
Table 14-3.
EBI Special Function Register Fields Description
SFR6 Bit
Number
Bit name
Description
[31:6]
Reserved
5CS5A
0 = Chip Select 5 (NCS[5]) is connected to a Static Memory device. For each
access to the NCS[5] memory space, all related pins act as SMC pins
1 = Chip Select 5 (NCS[5]) is connected to a CompactFlash device. For each
access to the NCS[5] memory space, all related pins act as CompactFlash
pins
4CS4A
0 = Chip Select 4 (NCS[4]) is connected to a Static Memory device. For each
access to the NCS[4] memory space, all related pins act as SMC pins
1 = Chip Select 4 (NCS[4]) is connected to a CompactFlash device. For each
access to the NCS[4] memory space, all related pins act as CompactFlash
pins
3CS3A
0 = Chip Select 3 (NCS[3]) is connected to a Static Memory device. For each
access to the NCS[3] memory space, all related pins act as SMC pins
1 = Chip Select 3 (NCS[3]) is connected to a NandFlash or a SmartMedia
device. For each access to the NCS[3] memory space, all related pins act as
NandFlash or SmartMedia pins