USB controller / wing


alvieboy

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

 

Link to comment
Share on other sites

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.

 

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.