Multi ATD Module Reading

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

Multi ATD Module Reading

1,007件の閲覧回数
Cn
Contributor I

Hello Forum I have a little question.

 

Does anyone have an idea how to read multiple channels of ATD module from M68MDEMO908GB60 because I want to read at the same time 3 analog signals..

 

If you have any code could you please post me in C code 

 

Thanks

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

779件の閲覧回数
peg
Senior Contributor IV

Hello Cn,

 

It's not rocket science.

You simply select the next channel with the SC register,then wait for the conversion to complete.

This may be by polling CCF of by interrupt.

Then you read the result and select the next channel and over and over.

 

0 件の賞賛
返信