Panasonic MN103001G/F01K User Manual

Page 162

Advertising
background image

Bus Controller (BC)

8-48

8.13.8

16-bit Bus with Handshaking, in Synchronous Mode and in Address/Data Multiplex Mode

By setting the mode through the MMOD1 and 0 pins and the EXMOD1 and 0 pins, blocks 2 and 3 use multiplex
pins for the memory address and memory data signals (pins ADM15 to 0).
When using handshaking, bus access starts once synchronization with SYSCLK is achieved, and after the data
acknowledge signal (DK) is asserted, 2 MCLK cycles are consumed by the BC internally and then the access is

completed according to the specified parameters.

The various parameters for external memory access are set in memory control registers 2 and 3, corresponding to

each block.

Fig. 8-13-20 is the timing chart in the case of a “16-bit bus with handshaking, in address/data multiplex mode, and

with the frequency of MCLK equal to that of SYSCLK multiplied by four.”

Fig. 8-13-21 is the timing chart in the case of a “16-bit bus with handshaking, in address/data multiplex mode, and

with the frequency of MCLK equal to that of SYSCLK multiplied by two.”

Fig. 8-13-22 is the timing chart in the case of a “16-bit bus with handshaking, in address/data multiplex mode, and

with the frequency of MCLK equal to that of SYSCLK.”

As shown in each timing chart, the ADM15 to 0 pins go to “Hi-Z” or the undefined output state while CSn is

negated in address/data multiplex mode. When the bus authority is released, the ADM15 to 0 pins are either pulled

up or go to “Hi-Z”, depending on the setting of the I/O port output mode register.

The DK signal connected to the microcontroller should be input so as to be asserted from point EA+DW onward,

and is negated before the next access.
Note that when writing to byte 0, WE0 is asserted and the data is output on ADM7 to 0, and when writing to byte 1,

WE1 is asserted and the data is output on ADM15 to 8.
In addition, in the case of a word access (32 bits), the external access is performed twice with A[1] = “0” and A[1]
= “1”.

Note: For details on the mode settings, refer to Table 8-9-1, “Mode Settings by the BC External Pins.”
Note: If handshaking mode is set for memory block 3, the only settings that are permitted are those in which

MCLK is equal to SYSCLK multiplied by 4. Any setting in which MCLK is only twice SYSCLK, or in

which the two frequencies are equal, is prohibited.

Note: “0” (low level) is output on pins A23 to 16 (A23 also serves as CS3) while the ADM15 to 0 pins function as

data pins. Therefore, refer to 3. in section 8.16, “Cautions,” regarding the use of these pins.

Advertising