Sorry dude, but this is not possible! You can't use DPI and GPIO in parallel because DPI is an alternate function of the GPIOs.mortaca wrote:Hi, I hope you can help me with this modification.
I want to use UART and at the same time DPI, I decompiled dpi24.dtbo and have disabled GPIO 14-15 and enable 10-11
Now, how do I can make a custom mode for dpi_output_format?
For example a change in the mode 6, something like this;
Mode 6 original - - 7 6 5 4 3 2 - - 7 6 5 4 3 2 - - 7 6 5 4 3 2
Mode 6 custom - - 7 6 5 4 3 2 - - 7 6 - - 5 4 3 2 7 6 5 4 3 2
this is not possible since there is no such thing as 'custom DPI mode'. Which color is related to what GPIO is given by SOC hardware (GPU)mortaca wrote:That table know her well, my example is based on it, but in Mode 5 pins 10 and 11 is output green, is not possible to use the GPIO from 4 to 13 in Mode 5 and from 16 to 25 in mode 6?
Example Custom mode NOT WORKING:
Another combination is use mode 7 changing rgb_order and lose two bits of the blue, but I would not like to lose a couple of bits of colour.
I think many people see this and not understand anything.output_format = (dpi_output_format >> 0) & 0xf;
rgb_order = (dpi_output_format >> 4) & 0xf;
output_enable_mode = (dpi_output_format >> 8) & 0x1;
invert_pixel_clock = (dpi_output_format >> 9) & 0x1;
hsync_disable = (dpi_output_format >> 12) & 0x1;
vsync_disable = (dpi_output_format >> 13) & 0x1;
output_enable_disable = (dpi_output_format >> 14) & 0x1;
hsync_polarity = (dpi_output_format >> 16) & 0x1;
vsync_polarity = (dpi_output_format >> 17) & 0x1;
output_enable_polarity = (dpi_output_format >> 18) & 0x1;
hsync_phase = (dpi_output_format >> 20) & 0x1;
vsync_phase = (dpi_output_format >> 21) & 0x1;
output_enable_phase = (dpi_output_format >> 22) & 0x1;
Dear sigmaris,sigmaris wrote:I was able to use the VGA-666 board to display on a Phillips CM8833-II monitor, which was formerly used with an Amiga 500. T
mariusrdv wrote:Hello guys,
So, I have a sharp LQ038Q5DR01 lcd, and tried to use dpi connection. All looks good except grey scale colors. Tried a lot of configurations but result is the same. Problem is as here http://blog.reasonablycorrect.com/raw-dpi-raspberry-pi/
but I do not use any breadboard, raspberry pi 2 and lcd connected with 20cm(I think) wires.
Here is my images https://goo.gl/photos/KZwVV4gBNXahSyiD7
Reference image is http://reasonablycorrect.com/wp-content ... orbars.gif
Could it be that wires are too long ? I dont have shorter to try. What other problems could be ?
Btw, lcd itself is 18bit color, but custom exposed 40pin connector(came with lcd) uses 16bit(rgb 565)
Here is my config.txt
# For use with the adafruit 5' tft only.
hdmi_timings=320 0 0 0 72 240 0 0 0 5 0 0 0 0 0 3840000 1
I used the DE-9 Analog RGB connector, and connected the R, G, B, HSync, VSync and Ground pins to the corresponding VGA pins. Using SCART won't be quite the same as it only has a Composite Sync pin - you might get it to work with a circuit to combine the H and V sync into Composite.starquake wrote: What port on the CM8833-II did you use? Did you use the SCART connector? I have a CM8833 mk1 which only has the SCART connector.
Thisc is about https://www.raspberrypi.org/forums/view ... 24#p657497