Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Rohit's vmodvga board in the firmware #30

Open
mithro opened this issue Aug 21, 2015 · 22 comments
Open

Support Rohit's vmodvga board in the firmware #30

mithro opened this issue Aug 21, 2015 · 22 comments

Comments

@mithro
Copy link
Member

mithro commented Aug 21, 2015

https://github.com/timvideos/HDMI2USB-vmodvga

@rohitk-singh
Copy link
Member

Coincidence! I was also thinking of porting it to misoc. Misoc & migen is
new and intriguing to me! Fascinating stuff! Only if I get the VGA capture
stable! @enjoy-digital might provide much-needed help/guidance/suggestion
in this!

On Sat, Aug 22, 2015 at 12:37 AM, Tim Ansell [email protected]
wrote:

https://github.com/timvideos/HDMI2USB-vmodvga


Reply to this email directly or view it on GitHub
#30.

@enjoy-digital
Copy link
Member

Feel free to contact me if you have question about misoc/migen.

@rohitk-singh
Copy link
Member

@enjoy-digital , Sure will do! Thanks!

@mithro
Copy link
Member Author

mithro commented Oct 1, 2015

@rohit91 How's it going? :)

@mithro
Copy link
Member Author

mithro commented Oct 24, 2015

@rohit91 ping?

@rohitk-singh
Copy link
Member

Current progress: https://asciinema.org/a/82naz6l6q3pupejkqx0cftcml
I2C is working good. AD9984A Initialization is getting properly done!

ToDo: Data capture from AD9984A. Still have to write code for that!

@rohitk-singh
Copy link
Member

@mithro there is also a problem. Using Ethernet (@2.5 Volts) along with VHDCI (@3.3 Volts) results in IO-Standard voltage conflict, since both Ethernet and VHDCI are on same bank, so different voltages is not possible.

We would have to redesign the VGA board with AD9984A's Output-pins' Voltage supply as 2.5V to make it work along with Ethernet. Would require change of 3.3V regulator to 2.5V regulator and, I guess, nothing else.

@mithro
Copy link
Member Author

mithro commented Oct 26, 2015

@rohit91 Great to see the progress. Want to push your code somewhere so we can take a look / help figure out the problems.

@mithro
Copy link
Member Author

mithro commented Oct 26, 2015

For now, we can just disable Ethernet right?

@rohitk-singh
Copy link
Member

@mithro Yes, that is how I'm using it for now :) Build fails on adding Ethernet core!

@rohitk-singh
Copy link
Member

@sealne
Copy link
Collaborator

sealne commented Oct 27, 2015

presumably though for the Opsis TOFE board we want to switch to 2v5?

@mithro
Copy link
Member Author

mithro commented Oct 27, 2015

The TOFE board needs to work at 3v3 level. The Ethernet in connected
differently to the Atlys.
On 27 Oct 2015 7:02 p.m., "sealne" [email protected] wrote:

presumably though for the Opsis TOFE board we want to switch to 2v5?


Reply to this email directly or view it on GitHub
#30 (comment)
.

@mithro
Copy link
Member Author

mithro commented Jan 10, 2016

How is it going @rohit91 - It looked like you almost have it working?

@rohitk-singh
Copy link
Member

I'm at the last stage. 2 days back, I tried a test capture. There was some semblance of working, but the output was messy. I will have to look where might be the problem.

@rohitk-singh
Copy link
Member

Yay! A awesome stable capture! It was just one-line fix! 😂
Commit: rohitk-singh/HDMI2USB-vmodvga-misoc@f21d856

Actual capture pics (all of them): https://drive.google.com/folderview?id=0B7Sp1NskALPdMjdQc1pBRExpZ1U&usp=sharing

@enjoy-digital
Copy link
Member

Congrats!

@xfxf
Copy link
Member

xfxf commented Jan 12, 2016

@rohit91 I have one of your VGA boards here if you want me to test it. That said I can see you have cables jumpered/soldered to your board in your pic?

@rohitk-singh
Copy link
Member

@enjoy-digital Thanks! :) But most of the heavy-lifting was already done by you! To quote Newton "If I have seen further, it is by standing on the shoulders of giants"

@xfxf Hi Ryan! :) You can try with your board without any modification. Main thing to test for is image capture stability without screen going blank. Expect getting output having very saturated colors. I'll have to fiddle with ADC's gain registers to correct those. Also, there might be random white dots on capture output. I'll look into those too. They are either due to AD9984A's incorrect register values or PCB noises (due to design or my poor hand soldering)

Just try the bit-file. FX2 firmware is not needed, since encoder is not present in the bit-file.
In HDMI2USB console, use help command, and you would see vga_switch on listed there. Use that to switch on the VGA capture. Output would be on HDMI_OUT0 (near DC Power jack of Atlys). status on command should show 806 HSYNCs per VSYNC for correct capture. Also before capturing, please make sure that the VGA source (laptop etc) is outputting 1024x768@60p . I've yet to add support for other resolutions! Please let me know of any issues! Thanks! :)
Bitstream file: https://drive.google.com/file/d/0B7Sp1NskALPdbGdWdkpYLW9rNEE/view?usp=sharing

@mithro
Copy link
Member Author

mithro commented Mar 1, 2016

@rohit91 ping? We should get this merged ASAP.

@rohitk-singh
Copy link
Member

@mithro Yeah. I'll look into it tonight and get it merged in 1-2 days max.

On Tue, Mar 1, 2016 at 9:01 AM, Tim Ansell [email protected] wrote:

@rohit91 https://github.com/rohit91 ping? We should get this merged
ASAP.


Reply to this email directly or view it on GitHub
#30 (comment)
.

@mithro
Copy link
Member Author

mithro commented Aug 10, 2016

Gateware support is in #215

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants