Datasheet

151
SAM9261 [DATASHEET]
Atmel-6062O-ATARM-SAM9261-Datasheet_21-Jun-16
19.7.6.1 Software Configuration
The following configuration has to be performed:
Assign the EBI CS4 and/or EBI CS5 to the CompactFlash Slot 0 or/and Slot 1 by setting the EBI_CS4A
or/and EBI_CS5A bit(s) in the EBI Chip Select Assignment Register located in the bus matrix memory
space.
The address line A23 is to select I/O (A23=1) or Memory mode (A23=0) and the address line A22 for REG
function.
A23, CFRNW, CFS0, CFCS1, CFCE1 and CFCE2 signals are multiplexed with PIO lines and thus the
dedicated PIOs must be programmed in peripheral mode in the PIO controller.
Configure a PIO line as an output for CFRST and two others as an input for CFIRQ and CARD DETECT
functions respectively.
Configure SMC CS4 and/or SMC_CS5 (for Slot 0 or 1) Setup, Pulse, Cycle and Mode accordingly to
Compact Flash timings and system bus frequency.