Font Size: a A A

The Design Of Software Module Analysis Of Digital Oscilloscope Serial Bus Protocol

Posted on:2016-02-25Degree:MasterType:Thesis
Country:ChinaCandidate:J ZhangFull Text:PDF
GTID:2282330503977510Subject:Information and Communication Engineering
Abstract/Summary:PDF Full Text Request
With the development of serial bus technology and extensive application, the design of digitial oscilloscope with the function of serial bus protocol analysis has become a necessary demand. Some foreign high-grade digitial oscilloscopes are integrated with serial bus protocol analysis function, but the technology of our country is relatively backward.Aiming at this situation, this paper mainly completed the software design and analysis of digital oscilloscope serial bus protocol. The entire software which is based on industrial computer and Windows operating system, can be divided into three main modules:the message processing module, parameter setting module, serial bus protocol analysis module. The main contents of this thesis are:1. Comparing with the domestic and foreigndigital oscilloscope serial bus protocol, to realize this project targets and implementation plan of explanation and demonstration. Including hardware framework, software platform and software development environment is introduced.2. The main task of the message processing module is that analysis task demands and difficulties and then puts forward the realization scheme. Create a message receiving threads and message processing thread, use a variety of methods to realize the synchronization between the threads, use serial port communication technology, complete thereceiving and sending keyboard message.3. The main task of the parameter setting module is that analysis task demands and requirement, divide the parameter types into command parameters and data parameters, and realize the setting of the two kinds of parameters respectively. The design of the panel where the data occurs is high fixed method and algorithm, and the data is sent to FPGA to realize information exchange.4. In the serial bus protocol analysis module, the first task is analysis the data sources which is used to protocol analysis, and then elaborate the detailed method of digital label, realize the serial bus digital waveform, the list of events, event search function according to the protocol specification. Use KMP search algorithm which is low time complexity to realize event search function.Finally, debugging, testing, validation of each function module, using the method of comparison with Tektronix oscilloscope decoding results, analysis the problems encountered during commissioning and slove. After verification, the decoding, events list and event search functions of the three serial bus are correct, and the whole operation system is stable.
Keywords/Search Tags:Digital oscilloscope, Serial bus, Protocol analysis, I2C,SPI,I2S
PDF Full Text Request
Related items