Multi ATD Module Reading

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Multi ATD Module Reading

1,026 次查看
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 回复

798 次查看
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 项奖励
回复