Edited by Sebastian at 2014-10-14 03:31 |
I want to connect the EJ101IA-01G display to my BananaPi which runs with Bananian Linux.
You can find the datasheet of the display attached to this post!
The provided driver board of the display works fine with the HDMI output of the Pi but since the display uses a 40 pin FPC I want to connect it directly to the LVDS connector of the Pi.
Comparing the BananaPi pinout (e.g. on Bananapi.org ) with the pinout of the display (on page 2 and 3 in the datasheet) you can see that it can't be connected one-to-one. Keeping that in mind I soldered the pins as follows:
| Pin Display|| Symbol Display|| CON2 Pin BananaPi|| Pin Name BananaPi|
| 8|| Rxin0-|| 11|| LCD0-D1|
| 9|| Rxin0+|| 9|| LCD0-D0|
| 11|| Rxin1-|| 15|| LCD0-D3|
| 12|| Rxin1+|| 13|| LCD0-D2|
| 14|| Rxin2-|| 19|| LCD0-D5|
| 15|| Rxin2+|| 17|| LCD0-D4|
| 17|| RxCLK-|| 23|| LCD0-D7|
| 18|| RxCLK+|| 21|| LCD0-D6|
| 20|| Rxin3-|| 27|| LCD0-D9|
| 21|| Rxin3+|| 25|| LCD0-D8|
I connected LED_PWM to PWM0 as well.
Furthermore, I used external power supplies for the different voltages such as the 5V for the LED backlight and the 3.3V for the logic etc. The values can be found in the display datasheet on page 6.
To further get the display and Pi operate synchronously I edited the script.bin of the Pi as follows:
(The timing of the display can be found in the datasheet on page 9.)
Concidering the driver constraints:
lcd_ht = (lcd_hbp+lcd_x+4)
lcd_vt = (lcd_vbp+lcd_y+2)*2
Apparently, after all these changes the display doesn't work like it should. I already measured the data inputs and the clock with an oscilloscope and didn't find any malfunctions. The clock is fine and the data is like it's supposed to be. Copy the Code
- disp_init_enable = 1
- lcd_used = 1
- lcd_x = 1280
- lcd_y = 800
- lcd_if = 3
- lcd_dclk_freq = 70
- lcd_hbp = 160
- lcd_ht = 1444
- lcd_vbp = 23
- lcd_vt = 1650
Did I miss any adjustments?
Do I have to somehow enable the CON2 connector first or set the connection as primary video output? (Which I thought I did while changing the script.bin ..)
I am certainly grateful for help or any advice!!