在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 572|回复: 1

[原创] 用Malogic FPGA Board 上的Cy7c68000实现了USB to UART(全速)

[复制链接]
发表于 2023-10-6 09:38:16 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
本帖最后由 dodoee 于 2023-10-6 15:00 编辑

       这几天用Malogic FPGA Board上的 cy7c68000 高速/全速 PHY 实现 了USB to UART(全速),电路和芯片是正常的。有空了,还要实现 U Disk 枚举,出这个USB Core 的视频课,包括USB 协议。想要学USB 芯片设计的,可以去我的店里看看 Malogic FPGA Board。 微信图片_20231005224810.jpg 微信图片_20231005224817.jpg 微信图片_20231005224822.jpg

我用的USB Core 的链接 及介绍:
### USB CDC Device

Github:   [http://github.com/ultraembedded/core_usb_cdc]
(https://github.com/ultraembedded/core_usb_cdc)

This component is a simple USB Peripheral Interface (Device) implementation which
enumerates as either a high-speed (480Mbit/s) or full-speed (12Mbit/s) CDC-ACM device.

This IP has a simple fifo interface (valid, data, accept) for input and output data,
and an UTMI interface for connection to a USB PHY.

##### Features
* High or Full speed USB CDC device.
* Enumeration in hardware - no SW intervention required.
* UTMI PHY interface (see my UTMI to ULPI Conversion wrapper project to allow
connection to a ULPI PHY e.g. USB3300)
* Simple 8-bit data input / output interface with handshaking
(compliant with a 8-bit wide AXI4-Stream interface).

##### Configuration / Requirements (Full Speed (12Mbit/s))
* Top: usb_cdc_core
* Clock: clk_i - 48MHz or 60MHz
* Reset: rst_i - Asynchronous, active high
* VID/PID can be changed in usb_desc_rom.v
* Param: USB_SPEED_HS = "False"

##### Configuration / Requirements (High Speed (480Mbit/s))
* Top: usb_cdc_core
* Clock: clk_i - 60MHz
* Reset: rst_i - Asynchronous, active high
* VID/PID can be changed in usb_desc_rom.v
* Param: USB_SPEED_HS = "True"

##### Limitations
* Really basic USB-CDC class device implementation, will ignore encap,
line state and line coding change requests!
* USB suspend/resume will not work correctly.

##### Testing
Verified under simulation then tested on FPGA against Linux, Windows and MAC OS-X.

##### References
* [USB 2.0 Specification](https://usb.org/developers/docs/usb20_docs)
* [UTMI Specification](https://www.intel.com/content/da ... e-specification.pdf)
* [ULPI Specification](https://www.sparkfun.com/datasheets/Components/SMD/ULPI_v1_1.pdf)
* [USB Made Simple](http://www.usbmadesimple.co.uk/)
* [UTMI to ULPI Conversion](https://github.com/ultraembedded/cores/tree/master/ulpi_wrapper)
* [USB Full Speed PHY](https://github.com/ultraembedded/core_usb_fs_phy)



 楼主| 发表于 2023-10-6 09:43:03 | 显示全部楼层
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /2 下一条

×

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-5-22 07:52 , Processed in 0.020165 second(s), 7 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表