电子器件Issue(3):579-582,4.DOI:10.3969/j.issn.1005-9490.2014.03.043
基于STM32的PS/2数字键盘通信协议模拟与实现
Simulation and Realization of PS/2 Digital Keyboard Communication Protocol Based on STM32
张根宝 1李露1
作者信息
- 1. 陕西科技大学电气与信息工程学院,西安710021
- 折叠
摘要
Abstract
In order to widely use the digital keyboard in industry, it weaks to solve the cost of digital keyboard hardware circuit designing and the problem of conveniences of digital keyboard modularization using. By the study of PS/2 communication protocol,using the STM32 micro controller I/O Pin 5 V tolerant function,eliminating the in-consistency of electrical level of PS/2 and STM32 , a simulation method for PS/2 communication protocol is put forward. The method that used the software algorithm programming solved data communication and function realization from keyboard to STM32. After Keil software simulation and the test and verification of instrument,the expected results are obtained.关键词
PS/2/通讯协议模拟/STM32/Cortex-M3/外部中断Key words
PS/2/communication protocol simulation/STM32/Cortex-M3/external interruption分类
信息技术与安全科学引用本文复制引用
张根宝,李露..基于STM32的PS/2数字键盘通信协议模拟与实现[J].电子器件,2014,(3):579-582,4.