摘要
键盘经常作为嵌入式开发和应用的外设。使用Windows CE作为嵌入式操作系统,IntelR○公司的PXA255作为主控芯片进行嵌入式平台的开发时,由于Windows CE上提供了对PS/2键盘输入的支持,而PXA255本身不带PS/2控制器,所以不能直接使用PS/2键盘作为输入外设;如果对键盘的物理层传输端口进行变通,而传输的内容仍符合PS/2协议,则可以利用Windows CE自带的键盘驱动程序,实现高效的键盘输入;PXA255上集成有同步串口控制器(SSPC),所以使用基于8051核的通用单片机模拟同步串口作为键盘的物理层传输端口,来实现PS/2键盘输入。
Keyboard is often used in embedded applications. When Windows CE is used as embedded operation system and Intel PXA255 is used as the main chip to develop embedded system,PS/2 keyboard can not be used directly. The reason is that Windows CE provides the PS/2 keyboard input driver, but PXA255 without PS/2 port supply. If transport of keyboard input is made a transformation and the data format match to PS/2,the keyboard driver of Windows CE can be used directly. Being the SSPC on PXA255,an 8051 core MCU can be used to simulate a Synchronous Serial Port (SSP). We can use this SSP as physical transport to implement the PS/2 keyboard input.
出处
《现代电子技术》
2006年第14期83-84,87,共3页
Modern Electronics Technique