Samsung S5PC100 User Manual page 503

Table of Contents

Advertisement

CF CONTROLLER
Register Transfer
t1
t2
tEOC
t1+t2+tEOC
Data Transfer
t1
t2
tEOC
t1+t2+tEOC
unit "ns"
1.5.1 ATA_PIO_TIME Register Setting Example (In case of Data Transfer)
The "t1" minimum time is 70ns in the system clock of 100MHz (10ns). It gives 7; "t1" divided by 10ns. This case
has no residual, therefore pio_t1[3:0] assigns 6 which is 7 minus 1. If it has residual, assign the quotient at
pio_t1[3:0].
ATA_PIO_TIME (Tpara) = PIO mode (Minimum, Maximum)/ system clock – 1
tPIO0 (Timing Parameter of PIO Mode 0 in case of Register Transfer)
t1: 70/10 = 7
t2: 290/10 = 29
teoc: 240/10 = 24 pio_teoc value = 24 - 1 = 23
Steps for ATAPI PIO protocol:
Initialization: Address (ATA_DA) and chip selection (ATA_CS0n/CS1n) setup if the read/ write strobe
(ATA_DIORn/DIOWn) is deasserted.
Data Read/ Write setup: Both Driver and Host shall do that the data on the data line for setup.
Data Read/ Write hold: Both Driver and Host must remain stable after read/ write strobe signal is asserted
(active low).
5.5-8
Table 5.5-3 Timing Parameter Each PIO Mode
MODE0
MODE1
(70, --)
(50, --)
(290, --)
(290, --)
(240, --)
(43, --)
(600, --)
(383, --)
MODE0
MODE1
(70, --)
(50, --)
(165, --)
(125, --)
(365, --)
(208, --)
(600, --)
(383, --)
pio_t1 value = 7- 1 = 6
pio_t2 value = 29 - 1 = 28 pio_t2[11 :4]
MODE2
(30, --)
(290, --)
(10, --)
(330, --)
MODE2
(30, --)
(100, --)
(110, --)
(240, --)
pio_t1[3:0]
pio_teoc[19:12]
S5PC100 USER'S MANUAL (REV1.0)
MODE3
MODE4
(30, --)
(25, --)
(80, --)
(70, --)
(70, --)
(25, --)
(180, --)
(120, --)
MODE3
MODE4
(30, --)
(25, --)
(80, --)
(70, --)
(70, --)
(25, --)
(180, --)
(120, --)
: 32'h000_17_1c_6
: 0x6
: 0x1c
: 0x17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents