›› 2013, Vol. 26 ›› Issue (6): 85-.

• 论文 • 上一篇    下一篇

基于Blackfin 533 SPORTs口的USB主从接口设计

孙昊,吴子贤,王加加   

  1. (西安电子科技大学 电子工程学院,陕西 西安 710071)
  • 出版日期:2013-06-15 发布日期:2013-06-04
  • 作者简介:孙昊(1989—),男,硕士研究生。研究方向:电子设计自动化与嵌入式技术。E-mail:xdsunhao@163.com。吴子贤(1987—),女,硕士研究生。研究方向:电子设计自动化与嵌入式技术。王加加(1989—),男,硕士研究生。研究方向:电子设计自动化与嵌入式技术。

Design of a Host/Slave USB Interface Based on SPORTs of Blackfin 533

SUN Hao,WU Zixian,WANG Jiajia   

  1. (School of Electronic Engineering,Xidian University,Xi'an 710071,China)
  • Online:2013-06-15 Published:2013-06-04

摘要:

采用SPI接口协议实现了SPORTs口与CH376的通信。描述了一种基于USB主从接口芯片CH376与Blackfin 533的通信设计方案,包括SPORTs口的接口配置、USB模块的硬件设计、驱动程序、CH376芯片的驱动程序等。实现了DSP对USB存储设备的读写访问,以及计算机与DSP的通信,实验表明,整个设计可实现对U盘的快速读写,并方便与PC机进行通信。

关键词: SPORTs, SPI, CH376, USB

Abstract:

This design realizes the communication of SPORTs and CH376 by using SPI interface protocol.This article describes the design of Host/Slave USB Interface based on SPORTs of Blackfin 533 DSP,including the configuration of SPORTs interface,the hardware and USB driver,the driver of CH376 chip and so on.It achieves the writing and reading access from DSP to the USB storage device and the communication between the computer and DSP.According to the tests,the overall design can realize fast writing and reading on the U disk and easy communication between the DSP and PC.

Key words: SPORTs;SPI;CH376;USB

中图分类号: 

  • TP335