以DSP芯片TMS320VC5509A为主控制器、CH376为USB接口芯片构建了实时语音存储系统。实现了DSP的USB主机功能,可以将语音数据通过USB接口以文件的形式存储到便携的USB移动存储设备中。在设计系统软件时为了保证在采集、处理与存储的过程中不丢失语音样点,采用了准多线程的处理技术和多缓冲区数据存储模式。实验证明:在不影响实时语音采集的同时,往USB移动存储设备中存储的正确率达到100%。
DSP chip TMS320VC5509A as the main controller and CH376 as the USB interface chip build a real -time speech storage system. The DSP system which has USB host function can store the real - time speech data in the portable USB removable storage devices in the form of a file through the USB interface. Quasi - multi - threaded processing technology and multi - buffer data storage mode are used in order to guarantee without loss of speech samples in the process of acquisition, processing and storage. Experiments show that the correct rate of storage to USB removable storage device is 100%, at the same time real -time speech acquisition is not affected in the system.