II CORE BLOCK: BCU (Bus Control Unit)
Normally, DRAM specifications require that the contents of all row addresses be refreshed within a certain time before and after a
Note: If read from or write to the DRAM under a
Releasing External Bus
The external bus is normally controlled by the CPU, but the BCU is designed to release control of the bus ownership to an external device. This function is enabled by writing "1" to SEMAS (D2) / Bus control register (0x4812E) (disabled by default). The #BUSREQ (P34) and #BUSACK (P35) pins are used for control of the bus ownership. To direct the P34 and P35 pins for input/output of the #BUSREQ and #BUSACK signals, write "1" to CFP34 (D4) and CFP35 (D5) / P3 function select register (0x402DC [Byte]).
Sequence in which control of the bus is released
This sequence is described below.
1.The external bus master device requesting control of the bus ownership lowers the #BUSREQ pin.
2.The CPU keeps monitoring the status of the #BUSREQ pin, so that when this pin is lower, the CPU terminates the bus cycle being executed and places the signals listed below in
A[23:0], D[15:0], #RD, #WRL, #WRH, #HCAS, #LCAS, #CExx
Then the CPU lowers the #BUSACK pin to inform the external device that control of the bus ownership has been released.
3.One cycle later, the external bus starts its own bus cycle. The external bus master must hold the #BUSREQ pin low until the bus cycle is completed.
4.After completing the necessary bus cycles, the external bus master places the bus in
5.After confirming that the #BUSREQ pin is raised again, the CPU raises the #BUSACK pin one cycle later and resumes the processing that has been suspended.
BCLK
Synchronization
#BUSREQ |
|
|
|
|
| |
|
|
|
| Synchronization | ||
#BUSACK |
|
|
|
|
| |
| The S1C33 |
|
|
|
|
|
| terminates the bus |
| The external bus master | The S1C33 | ||
| cycle being executed. 1 cycle | 1 cycle | controls bus cycles. | 1 cycle controls bus cycles. | ||
|
|
|
|
|
|
|
D[15:0] |
|
|
|
|
| |
A[23:0] |
|
|
|
| ||
#RD, #WR |
|
|
|
|
| |
|
|
|
|
|
Figure 4.38 External Bus Release Timing
If control of the bus ownership is requested during a DMA transfer by the internal DMA controller, the DMA transfer under way is suspended at a break in data to accept the request for bus ownership control. The DMA transfer that has been kept pending is restarted when the CPU gains control of the bus ownership.
EPSON | S1C33L03 FUNCTION PART |