节点文献
液晶模块的接口扩展
Interface Expand of Liquid Crystal Module
【摘要】 具有串行接口的外围器件使用时可简化系统结构,增加应用的灵活性。而大多数液晶模块一般采用并行数据总线接口,占用主控制器的I/O端口较多。文中以LCM320240ZK液晶模块为例,采用P89LPC932A1单片机对其进行控制,把它扩展成具有UART、I2C、SPI这3种串口的接口方式,从而使液晶器件的应用更加灵活、方便。
【Abstract】 It can simplify system structure and be convenient for application by using peripheral with serial interface. But a mass of LCM always adopt parallel data bus interface, so the master controller must have many I/O ports to connect it. In this paper, the interface of LCM320240ZK is expanded into UART, I2C and SPI serial ports, with P89LPC932A1 microcontroller to control it. So the LCM device can be more flexible and convenient to be used.
【关键词】 P89LPC932A1;
LCM320240ZK;
UART串口;
I2C总线;
SPI串口;
【Key words】 P89LPC932A1; LCM320240ZK; UART; I2C; SPI;
【Key words】 P89LPC932A1; LCM320240ZK; UART; I2C; SPI;
- 【文献出处】 电子工程师 ,Electronic Engineer , 编辑部邮箱 ,2005年07期
- 【分类号】TN873
- 【下载频次】107