AN2417 Freescale Semiconductor / Motorola, AN2417 Datasheet - Page 14

no-image

AN2417

Manufacturer Part Number
AN2417
Description
PCMCIA and Compact Flash Interface for the MC9328MX1 and MC9328MXL Application Processors Application Note
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Programming Example
3 Programming Example
Compact Flash Memory Card use ATA command to perform the read write operation on memory block.
Each block of memory have a capacity of 512 bytes. Before access to Compact Flash memory card,
various initialization is required.
Initialization
After initialization, the following test is carried on Compact Flash memory card.
Memory Mode Access
I/O Mode Access
The model of Compact Flash memory card used in testing:
Sandisk 32MB Compact Flash Memory Card
3.1 Memory Address Space
Compact Flash device can be configured as working in memory mode or I/O mode. Address pin A23 is
connected for memory mode or I/O mode selection. In memory mode, the address space is divided into
attribute memory space and common memory space. REG# signal = 0 will set the address on attribute
memory space and REG# signal = 1 will set the address on common memory space. Address pin A22 is
connected to REG# signal for attribute memory or common memory selection.
For I/O mode access, the REG# signal should be clear. The address space decoding is listed in the
following table.
14
CE setup before WE
CE hold following WE
Address setup time
1. EIM Configuration
2. GPIO Configuration
3. Card Detect and Power Up
1. Read Card Information Structure
2. Write to a memory block (30H)
3. Read back from memory block (20H)
4. Issue Identify Drive AT command (ECH)
1. Write to a memory block (30H)
2. Read back from memory block (20H)
3. Issue Identify Drive AT command (ECH)
Setup / hold time requirement
Freescale Semiconductor, Inc.
For More Information On This Product,
MC9328MX1/MXL Application Note
Engineering Draft / Preliminary
delay 1+2+3 - delay 1
delay 1 - delay 3 + 19ns
CS/EB programmable setup time + delay
1+2+3 - address buffer delay
Go to: www.freescale.com
Table 10.
delay path
> 5ns
> 20ns
> 70ns
required delay time
MOTOROLA

Related parts for AN2417