VII LCD CONTROLLER BLOCK: LCD CONTROLLER
B-VII-2-6
EPSON
S1C33L03 FUNCTION PART
Use the EDMAEN (D3)/LCDC system control register (0x39FFFD) to mask the #DMAREQx signals.
EDMAEN = "1": External DMA requests enabled
EDMAEN = "0": External DMA requests disabled (default)
Use the BREQEN (D2)/LCDC system control register (0x39FFFD) to mask the #BUSREQ signals.
BREQEN = "1": External bus release requests enabled
BREQEN = "0": External bus release requests disabled (default)
Other settings, such as memory specification-related settings, are made using the registers of the BCU and
SDRAM controllers. For details, refer to the description of the respective controllers.
LCD Controller Setting Procedure
Procedure to access the LCDC registers (when using #WAIT signal)
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.
4. The LCDC registers can be accessed.
Procedure to enable the LCD panel
1. SEMAS (D2)/bus control register (0x4812E) = "1"
This enables an external bus master.
2. LCDEN (D5)/LCDC mode register 2 (0x39FFE3) = "1"
This enables the LCD controller.
3. CFP3[5:4] (D[5:4])/P3 function select register (0x402DC) = "11"
This sets the P35 pin as the #BUSACK output and the P34 pin as the #BUSREQ input.
4. Initializing the LCDC registers
Setup the LCDC register as necessary except for the look-up table registers (0x39FFF5, 0x39FFF7) as
necessary.
5. LPSAVE[1:0] (D[1:0])/LCDC mode register 2 (0x39FFE3) = "11"
This sets the LCD controller in power save mode to normal operation mode. Wait until the LCD
controller completes the power-up sequence.
6. Setting the look-up table
Setup the look-up table by writing data to the look-up table address register (0x39FFF5) and look-up table
data register (0x39FFF7).
Setting the number of wait states for accessing the LCDC registers (area 6) when
#WAIT signal is disabled
•
The LCDC registers except for the look-up table data register (0x39FFF7) should be accessed with 4 wait
states inserted.
•
When writing data to the look-up table data register (0x39FFF7), red and green data should be written
with 4 wait states inserted (1st and 2nd writes in a sequence), and blue data should be written with 7 wait
states inserted (last write in a sequence).
Use
A6WT[2:0] (D[A:8])/areas 6–4 setup register (0x4812A) to set the number of wait states to
be inserted
when area
6 is accessed.
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: ......