Font Size: a A A

Design Of Data Storage Module And Communication Module In Inkjet Printer Based On DSP

Posted on:2008-10-09Degree:MasterType:Thesis
Country:ChinaCandidate:D Y XiaoFull Text:PDF
GTID:2132360242478646Subject:Precision instruments and machinery
Abstract/Summary:PDF Full Text Request
With the development of the economy, the progress of the society and the improvement of people's living standard in our country, more and more customers pay attention to the product information on the packing. Many corporations wish to meet the customers' requirements, enhance the products' attraction and stop counterfeits, so they begin attaching importance to the identification code of the products. On the product line, using the Inkjet Printer to print the product information has advantages of clarity and permanence.This paper is part of a project which aims to develop a Inkjet Printer. There are two problems that will be solved in this paper. First problem is how to store the print data. Second problem is how to download the data from the computer. The main researches are described as follows.First, considering the fact that the Inkjet Printer must work on the product line for a long time, a controller that should be low power consumption and have ability to process different operations is needed in the system, so TMS320VC5402 DSP is chosen as the hard core of the Inkjet Printer. Compact Flash Card is used as the mass storage media in the system. The hardware interface of CF card and TMS320VC5402 is designed through a Complex Programmable Logic Device (CPLD) chip, which is developed in the MAX+PLUS II development environment to realize the logic functions. The circuit diagram of the hardware interface is accomplished by use of Protel 99 SE.Second, software characteristics, registers and injunctions of TMS320VC5402 and CF card are studied and analyzed. Then according to functions that need be realized, driver of CF card is divided to several subroutines and designed respectively. FAT16 file system is constructed in CF card in follow approaches: analyzing the composing of the system, dividing the program in to several subroutines, writing and compiling the codes respectively. Operations which consist of finding a file, reading a file, establishing a file, writing a file and deleting a file will be realized by accomplishing this design.Third, serial communication between DSP and computer is implemented using McBSP and DMA controller. Circuit diagram of the hardware interface is designed too. Software is divided to two parts: DSP communication routine and upper computer communication routine. After studying the registers of McBSP and DMA controller, analyzing the processes of data transmission and reception, DSP communication routine is designed to make DSP transmit data to computer and receive data from computer. Upper computer communication routine is developed in Visual Basic 6.0 integrated development environment, with the reason that text file and picture file are open in different modes in VB development environment, functions of transmit characters, receive characters, transmit pictures and receive pictures are realized by designing different subroutines.Finally, data storage module and communication module are debugged. The debugging is accomplished in two steps: first step is software debugging; second setup is hardware simulation debugging. Then the researches that have been done for this project are summarized.
Keywords/Search Tags:Inkjet Printer, TMS320VC5402, Compact Flash Card
PDF Full Text Request
Related items