Pulse width measurement using eight-bit serial microprocessor
摘要
The pulse width measurement method is operated by interrupt signals. The microprocessor comprises an pulse input unit, an 8-bit serial peripheral section (SPI) (1), a reference signal transmitter (2) and an interrupt processing unit (3) which is coupled in parallel with the SPI and controls a computer. Incoming pulses enter the SPI through a data input point (D) and the interrupt processor unit through an interrupt-point (INT), the start of measurement being determined by the interrupt processor. The SPI receives the pulse synchronously with 8 reference pulses and thereby measures it, after which an interrupt is produced to halt the test process.