Can SCM PCA measure 1 second pulse width
Yes, as long as the code is edited correctly, it can be measured in general. Stc12c series enhanced single chip microcomputer expands the functions of basic 51 single chip microcomputer, such as providing pca/pwm interface, and the timer can work in 1t mode (the clock of basic 51 single chip microcomputer is 12 division of FOSC, and 1 Division in 1t mode). PCA can be used for pulse width measurement. However, protees does not support the simulation function of this series of single-chip computers for the time being, and it is troublesome to burn repeatedly, so it is better to use basic 51 single-chip computers to realize this function first, and PCA is used to measure pulse width in the following blog posts. After tmod's highest gate is set, TN start counting is affected by INTN (pin3.3) and TRN: TRN is 1, and TN is allowed to count only when INTN pin input is at high level. With this function, the width of positive pulse on INTN can be measured.