
IDE and Flash Media Interface
MCF5253 Reference Manual, Rev. 1
13-16
Freescale Semiconductor
13.5.2.3
Flash Media Command Register 2 in Secure Digital Mode
Table 13-11. Flash Media Command Register 1 Field Descriptions
1
(Secure Digital Mode)
Field
Description
31–23
Reserved
22
WIDESHIFT
0 1-bit data bus
1 4-bit data bus
21
SENDCRC
0 No CRC inserted
1 packet bits 0-15 will be replaced with CRC
20
NEXT BS
Next value to output on BS pin (Memory Stick)
19–16
CMDCODE
–
15–0
BITCOUNTER
Write to this field the number of bits to be exchanged with the flash card.
Read value is the number of bits remaining.
1
The following codes are relevant for FlashMedia command register 1:
FLASHMEDIACMD1[22:16] = 0x44: wait for read, 4-bit wide
FLASHMEDIACMD1[22:16] = 0x04: wait for read, 1-bit wide
FLASHMEDIACMD1[22:16] = 0x66: write data, 4-bit wide
FLASHMEDIACMD1[22:16] = 0x26: write data, 1-bit wide
FLASHMEDIACMD1[22:16] = 0x00: receive handshake
FLASHMEDIACMD1[22:16] = 0x08: wait for busy signalling
Address MBAR2 + 0x468
Access: User read/write
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
R
DRIVE
DATA
DRIVE
CMD
SEND
CRC
NEXT
BS
CMDCODE
W
Reset
–
–
–
–
–
–
–
–
–
0
0
0
0
0
0
0
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R
BITCOUNTER
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 13-13. Flash Media Command Register 2 (FLASHMEDIACMD) (Secure Digital Mode)
Table 13-12. Flash Media Command Register 2 Field Descriptions
1
(Secure Digital Mode)
Field
Description
31–22
Reserved
23
DRIVEDATA
0 Do not drive data line
1 Start driving data line after command transmission end
22
DRIVECMD
0 Do not drive command line
1 Start driving command line after receiving card status response
Содержание MCF5253
Страница 1: ...Document Number MCF5253RM Rev 1 08 2008 MCF5253 Reference Manual...
Страница 26: ...MCF5253 Reference Manual Rev 1 xxvi Freescale Semiconductor...
Страница 32: ...MCF5253 Reference Manual Rev 1 xxxii Freescale Semiconductor...
Страница 46: ...MCF5253 Introduction MCF5253 Reference Manual Rev 1 1 14 Freescale Semiconductor...
Страница 62: ...Signal Description MCF5253 Reference Manual Rev 1 2 16 Freescale Semiconductor...
Страница 98: ...Instruction Cache MCF5253 Reference Manual Rev 1 5 10 Freescale Semiconductor...
Страница 104: ...Static RAM SRAM MCF5253 Reference Manual Rev 1 6 6 Freescale Semiconductor...
Страница 128: ...Synchronous DRAM Controller Module MCF5253 Reference Manual Rev 1 7 24 Freescale Semiconductor...
Страница 144: ...Bus Operation MCF5253 Reference Manual Rev 1 8 16 Freescale Semiconductor...
Страница 176: ...System Integration Module SIM MCF5253 Reference Manual Rev 1 9 32 Freescale Semiconductor...
Страница 198: ...Analog to Digital Converter ADC MCF5253 Reference Manual Rev 1 12 6 Freescale Semiconductor...
Страница 246: ...DMA Controller MCF5253 Reference Manual Rev 1 14 18 Freescale Semiconductor...
Страница 282: ...UART Modules MCF5253 Reference Manual Rev 1 15 36 Freescale Semiconductor...
Страница 298: ...Queued Serial Peripheral Interface QSPI Module MCF5253 Reference Manual Rev 1 16 16 Freescale Semiconductor...
Страница 344: ...Audio Interface Module AIM MCF5253 Reference Manual Rev 1 17 46 Freescale Semiconductor...
Страница 362: ...I2 C Modules MCF5253 Reference Manual Rev 1 18 18 Freescale Semiconductor...
Страница 370: ...Boot ROM MCF5253 Reference Manual Rev 1 19 8 Freescale Semiconductor...