摘要
设计了一种USB3.0设备控制器固件,阐述了设备控制器固件的主要工作机制和运行过程,介绍了其中的主要模块(如DMA通道、GPIFII可编程接口、回调函数等)和基于实时操作系统的固件编程方法。所设计的固件程序包括实时操作系统和固件框架程序,在固件框架中GPIFII接口被配置为FIFO接口并且建立了一个自动DMA数据通道以实现数据的自动传输。经过实验测试,当有效数据传输速率为100 Mbyte/s时数据能够正确无误的传输、固件程序能够正常稳定的运行。
This article designs a kind of USB3.0 peripheral controller firmware and discusses the firmware working mechanism and running process of USB3.0 peripheral controller, it also introduces some main firmware modules (such as DMA channel, GPIFII interface, callback function, etc)and firmware programming method based on real- time operation system. The specific firmware designed includes both real-time operating system and firmware framework. In the framework, the GPIFII is configured as FIFO interface and an automatic DMA channel is established. Through experimental test, the data can be transmitted correctly and the firmware works stablely when the transmission speed of valid data is 100 Mbyte/s.
出处
《电子器件》
CAS
北大核心
2013年第3期383-388,共6页
Chinese Journal of Electron Devices
基金
国家重大专项项目(Y214010RN)