单片机与嵌入式系统应用
單片機與嵌入式繫統應用
단편궤여감입식계통응용
Microcontrollers & Embedded Systems
2015年
10期
55-58
,共4页
嵌入式Linux%驱动程序%S3C2440%时钟语音芯片%YF017
嵌入式Linux%驅動程序%S3C2440%時鐘語音芯片%YF017
감입식Linux%구동정서%S3C2440%시종어음심편%YF017
embedded Linux%driver%S3C2440%voice chip%YF017
将低成本的时钟语音芯片融入到嵌入式Linux系统中,不但可以丰富嵌入式设备的功能,而且可以降低开发成本。本文以ARM架构芯片S3C2440结合Linux2.6.22内核作为实例,开发出语音报时芯片YF017的驱动程序,并写出该驱动程序的上层应用程序。测试结果表明,通过上层应用程序可以准确地调用驱动程序,并使语音芯片发出相应的语音。
將低成本的時鐘語音芯片融入到嵌入式Linux繫統中,不但可以豐富嵌入式設備的功能,而且可以降低開髮成本。本文以ARM架構芯片S3C2440結閤Linux2.6.22內覈作為實例,開髮齣語音報時芯片YF017的驅動程序,併寫齣該驅動程序的上層應用程序。測試結果錶明,通過上層應用程序可以準確地調用驅動程序,併使語音芯片髮齣相應的語音。
장저성본적시종어음심편융입도감입식Linux계통중,불단가이봉부감입식설비적공능,이차가이강저개발성본。본문이ARM가구심편S3C2440결합Linux2.6.22내핵작위실례,개발출어음보시심편YF017적구동정서,병사출해구동정서적상층응용정서。측시결과표명,통과상층응용정서가이준학지조용구동정서,병사어음심편발출상응적어음。
Taking the low cost voice chip into the embedded Linux system ,it is not only can enrich the function of embedded system ,but also can reduce the cost of development .This paper develops the voice chip YF107 driver and the upper application program ,using ARM chip S3C2440 with Linux2 .6 .22 kernel as an example .The test results shows that the program can accurately call the driver through the upper application ,and the voice chip can send out the corresponding voice .