FTDI EVE3 GPU --> VGA
Rayman
Posts: 14,646
Here's another way to use the EVE series of GPUs with P2.
Previously used ADV7125 to convert 24-bit colors to VGA: http://forums.parallax.com/discussion/172283/ftdi-eve3-gpu-vga
Here I'm using the P2 to convert the 24-bit colors to VGA using DACs.
Also using P2 to generate clock for EVE3 chip.
So far, got regular VGA mode, 640x480, working.
May not be able to get much better with this board because the color pins aren't in the best position.
I need a shift to get them in position.
I'm currently using 2 cogs to do this. One just parrots the EVE3's sync signals. The other parrots the colors.
Here's the infinite loop that reads the 24-bit colors from INB and then sends it to DACs:
If the colors where on better pins, could get rid of the mov and the shl instructions and probably get higher resolution.
But, I should be able to at least see if a higher resolution will work on a better board.
Previously used ADV7125 to convert 24-bit colors to VGA: http://forums.parallax.com/discussion/172283/ftdi-eve3-gpu-vga
Here I'm using the P2 to convert the 24-bit colors to VGA using DACs.
Also using P2 to generate clock for EVE3 chip.
So far, got regular VGA mode, 640x480, working.
May not be able to get much better with this board because the color pins aren't in the best position.
I need a shift to get them in position.
I'm currently using 2 cogs to do this. One just parrots the EVE3's sync signals. The other parrots the colors.
Here's the infinite loop that reads the 24-bit colors from INB and then sends it to DACs:
FastPixelLoop rep @.end3,#0 'loop forever mov c,inb waitse2 shl c,#8 setdacs c .end3
If the colors where on better pins, could get rid of the mov and the shl instructions and probably get higher resolution.
But, I should be able to at least see if a higher resolution will work on a better board.
Comments
There was a bug in the Matrix Orbital library that set me back a while...
It wouldn't draw numbers because the command# for that was wrong...
Fixed like this:
but, need to add user input somehow to tell for sure...