Hi,
I'm writing a driver for the SSD1289 LCD driver using the GraphIOS.
The display I have is a 320*240 RGB LCD with a 16bit data bus and 4 control lines.
The display can be set for 65K colors or 262K colors. I will use 65K color mode.
Each pixel uses a word to store the color for that pixel. So that means 320*240*2=153,600 bytes.
From what I can read of the data sheet so far is that :
1. The address range goes from 0,0 (top left corner) to 319,239 (bottom right corner)
2. The numbering/order of the address's to get from the top left to the top right is configurable.
Refer to the below picture. You can set some registers in the LCD to select what scan direction to take. I think the top right is the correct option?
3.The driver IC has a built in auto address increment. So to write a series of pixels from the top left to the top middle, select the start address (0,0) and the final inc amount ie (0,180) then write a word representing the color for each pixel along the line.
So how does this fit in with the GraphIOS driver?
Neil
I'm writing a driver for the SSD1289 LCD driver using the GraphIOS.
The display I have is a 320*240 RGB LCD with a 16bit data bus and 4 control lines.
The display can be set for 65K colors or 262K colors. I will use 65K color mode.
Each pixel uses a word to store the color for that pixel. So that means 320*240*2=153,600 bytes.
From what I can read of the data sheet so far is that :
1. The address range goes from 0,0 (top left corner) to 319,239 (bottom right corner)
2. The numbering/order of the address's to get from the top left to the top right is configurable.
Refer to the below picture. You can set some registers in the LCD to select what scan direction to take. I think the top right is the correct option?
3.The driver IC has a built in auto address increment. So to write a series of pixels from the top left to the top middle, select the start address (0,0) and the final inc amount ie (0,180) then write a word representing the color for each pixel along the line.
So how does this fit in with the GraphIOS driver?
Neil
Attachments
Filename: | LCD.jpg |
Filesize: | 266.41 KB |
Title: | Address sequence |
Download counter: | 165 |