Input Capture of MC68HC908JK3E

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Input Capture of MC68HC908JK3E

1,003件の閲覧回数
peakgao
Contributor I

I use the chip is MC68HC908JK3E, select the timer's channel 1 to capture the external input square wave signal (100-250Hz) period. At the same time, according to the different period, I use timer's channel 0 output adjustable duty cycle square wave signal (20KHz). In the program, I constantly modify the TCH0H and TCH0L to change the duty cycle of the output signal. The current problems are: the capture signal cycle is not accurate, what are the reasons for this? Thank you!

Original Attachment has been moved to: code.txt.zip

ラベル(1)
0 件の賞賛
返信
0 返答(返信)