Multi ATD Module Reading

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Multi ATD Module Reading

447 Views
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

Labels (1)
0 Kudos
1 Reply

219 Views
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 Kudos