Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

XMC™ Forum Discussions

User7921
Level 3
Level 3
I'm trying to get the ADC003 app work with my external analogue multiplexer.
I'm using ADC003 App and I configured the App to have one channel, two mux-control-lines and running in sequence mode.
I configured P0.3 & P0.4 as control lines.

The ADC is running, I can read out the adc result, I can see the changing values in the debugger.
But the mux lines do not change.

Can anyone give me a hint, what (in addition to the settings in DAVE) must be configured to get the external mux running?

I'm thankful for any kind of help.

Michael
0 Likes
1 Reply
User7921
Level 3
Level 3
I solved the problem.

Dave did not set the bit for using the external mux in ADCCH001 when generating code.
Removing the app and re-applying finally set the bit.
Now it runs fine.

Is the only way to get the different analogue signals the usage of the result fifo?
Can't the ADC just scan the channels itselv and put them into different handles, like it does via the internal mux?


Michael
0 Likes