
General-Purpose Bus Controller
Élan™SC520 Microcontroller User’s Manual
13-19
13.5.9.6
8-Bit Data Access of a 16-Bit I/O Device
The GPA0 and GPBHE signals are required to determine which byte of a 16-bit peripheral
is accessed during byte read or write cycles. Table 13-7 describes how to determine which
byte is accessed.
For memory-mapped I/O accesses, GPMEMRD and GPMEMWR are used instead of
GPIORD and GPIOWR.
Figure 13-14 shows the timing diagram of an 8-bit access of a 16-bit I/O device.
Figure 13-14 8-Bit Data Access of a 16-Bit I/O Device
13.5.9.7
GPIOCS16 and GPMEMCS16 Timing
The GP bus controller provides two methods for defining the data bus width.
■
The GP Chip Select Data Width (GPCSDW) register (MMCR offset C01h) allows each
chip select to be individually programmed for 8-bit or 16-bit data bus width.
■
The GP bus controller also supports dynamic bus sizing through the GPIOCS16
and
GPMEMCS16
pins. These pins can be used to override the programming of the data
width for the current access, as described in Table 13-8.
– The GPIOCS16
and
GPMEMCS16
pins can be asserted after the address or chip
select is valid and deasserted after the address or chip select invalid.
– If one of these pins is asserted by the external devices, the GP bus controller asserts
bs16 to the Am5
x
86 CPU.
– Assertion of these signals does not affect the programmable interface timing.
Table 13-7
Differentiating Upper/Lower Byte Access of 16-Bit Devices
GPBHE
GPA0
Cycle Description
0
0
16-bit access of 16-bit device
0
1
Upper byte access of 16-bit device
1
0
Lower byte access of either 8-bit or 16-bit device
1
1
Upper byte access of 8-bit device
x..x0h
Read Data
Read Data
x..x1h
GPA25–GPA0
GPCSx
GPBHE
GPD15–GPD0
Write Data
Write Data
GPD15–GPD0
Low Byte
High Byte
GPMEMRD, GPMEMWR,
GPIORD, or GPIOWR
Содержание Elan SC520
Страница 1: ...lan SC520 Microcontroller User s Manual Order 22004A...
Страница 4: ...iv lan SC520 Microcontroller User s Manual...
Страница 28: ...Introduction xxviii lan SC520 Microcontroller User s Manual...
Страница 42: ...Architectural Overview 1 14 lan SC520 Microcontroller User s Manual...
Страница 78: ...System Initialization 3 22 lan SC520 Microcontroller User s Manual...
Страница 108: ...Clock Generation and Control 5 10 lan SC520 Microcontroller User s Manual...
Страница 118: ...Reset Generation 6 10 lan SC520 Microcontroller User s Manual...
Страница 148: ...System Arbitration 8 24 lan SC520 Microcontroller User s Manual...
Страница 214: ...SDRAM Controller 10 36 lan SC520 Microcontroller User s Manual...
Страница 230: ...Write Buffer and Read Buffer 11 16 lan SC520 Microcontroller User s Manual...
Страница 288: ...GP Bus DMA Controller 14 22 lan SC520 Microcontroller User s Manual...
Страница 316: ...Programmable Interval Timer 16 8 lan SC520 Microcontroller User s Manual...
Страница 328: ...Software Timer 18 4 lan SC520 Microcontroller User s Manual...
Страница 346: ...Real Time Clock 20 12 lan SC520 Microcontroller User s Manual...
Страница 360: ...UART Serial Ports 21 14 lan SC520 Microcontroller User s Manual...
Страница 414: ...AMDebug Technology 26 8 lan SC520 Microcontroller User s Manual...