5

RP2040(树莓派Pico) USB

 3 years ago
source link: https://www.taterli.com/7590/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

RP2040(树莓派Pico) USB

RP2040的C SDK中的USB基本上是用TinyUSB框架实现的,关于这个框架,建议到框架的GitHub页面去查看,因为都是USB,实际上都很通用,不妨参照下我之前写的<使用STM32CubeMX编写USB复合设备>这篇文章.

由于是普通的USB设备这里没什么好说的,在作为Device时候是FS(12Mbps),作为Host时候可以兼容LS(1.5Mbps)和HS(Mbps),如果需要真正学习调试,我建议先在其他平台上测试,到最后移植过来也是非常方便的.

好了,又水了一篇,最后附上TinyUSB的Repo地址:https://github.com/hathach/tinyusb


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK