摘要
分析双通道低成本A/D转换器CS5550的接口特点,以ATmega16单片机为例设计CS5550与单片机的接口电路。经过对ATmega16单片机SPI口的分析,详细讨论使用硬件SPI接口和软件模拟SPI两种方式的程序设计,并给出相应的软件流程图。最后对CS5550的两种接口方式进行比较。
The interface features of two-channels,two-cost A/D converter CS5550 are analyzed.Using ATmega16 microcontroller as an example,the interface circuit of CS5550 and mierocontroller is designed.After analyzing the SPI interface of ATmega16,hardware SPI interface and software-emulated SPI are fully discussed as two methods of interface program design. The corresponding software flowcharts are given. Finally, the two interface modes of CS5550 are compared.
出处
《电子设计工程》
2010年第1期49-51,共3页
Electronic Design Engineering