| A variety of streams with different image forms and scanning, coding parameter are needed in some researching fields, for example :researching digital TV(television) system, exploiting digital TV products, supervising the running of digital TV system and maintaining the digital TV devices.And the interface USB has the advantage of convenience and speed, it developed very quickly. The speed of USB2.0 is as high as 480Mbps. So USB2.0 becomes one of the PC general purpose interface bus.So this project perfects and develops the digital TV transfer stream creating, analysis, error_ inspection, outputting and getting system.The transform between USB2.0 and ASI, SPI is the main function of our system. So we analyze the interface of USB2.0, SPI and ASI carefully. Through this, we discuss the possible designs of the transfer code of digital TV outputting and getting.To finish the system, we should solve several tasks: dealing with the data packets of USB2.0; setting a cache, to solve the problem of the difference of transfer speed; to the in and out system into one card, we should solve the circuit logical well; we must get the synchronous clock.The main functional modules of the system are:1. The MCU module: CY7C68013 is one kind of chips which designed for the USB2.0 interface, it can treat with the data package of USB, and there are an 8051, it can control the system very well,2. The clock output module: we chose the chip of AD9833 to finish this function.3. Logic control module: we chose the chip of EPM7128S.4. Cache module: we chose the chip of IDT72V2111. It is a FIFO.To transfer the data correctly, we must have a functional transfer protocol. The chip of CY7C68013 is the core in the protocol. We use the two external interrupt of CY7C68013 to control the data transfer. And from this protocol we finish the software part, such as the firmware of the chip of CY7C68013, setting of the chip of AD9833, the programmer of CPLD, the driver designing of the USB interface.During the developing, we do a lot of tests to perfect the system. We have two system for test, one is Real-time playing system, the other is store and play system. Through these system, we find and sovle so many bugs. Now our test card can finsh... |