
General-Purpose Bus Controller
Élan™SC520 Microcontroller User’s Manual
13-7
The GP bus also provides an echo mode that is useful for debugging. If GP bus echo mode
enabled, the internal GP bus cycle is echoed out on the external pins to enable visibility of
internal cycles. Accesses to internal peripherals that are “echoed” out utilize the
programmed timing set to ensure that there is no timing conflict with other external
peripherals. Note that enabling echo mode does not affect the operation of GP-DMA
accesses or GP bus external accesses.
13.5.1
Programmable Bus Interface Timing
The bus interface timing can be programmed for the following signals:
■
Chip selects GPCS7–GPCS0
■
Read strobes GPIORD and GPMEMRD
■
Write strobes GPIOWR and GPMEMWR
■
Address latch enable GPALE
For each of these signals, the following parameters can be programmed:
■
Offset from beginning of the bus cycle
■
Pulse width from end of the offset
■
Chip select recovery time
Figure 13-4 shows the shows the relationships between the various adjustable GP bus
timing parameters. The actual time can be calculated with the following formula:
(R 1) * T
CLK
where:
REG_VAL = register content value
T
CLK
= internal clock period
The minimum offset, pulse width and recovery time is 30 ns (for a 33.333-MHz crystal),
resulting in a minimum bus cycle time of 90 ns. Since the offset, pulse width, and recovery
parameters are each 8-bit values (maximum 255), the longest bus cycle in this case is 23
µ
s (2
(8 bits)
* 30 ns * 3 registers).
13.5.1.1
Timing Requirements
The programmed timing of the chip select determines the overall length of the GP bus
cycle. Therefore, the timing parameters for the chip select must be appropriately
programmed. This is required even if the external device does not require a connection to
the GPCSx pin.
■
To ensure that the command strobes (read or write) assert for the programmed time,
the programmed Pulse Width + Recovery of the chip select must be programmed
to be
longer than the programmed Pulse Width of the command strobes.
■
Similarly, to ensure that GPALE is asserted for the programmed time, the programmed
Pulse Width + Recovery of the chip select must be programmed to be
longer
than the programmed Pulse Width of the GPALE.
Summary of Contents for Elan SC520
Page 1: ...lan SC520 Microcontroller User s Manual Order 22004A...
Page 4: ...iv lan SC520 Microcontroller User s Manual...
Page 28: ...Introduction xxviii lan SC520 Microcontroller User s Manual...
Page 42: ...Architectural Overview 1 14 lan SC520 Microcontroller User s Manual...
Page 78: ...System Initialization 3 22 lan SC520 Microcontroller User s Manual...
Page 108: ...Clock Generation and Control 5 10 lan SC520 Microcontroller User s Manual...
Page 118: ...Reset Generation 6 10 lan SC520 Microcontroller User s Manual...
Page 148: ...System Arbitration 8 24 lan SC520 Microcontroller User s Manual...
Page 214: ...SDRAM Controller 10 36 lan SC520 Microcontroller User s Manual...
Page 230: ...Write Buffer and Read Buffer 11 16 lan SC520 Microcontroller User s Manual...
Page 288: ...GP Bus DMA Controller 14 22 lan SC520 Microcontroller User s Manual...
Page 316: ...Programmable Interval Timer 16 8 lan SC520 Microcontroller User s Manual...
Page 328: ...Software Timer 18 4 lan SC520 Microcontroller User s Manual...
Page 346: ...Real Time Clock 20 12 lan SC520 Microcontroller User s Manual...
Page 360: ...UART Serial Ports 21 14 lan SC520 Microcontroller User s Manual...
Page 414: ...AMDebug Technology 26 8 lan SC520 Microcontroller User s Manual...