Design and Application of CDC & MSC Composite Device Based on USB Interface

Pu Zekun, Shen Yong, Chen Lvchao

Integrated Circuits and Embedded Systems ›› 2023, Vol. 23 ›› Issue (7) : 53-56.

PDF(1133 KB)
PDF(1133 KB)
Integrated Circuits and Embedded Systems ›› 2023, Vol. 23 ›› Issue (7) : 53-56.
NEW PRODUCT & TECH

Design and Application of CDC & MSC Composite Device Based on USB Interface

  • Pu Zekun, Shen Yong, Chen Lvchao
Author information +
History +

Abstract

In this paper,according to the actual embedded project development process,a USB interface is needed to realize the composite function of virtual serial port communication and external Flash chip to do virtual U disk.A kind of CDC and MSC composite device based on USB is designed.The design takes STM32F407 series single chip microcomputer as the core,designs the SPI interface circuit of USB interface circuit and external Flash chip,modifies the underlying driver function,various descriptors and initialization code in USB device library driver,and finally completes the design of USB composite device.After testing the function of USB composite device,this design can not only realize USB virtual serial communication,but also realize the function of virtual U disk,which is convenient for the design and development of embedded system.

Key words

STM32F407 / USB / CDC / MSC / W25Q128

Cite this article

Download Citations
Pu Zekun, Shen Yong, Chen Lvchao. Design and Application of CDC & MSC Composite Device Based on USB Interface[J]. Integrated Circuits and Embedded Systems. 2023, 23(7): 53-56

References

[1] Kim Otten.嵌入式应用中的USB主设备功能[J].今日电子,2009(5):57-58.
[2] 陈旭辉,杨红云.USB接口的虚拟多串口通信设备设计[J].单片机与嵌入式系统应用,2020,20(4):18-21.
[3] 王晓静.基于USB接入技术的煤矿安全监控系统传输接口设计[J].考试周刊,2011(62):152-153.
[4] 李智敏.USB虚拟串口通信实现[J].电子科技,2014,27(3):120-122.
[5] 徐庆坤,于庆,房齐.基于STM32F4的USB数据存储[J].内江科技,2018,39(8):20,141.
[6] 张良.基于USB主机技术的机车故障数据转储技术研究[D].北京:北京交通大学,2010.
PDF(1133 KB)

Accesses

Citation

Detail

Sections
Recommended

/