IDE and Flash Media Interface
MCF5253 Reference Manual, Rev. 1
13-12
Freescale Semiconductor
2.
SecureDigital
mode. In this mode it is possible to connect one SD card. The SD card has a
command
line and 1 or 4
serial data
lines. The interface shift register 1 will handle communication
on the
serial data
lines, the interface shift register 2 will handle communication on the
command
line. From a software point of view, the two interfaces operate independently.
13.5
Flash Media Interface Memory Map and Register Definitions
The Flash Media interface contains eight 32-bit registers.
.
13.5.1
Flash Media Clock Generation and Configuration
Clock generation and selection of the card type is accomplished by programming the
FLASHMEDIACONFIG
register as shown in
.
Table 13-8. Flash Media Registers
Address
Access
Size
Bits
Name
Description
MBAR2+ 0x460
RW
32
FLASHMEDIACONFIG
Clock and general configuration
MBAR2+ 0x464
RW
32
FLASHMEDIACMD1
Command register for interface 1
MBAR2+ 0x468
RW
32
FLASHMEDIACMD2
Command register for interface 2
MBAR2+ 0x46C
RW
32
FLASHMEDIADATA1
Data register for interface 1
MBAR2+ 0x470
RW
32
FLASHMEDIADATA2
Data register for interface 2
MBAR2+ 0x474
RW
32
FLASHMEDIASTATUS
Status register
MBAR2+ 0x478
RW
32
FLASHMEDIAINTEN
Interrupt enable register
MBAR2+ 0x47C
R
32
FLASHMEDIAINTSTAT
Interrupt status register
MBAR2+ 0x47C
W
32
FLASHMEDIAINTCLEAR
Interrupt clear register
Address MBAR2 + 0x460
Access: User read/write
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
R
CARDTYPE RECEIVEEDGE
STOPCLOCK
W
Reset
–
–
–
–
–
–
–
–
–
–
0
0
0
0
–
–
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R
CLOCKCOUNT1
CLOCKCOUNT0
W
Reset
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
Figure 13-9. Flash Media Configuration Register (FLASHMEDIACONFIG)
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...