Description: Receive code:
Sampling frequency of the received data: 16X9600HZ
Receive coding ideas:
Analyzing first start bit, the start bit is "1" state when no data is transmitted, when the data start bit is "0". Because the sampling frequency is 16 times the communication frequency, so that it is collected eight consecutive times (data bit is in the middle) to "0" when data soon. Can begin collecting data bits, a collection of data (the middle of each data after every 16 pulses, less prone to distortion of the part), 8 consecutive samples, i.e. to complete the acquisition of the data bit. Finally realize the serial-to-parallel conversion. So can be repeated. (Because the communication has an appointment, stop bits and parity bits are "1", the data will not have an impact.)
Sender coding ideas:
First determine Send Free Busy, if the transmission line is idle, you can read the data read in the data start bit "0". Because the data is parallel input, serial data bit and get to form, when the nu
To Search:
File list (Check if you may need any files):
chuankoufasong.rar
chuankoujieshou.rar
11.bmp