摘要
提出了在AM8EB057单片机上模拟I2C通信协议实现数据传输的方法,配合四片AT24C512实现了数据的写入与读出。对串行接口电路中串行信号的起始条件、停止条件及数据的地址位、读写位、应答位等I2C总线规范中的细节部分进行了具体的描述。最后给出了读写控制流程图,系统结构简单、硬件设计容易、资源消耗少。
The method of emulating I^2C communication protocol on AM8EB057 to implement data transmission is proposed. Combining with four of AT24C512 chips, data read and write are implemented. The details in specification of I^2C bus, i.e. the start condition, stop condition, and the data bit, address bit, read/write bit, and acknowledge bit, etc. , of serial signal of serial interface circuit are described concretely. The flowchart of read/write control is given. The system features simple structure, easy design and less consumption of resource.
出处
《自动化仪表》
CAS
2008年第4期60-63,共4页
Process Automation Instrumentation