摘要
I2C总线构成简单,使用灵活,被广泛应用于嵌入式产品设计。多片体积小、成本低的单片机作为主机共享总线并行处理,能够解决单机处理资源、实时性不足的问题,为复杂的应用需求提供了低成本高性能的解决方案。介绍了多主机系统硬件设计中布线和组合逻辑电平不同部分的方法,提出了一种解决总线竞争的软件方法并给出实现代码。
The structure of I^2C bus is simple and flexible, widely used in design of embedded products. Small size and low price microcontrollers that share the bus and perform parallel process can resolve resource constraint and real-time deficiency problem occurring on single processor, and provide a low cost and high performance scheme for complex applications. How to design hardware layout and combination of logic level in multi-host system is described, and a software method to resolve the bus competition is presented, and the realized code is given.
出处
《无线电工程》
2008年第8期55-57,共3页
Radio Engineering
关键词
I^2C串行扩展
单片机
并行处理
嵌入式
I^2C serial extension
single chip microcontroller
parallel process
embedded system