论文部分内容阅读
研究了示波器中串行总线解码的软件和硬件实现方法的区别,针对软件触发解码耗时长、效率低、实时性差的缺点,提出了一种用FPGA实现示波器中串行总线解码的硬件实现方法。通过在实际产品中的应用,完成了RS-232、SPI、USB及LAN等串行总线的触发和解码。首先讨论了软件解码和硬件解码的原理,接着详细介绍了一种用FPGA实现硬件解码的过程,最后以RS-232总线解码为例实际验证了该方法的可行性。
The difference between the software and the hardware implementation of the serial bus decoding in the oscilloscope is studied. Aiming at the shortcoming of the software triggering decoding, such as long time consuming, low efficiency and poor real-time performance, a hardware implementation method to realize the serial bus decoding in the oscilloscope by FPGA is proposed. Through the application in the actual product, has completed the RS-232, SPI, USB and LAN serial bus such as triggering and decoding. First, the principle of software decoding and hardware decoding is discussed. Then a hardware decoding process using FPGA is introduced in detail. Finally, the feasibility of this method is verified by an example of RS-232 bus decoding.