This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to read adc in lab10 - Motorware

Other Parts Discussed in Thread: MOTORWARE

Good night,

I'm trying to do a analogical input to control the speed motor bldc. So I'm using perfectly the lab10 but I'm having some problems to read the analogical input.

I saw a example on controlsuit and it work well, but when I will try to do the same in lab10 the CCS show many incompatibility and does not work.

I have seen another way, initializing a adcHandle and using just this command :  value_temp = (_iq)ADC_readResult(obj->adcHandle,ADC_ResultNumber_8);

but it still not working...

I would like to ask if some one knows what I have to do in the lab10 for read a analogical input as the controlsuit example reads.

Please, I would like to know how I can do it works step by step.

thanks for all

best regards