摘要
EZ-U SB F X2是 Cypress公司推出的 U SB 2 .0控制器 ,当用于高速数据采集系统时 ,其片内集成的 I2 C总线控制器可以很好地实现与一些串行外设的无缝接口。本文介绍了 EZ-U SB F X2芯片内集成的 I2 C总线控制器的特性 ,并详细说明了其应用于图像采集卡中 ,通过 I2 C总线对视频解码器 SAA7113 H寄存器的配置过程。最后给出了 EZ-U SB FX2实现配置过程的固件程序 ,包括 I2 C中断的设置 ,并在中断服务程序中采用汇编语言与 C5 1语言混合编程 ,提高系统的实时性。此种设计电路简洁 ,程序实现容易 ,具有很大的优越性。
Cypress′s EZUSB FX2 is the world′s first USB 2 0 integrated microcontroller, its integrated I 2C compatible controller can well connect some external devices with I 2C interface in highspeed data acquisition system In this paper, the characteristic of integrated I 2C compatible controller in EZUSB FX2 chip is introduced, and it applies in image acquisition system, Internal registers of video decoder SAA7113H are configured via I 2C Bus controlled by EZUSB FX2 In the last, the firmware program is provided In order to improve system′s speed, assemble language and C51 language has been adopted together in interrupt service routine This design has some strongpoints, such as circuit succinctness, realizable programming and so on
出处
《现代电子技术》
2005年第5期104-105,108,共3页
Modern Electronics Technique