The pixel-flickering went away when I switched back to "auto" setting.
Seems, that I don't need extra hardware... it's already good enough![]()
With 10 resistors to solder to pins and joins - plus the way I did GND (common across GNDs on middle offset row to pin 5 with 30 ga wire - then trimmed middle row pins to mount on PCB) - lots of room for errors on my end, or it could be low V on the sync lines with the 100E's?
I'll go to a CRT and try . . .
{edit} Found two CRT's - No luck - one does self test and told me "check my PC" . . .
qix67 - what compile options for the github code? 240 or 180 MHz?
Perhaps a multi-meter will tell me how my connections are . . .
Don't you have any problem to clear screen fast enough between frame ?
I plan to add a function to automatically clear screen using DMA at start of Vsync. DMA has a 16 bytes write which can clear screen very fast while CPU does something else and during Vsync, a 2nd DMA channel does not disturb pixel DMA channel.
On two displays connecting VGA:
>C64 code woke monitor - then it found 'Analog No Signal'
>Drawing test also got 'No Signal' but it didn't seem to wake it?
2 quick questions:
Should I include this library with Teensyduino 1.40?
Can someone post a video, showing the hardware used and results running on a monitor? Looking for something showing how it works, not just a close-up of the screen only.
I can see one potential problem with your change. To work properly, DMA channel must be <=15 (see uVGA.cpp line 213) because any other DMA channels belong to what seems to work like a 2nd DMA controller and have a lower priority in case of DMA conflict.
In your code, where are dmachan{1,2,3} declared ? I find them nowhere in teensyduino code.
I fear that the USB-HOST will show the same... i have no idea how to avoid that... and I really need that. No Chance without.
https://github.com/qix67/uVGA/pull/4/commits/c62906b8c8d67aa06f4bcb6d09ca5222455b173d
And yes, only the fist 15 channels are used. So, no problem.
But a problem is the malloc.. esp the first, for the lower sram - I used DMAMEM to make sure that it is at the beginning of RAM (DMAMEM uses a section at the beginning of SRAM_L). Can you support that somehow ? (Best would be to remove that malloc completely.. together with the fixed DMA Channels..but I understand, that dynamic modelines are not possible without that. Who cares ;-) I can't image a situation where a app need to change the resolution - would be no problem to make it at compile-time, not runtime.. with that malloc, it's not possible to use mores than 64K for variables...
One more thing to check: Is the use of your timer compatible to other libs ?
Last wish: move the frame_buffer from private to public.
A minor observation: Serial.print results in pixel-flicker - not only when printing. It's enough to open the Arduino Serial Monitor. The Pixels keep flickering in this case. Ok, not so important in my case.. but nice to know.
I fear that the USB-HOST will show the same... i have no idea how to avoid that... and I really need that. No Chance without.
Yes. Flickering. :-(
Can you post the schematics for the additional hardware ? I want to make/order testboards..
Multimeter just pointed out that indeed I improperly translated top and bottom rows as presented and soldered on the PCB
Looking at the face I saw it properly - the but when upside down and faced away I treated the true bottom row as the top. So I get to do it again.
#defines would help (?!)Changing the resolution no but using the same library between different projects not using the same resolution.
I really understand your problem. This morning, when upgrading my domotic circuit, I noticed I inverted the wires of all RJ45 connectors which permute 3.3V and GND signalsI still wonder how all components still work.
USB-HOST : Causes flickering.