alvieboy Posted April 17, 2016 Author Report Share Posted April 17, 2016 Libraries: USB - http://alvie.com/files/zpuino-library-usb-1.0.zip MTP (uses USB) - http://alvie.com/files/zpuino-library-mtp-1.0.zip Quote Link to comment Share on other sites More sharing options...
rpflaum Posted April 18, 2016 Report Share Posted April 18, 2016 Please share the OV7670 controller+USB also Thanks Quote Link to comment Share on other sites More sharing options...
alvieboy Posted April 21, 2016 Author Report Share Posted April 21, 2016 Ok here's a bundle. It uses the previous USB and MTP libraries. HDL: http://alvie.com/files/papilio_pro_dist-ov7670.zip Sketch: http://alvie.com/files/ov7670-demo.zip JPEG lib (replace the old version shipped with ZPUino): http://alvie.com/files/zpuino-jpeglib9b.zip Check the toplevel file for hints regarding camera connection. The USB wing goes into Wing-C low (0-7). If you manage to get it running I'll send you more details on how to associate the Windows driver. Alvie Quote Link to comment Share on other sites More sharing options...
Jack Gassett Posted April 27, 2016 Report Share Posted April 27, 2016 Awesome! I just got Alvie's OV7670 demo working with the USB Wing and it is great. I just downloaded the datasheet for the TUSB1106PWR and identified 8 free pins in the Papilio Pro design that can be used to replace the FT2232 chip with this much lower cost and more flexible option. Just need to figure out how to trigger a reboot/reconfiguration. Jack. Quote Link to comment Share on other sites More sharing options...
alvieboy Posted April 28, 2016 Author Report Share Posted April 28, 2016 7 hours ago, Jack Gassett said: Awesome! I just got Alvie's OV7670 demo working with the USB Wing and it is great. I just downloaded the datasheet for the TUSB1106PWR and identified 8 free pins in the Papilio Pro design that can be used to replace the FT2232 chip with this much lower cost and more flexible option. Just need to figure out how to trigger a reboot/reconfiguration. Jack. I already know how to do that. But remember the initial plan is to support a HS phy instead like USB3300 (UTMI+/ULPI interface). Once we get it working with my prototype I think we can evaluate switching to 480Mbit, and also OTG support. I think you will need 12 pins for that one, though. Perhaps we can use some of the JTAG/CONF pins too? Quote Link to comment Share on other sites More sharing options...
Jack Gassett Posted April 28, 2016 Report Share Posted April 28, 2016 I found the 8 pins needed for the TUSB1106 but 12 pins might be difficult, going to take a look at the design again. Jack. Quote Link to comment Share on other sites More sharing options...
alvieboy Posted April 28, 2016 Author Report Share Posted April 28, 2016 +1: get rid of SDRAM CKE. We always tie that to '1'. +2: get rid of LED Quote Link to comment Share on other sites More sharing options...
Jaxartes Posted April 29, 2016 Report Share Posted April 29, 2016 Regarding SDRAM CKE: I'll point out that the data sheet's "recommended power-up sequence for SDRAM" includes bringing CKE low and then high again. Although it doesn't say how long it needs to be low -- Hamster's SDRAM controller only does it for a single clock cycle, no longer, so it probably doesn't make any difference. Quote Link to comment Share on other sites More sharing options...
alvieboy Posted April 29, 2016 Author Report Share Posted April 29, 2016 We can add a RC if needed, just to raise it slowly during startup if needed. My SDRAM controller does not at use CKE at all, but the pin may have been ground when the board powers up. I guess we can do some testing first. Quote Link to comment Share on other sites More sharing options...
Jack Gassett Posted April 29, 2016 Report Share Posted April 29, 2016 With the Papilio Pro I can find 10 pins that we can use: Quote Link to comment Share on other sites More sharing options...
Jack Gassett Posted April 29, 2016 Report Share Posted April 29, 2016 That leaves us 2 short of what we need for the high speed USB3300 chip... Maybe we can share two Wing pins? Jack. Quote Link to comment Share on other sites More sharing options...
alvieboy Posted April 30, 2016 Author Report Share Posted April 30, 2016 Those can be problematic due to need of pullup/pulldowns, and 60MHz USB bus will definitely not like it. I understand there exist some DDR USB chips, that only use 4 data pins. Their availavility is low, however. Honestly, I'd prefer to share some signals with the WING_B pins for example. Eventually in such a way that official wings would still work. Quote Link to comment Share on other sites More sharing options...
Jack Gassett Posted May 3, 2016 Report Share Posted May 3, 2016 Hmmm, Maybe it is time to experiment with a Papilio Nano format, where the Wing_B pins are removed and dedicated to high speed serial and the whole board is shrunk down to DIP size... Jack. Quote Link to comment Share on other sites More sharing options...
Jack Gassett Posted June 7, 2016 Report Share Posted June 7, 2016 Hey everyone, Well I got inspired and put together a Papilio Nano board as a result of this thread and Alvie's awesome work on the USB Wing. Please take a look here: Jack. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.