Silicon Laboratories C8051F341, C8051F347, C8051F346 Multiplexed and Non-multiplexed Selection

Models: C8051F346 C8051F347 C8051F344 C8051F342 C8051F343 C8051F345 C8051F340 C8051F341

1 282
Download 282 pages 2.89 Kb
Page 122
Image 122

C8051F340/1/2/3/4/5/6/7

13.5. Multiplexed and Non-multiplexed Selection

The External Memory Interface is capable of acting in a Multiplexed mode or a Non-multiplexed mode, depending on the state of the EMD2 (EMI0CF.4) bit.

13.5.1. Multiplexed Configuration

In Multiplexed mode, the Data Bus and the lower 8-bits of the Address Bus share the same Port pins: AD[7:0]. In this mode, an external latch (74HC373 or equivalent logic gate) is used to hold the lower 8-bits of the RAM address. The external latch is controlled by the ALE (Address Latch Enable) signal, which is driven by the External Memory Interface logic. An example of a Multiplexed Configuration is shown in Figure 13.2.

In Multiplexed mode, the external MOVX operation can be broken into two phases delineated by the state of the ALE signal. During the first phase, ALE is high and the lower 8-bits of the Address Bus are pre- sented to AD[7:0]. During this phase, the address latch is configured such that the ‘Q’ outputs reflect the states of the ‘D’ inputs. When ALE falls, signaling the beginning of the second phase, the address latch outputs remain fixed and are no longer dependent on the latch inputs. Later in the second phase, the Data Bus controls the state of the AD[7:0] port at the time /RD or /WR is asserted.

See Section “13.7.2. Multiplexed Mode” on page 130 for more information.

 

A[15:8]

ADDRESS BUS

 

A[15:8]

E

 

 

74HC373

 

ALE

 

G

 

 

AD[7:0]

ADDRESS/DATA BUS

D

Q

A[7:0]

M

 

VDD

 

64K X 8

I

 

 

(Optional)

SRAM

 

 

 

 

 

8

 

 

F

 

 

 

 

 

 

 

 

I/O[7:0]

 

 

 

 

 

 

 

 

 

 

CE

 

/WR

 

 

 

WE

 

/RD

 

 

 

OE

Figure 13.2. Multiplexed Configuration Example

122

Rev. 0.5

Page 122
Image 122
Silicon Laboratories C8051F341, C8051F347, C8051F346 Multiplexed and Non-multiplexed Selection, Multiplexed Configuration