VII LCD CONTROLLER BLOCK: LCD CONTROLLER
S1C33L03 FUNCTION PART
EPSON
B-VII-2-5
A-1
B-VII
LCDC
System Settings
Setting the BCU
The control registers of the LCD controller are mapped into area-6 addresses 0x39FFE0 to 0x39FFFF. Therefore,
in order for the control registers to be accessed, the BCU must be set up in accordance with the procedure
described below.
1.
A6IO (D9)/access control register (0x48132) = "1"
This sets area 6 so that the internal device will be accessed.
2.
A6WT[2:0] (D[A:8])/areas 6–4 setup register (0x4812A) = "000"
This sets area 6 so that it can be accessed with no wait states.
3.
SWAITE (D0)/bus control register (0x4812E) = "1"
This enables the #WAIT signal. This setting is necessary when SDRAM is used.
4.
A6EC (D1)/access control register (0x48132) = LCDCEC (D0)/LCDC system control register (0x39FFFD)
Make sure the endian formats on the area 6 and LCDC (and SDRAMC) sides match when data is read. In
either register, setting the bit to "0" selects little endian (default), and setting the bit to "1" selects big endian.
Display Memory
The LCD controller uses as display memory a necessary amount of memory (maximum of 256K bytes), beginning
with the start address of area 7 or 8 (or area 13 or 14 if CEFUNC[1:0] (D[A:9]/0x48130) = "01"). Therefore,
SDRAM or SRAM must be included for use as the display memory. The memory configurations and bus settings
made using the control registers of the LCD controller are described below.
Selecting the area
Use the VRAMAR (D7)/LCDC system control register (0x39FFFD) to select the area to be used as the
display memory.
VRAMAR = "1": Area 8 (CEFUNC = "00") or area 14 (CEFUNC = "01")
VRAMAR = "0": Area 7 (CEFUNC = "00") or area 13 (CEFUNC = "01") (default)
SRAM settings
When using SRAM as the display memory, set the interface method for access from the LCD controller
(A0/BSL) and the number of wait cycles to be inserted (0–7). Use the LCDCST (D1)/LCDC system control
register (0x39FFFD) to select the interface method.
LCDCST = "1": BSL method
LCDCST = "0": A0 method (default)
This bit must be set to the same value as in the SBUSST (D3)/bus control register (0x4812E) for the BCU.
Use the VRAMWT[2:0] (D[6:4])/LCDC system control register (0x39FFFD) to select the number of wait
cycles. The value set in these three bits (0–7) is the number of wait cycles inserted. When the same SRAM is
accessed from the CPU, the wait cycles set on the BCU side become effective and the VRAMWT value is
ignored.
The LCD controller checks the BCU- and SDRAM-controller settings to determine whether SRAM is used.
When the SDRAM controller is set to become effective, the above two register settings are ignored.
Settings for prioritized use of the bus
The LCD controller reads display data from the display memory via the system bus. Therefore, if the bus is
occupied by an external device, the LCD controller cannot update the display. To prevent this problem, the
LCD controller can disable DMA requests (#DMAREQx) or bus release requests (#BUSREQ) from outside
the chip while it remains enabled (LCDCEN (D5)/LCDC mode register 2 = "1").
Summary of Contents for CMOS 32-Bit Single Chip Microcomputer S1C33L03
Page 4: ......
Page 14: ......
Page 15: ...S1C33L03 PRODUCT PART ...
Page 16: ......
Page 147: ...S1C33L03 FUNCTION PART ...
Page 148: ......
Page 149: ...S1C33L03 FUNCTION PART I OUTLINE ...
Page 150: ......
Page 152: ...I OUTLINE INTRODUCTION B I 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 162: ...I OUTLINE LIST OF PINS B I 3 8 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 163: ...S1C33L03 FUNCTION PART II CORE BLOCK ...
Page 164: ......
Page 166: ...II CORE BLOCK INTRODUCTION B II 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 172: ...II CORE BLOCK CPU AND OPERATING MODE B II 2 6 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 176: ...II CORE BLOCK INITIAL RESET B II 3 4 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 224: ...II CORE BLOCK BCU Bus Control Unit B II 4 48 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 262: ...II CORE BLOCK DBG Debug Unit B II 7 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 263: ...S1C33L03 FUNCTION PART III PERIPHERAL BLOCK ...
Page 264: ......
Page 266: ...III PERIPHERAL BLOCK INTRODUCTION B III 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 322: ...III PERIPHERAL BLOCK WATCHDOG TIMER B III 5 4 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 415: ...S1C33L03 FUNCTION PART IV ANALOG BLOCK ...
Page 416: ......
Page 418: ...IV ANALOG BLOCK INTRODUCTION B IV 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 434: ...IV ANALOG BLOCK A D CONVERTER B IV 2 16 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 435: ...S1C33L03 FUNCTION PART V DMA BLOCK ...
Page 436: ......
Page 438: ...V DMA BLOCK INTRODUCTION B V 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 492: ...V DMA BLOCK IDMA Intelligent DMA B V 3 18 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 493: ...S1C33L03 FUNCTION PART VI SDRAM CONTROLLER BLOCK ...
Page 494: ......
Page 531: ...S1C33L03 FUNCTION PART VII LCD CONTROLLER BLOCK ...
Page 532: ......
Page 579: ...S1C33L03 FUNCTION PART Appendix I O MAP ...
Page 580: ......