摘要 |
PROBLEM TO BE SOLVED: To provide a technique capable of sharing exact time with little error from each other among nodes.SOLUTION: A master node and a slave node constituting a communication system are bus connected with a common communication path, and configured to be capable of communicating by PWM communication with each other. The master node operates based on a reference clock signal supplied by a crystal oscillator and outputs a periodic PWM signal. On the other hand, the slave node 50 detects falling edges of the PWM signal by an edge detection circuit 75, and generates a reference clock signal RCK2 of a cycle corresponding to the edge interval by a clock generation circuit 72. A microcomputer 60 of the slave node 50 operates and clocks on the basis of the reference clock signal RCK2. Furthermore, the microcomputer 60 of the slave node 50 corrects time clocked by itself on the basis of clock information included in data RxD received from the master node by PWM communication. |