IDE and Flash Media Interface
MCF5253 Reference Manual, Rev. 1
13-8
Freescale Semiconductor
NOTE
A SmartMedia interface and an IDE interface cannot be implemented
simultaneously in the same hardware application as they both share the
same read and write strobe signals on the MCF5253.
To set up the SmartMedia interface perform the following tasks.
1. Program the three Chip Select registers inside the chip select modules (CSAR2, CSMR2, CSCR2)
as follows:
— CSCR2 bit fields must be programmed as follows:
– AA—0 (TA signal generated by IDEconfig2 register logic)
– WS[3:0]—not relevant
– PS[1:0]—01 (8 bit port size)
– BSTR, BSTW—00 (no burst read/write cycles)
2. Program the IDE config1 register. Only fields CS2PRE, CS2POST, BUFEN1CS2EN,
BUFEN2CS2EN. The values required for the buffer enable signals BUFEN1CS2EN and
BUFEN2CS2EN depend on the hardware configuration. If two buffers are used in cascade, both
bits must be 1. Fields CS2PRE and CS2POST are relevant and are detailed later in this section.
3. Program the IDE config2 register as follows:
— TA enable 2 = ‘1.’
— IDE_IORDY enable 2 = ‘0.’
— WAITCOUNT2 is required and is explained later in this section.
13.2.1
SmartMedia Timing
Figure 13-6. SmartMedia Timing
Table 13-6. SmartMedia Timing Values
SmartMedia
Timing
Symbol
Typical Value
nS
Controlled by
Setting
Equation (Approximately)
Comment
tCLS, tCLH,
tALS, tALH
20, 40
–
CS2PRE > t1 - tbuf
Realized in software because CLE
and ALE are driven by gpio.
Clk
BufEnb
SWE
Write data
t11
t12
t13
Address
BUFENB
DIOW
Summary of Contents for MCF5253
Page 1: ...Document Number MCF5253RM Rev 1 08 2008 MCF5253 Reference Manual...
Page 26: ...MCF5253 Reference Manual Rev 1 xxvi Freescale Semiconductor...
Page 32: ...MCF5253 Reference Manual Rev 1 xxxii Freescale Semiconductor...
Page 46: ...MCF5253 Introduction MCF5253 Reference Manual Rev 1 1 14 Freescale Semiconductor...
Page 62: ...Signal Description MCF5253 Reference Manual Rev 1 2 16 Freescale Semiconductor...
Page 98: ...Instruction Cache MCF5253 Reference Manual Rev 1 5 10 Freescale Semiconductor...
Page 104: ...Static RAM SRAM MCF5253 Reference Manual Rev 1 6 6 Freescale Semiconductor...
Page 128: ...Synchronous DRAM Controller Module MCF5253 Reference Manual Rev 1 7 24 Freescale Semiconductor...
Page 144: ...Bus Operation MCF5253 Reference Manual Rev 1 8 16 Freescale Semiconductor...
Page 176: ...System Integration Module SIM MCF5253 Reference Manual Rev 1 9 32 Freescale Semiconductor...
Page 198: ...Analog to Digital Converter ADC MCF5253 Reference Manual Rev 1 12 6 Freescale Semiconductor...
Page 246: ...DMA Controller MCF5253 Reference Manual Rev 1 14 18 Freescale Semiconductor...
Page 282: ...UART Modules MCF5253 Reference Manual Rev 1 15 36 Freescale Semiconductor...
Page 344: ...Audio Interface Module AIM MCF5253 Reference Manual Rev 1 17 46 Freescale Semiconductor...
Page 362: ...I2 C Modules MCF5253 Reference Manual Rev 1 18 18 Freescale Semiconductor...
Page 370: ...Boot ROM MCF5253 Reference Manual Rev 1 19 8 Freescale Semiconductor...