I read many things but still don't know what I can do or not.
In hardware there are to channels that can be set in K60 processor with configuration register ADCx_SC1A and B.
How do I have to setup everything to start a conversion of those 2 channels and get one interruption when both are finished?
I use tower TWR-K60F120M and configured the PE to generate the code. Depending the configuration the interface allow, or not, the use of 2 channels. (Discontinuous mode)
I check the all the ADC registers details in the reference manual, my conclusions at this point are :
- Both ADC channels have to be started separately.
- SC1A can start by software or hardware trigger.
- SC1B only hardware trigger.