Hello
we are using rocktech lcd parallel rgb for dm365. using emif bus. do you have any same code. which i can used.
Description: 3.2 inch TFT 240 * 320 pixels with led backlight
module RK032FH063.
Regards
Asif
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello
we are using rocktech lcd parallel rgb for dm365. using emif bus. do you have any same code. which i can used.
Description: 3.2 inch TFT 240 * 320 pixels with led backlight
module RK032FH063.
Regards
Asif
Hi Renjith
Our LCD display will not support VPBE parallel RGB BUS. our lcd details
http://www.newhavendisplay.com/app_notes/ILI9341.pdf
I am new to this dm365 lcd please help us to solve this issues.
Regards
Asif
Asif,
You LCD supports both LCD mode and parallel RGB mode. Please refer to
7.2. RGB Interface
7.2.1. RGB Interface Selection
for the info on how to use parallel RGB mode.
Renjith,
our hardware dm365 will only support EMIF interface with chip select 1. 8 bit data to LCD.
Please refer to 7.6.3 (ili9341.pdf)
our LCD module no rk032fh063
Regards
Asif
Renjith,
I am enclosing our LCD file RK032FH063.PDF
for driver the reference file ILI9341.pdf file
if you went i can come on skype id also.
Regards
Asif
Asif,
You can use the EMIF bus, but you'll have to create your own driver for the same. You'll have to write a remote framebuffer driver for using this. You'll have to use EDMA driver for transferring data to the remote GRAM buffer. I recommend the second way(pRGB) as easier and better performing.
Renjith,
To use second option our hardware will not support.
Do you have any sample code for EMIF bus for chip select 1. which i will modify and used.
Regards
Asif
Asif,
I don't have anything readymade with me. But you can easily use EMIF. Its just the matter of configuring pinmuxes and 3-4 registers in EMIF. But the framebuffer driver on top of this would need more code.
Hi Renjith,
We thought of using character device /dev/mtd0 or /dev/mtd1 ..etc... for driving the LCD which is connected on the same pins as the NAND Flash, with the following mapping:
EM_D[7..0] => LCD_DB[7..0]
EM_CE1 => LCD_CS
EM_WE => LCD_WR
EM_OE => LCD_RD
EM_A1 => LCD_RS
EM_A2 => LCD_RESET
Is it possible to have the above mapping to work. If not please suggest other options.
How to know he mapping of /dev/mtd(x) to memory addresses.
regards,
Asif
Asif,
You cannot use mtd driver or your display driver. You'll have to create a framebuffer driver manually to use the memory mapped address buffer. I don't know how to explain this to you, but whatever you are trying currently is not correct.
Hi Renjith
To checking I am direct accessing memory address and loading the data.
off_t target = 0x04000000; //emif address
main()
{
int fd1;
char *map_base;
if ((fd1 = open("/dev/mem",O_RDWR)) == 0)
{
return -1;
}
map_base = (char *)map(0,MAP_SIZE,PROT_READ | PROT_WRITE,MAP_SHARED,fd1,target&~MAP_MASK);
if(map_base == (void *) -1)
{
return -1;
}
while(1)
{
map_base[0]= 0x55;
}
return;
}
with this code I am able to see data line from CRO.
is it correct direction what we are doing ?
Regards
Asif
}
Asif,
No, you are not going in the right direction. You'll have to create a map in the kernel using ioremap and try to write into the buffer. Before that you'll have to initialize the display properly. Once the display is initialized properly, you've to see whatever data you write is getting reflected in the panel or not.
Hi Renjith
we are using new 320x240 RGB format lcd from u-boot we are able to draw the lines. But we are not able to display correct images on lcd it will display junk.
Any input on this.
Regards
Asif
Hi Renjith
we are able to display the bmp image on lcd display but it is displaying only 1/4 image.
Regards
Asif
Hello
We are able to develop and the load the driver for lcd module. we are able display the image on the lcd using driver but it is display only 1/4 image any idea on this. when we tryed to display one dot it is display 4 dot any idea on this. This is same from u-boot and driver level.
Please help us to fixed this issues.
Regards
Asif
Hello
Enclosing Image original image and lcd image
This is original image 320 x 240
This image is on lcd
The problem is in original image 1/4 is cat image other place it is black color but i will take only if the image is at bottom right side. else it will not display any image on lcd. why ?
Regards
Asif
Hi Mike
Yes you can follow it will work. only I am facing one problem. it is displaying 1/4 image it is not display full image. At present I am busy with other project may be after 10 days. i will work on this display problem to display full image on lcd 320 x 240.
if you are able to fixed the issues to display full image please let me know.
Regards
Asif
Hi Mike
you are able to fixed this issues.
We are able to fixed this issues now the display is working. On both video and osd
Regards
Asif