120 likes | 257 Views
D2IO - LCD. 5x8. 5x8. 5x8. KS0066 Samsung controller. 204 5x8 Characters 32 5x11 Characters 8 8x5 User Defined Characters 80 Character Code RAM. DDRAM. Initialization. Initialization Parameters. Page 4 of D2IO manual. Characters. 0x00 through 0x7F are standard ASCII characters
E N D
KS0066 Samsung controller • 204 5x8 Characters • 32 5x11 Characters • 8 8x5 User Defined Characters • 80 Character Code RAM
Initialization Parameters Page 4 of D2IO manual
Characters • 0x00 through 0x7F are standard ASCII characters • Higher values map to extended characters
How to Instantiate • UCF File • NET "lcd_rw_n" LOC = "P34" ; • NET "lcd_rs" LOC = "P33" ; • NET "lcd_e" LOC = "P36" ; • NET "lcd_data<7>" LOC = "P46" ; • NET "lcd_data<6>" LOC = "P47" ; • NET "lcd_data<5>" LOC = "P44" ; • NET "lcd_data<4>" LOC = "P45" ; • NET "lcd_data<3>" LOC = "P42" ; • NET "lcd_data<2>" LOC = "P43" ; • NET "lcd_data<1>" LOC = "P37" ; • NET "lcd_data<0>" LOC = "P31" ;
After initialization • Perform command or instruction • Read busy flag • Wait for busy flag to go low