porting XMC4500 to XMC4700 VADC w/EXT MUX issues

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

cross mob
User15886
Level 1
Level 1
Hi -
we have a replaced the XMC4500 with a XMC4700 to take advantage of the faster speed on a working board, but with the XMC4700 installed and have one issue.

The board is a motor controller, running PWMs, CAN, and Sync ADC modules, but we are having an issue with a Queued ADC that is connected to an external mux.

The external mux is configured for 8 channels (the EXTMUX signals are clocking as expected) configured to go into Channel 3 on ADC Kernal 0. Only the external mux is on the queue.

The code triggers the queued conversion every second by SW and it all works, except we don't get the EMUX channel data in the RES register. It's always a "0x7".
The RES[8] to RES[1] result data is correct, the valid bits are set etc., just the EMUX bits don't change.

Is there something different? In the ADC registers, the Rev is 01 on the 4500, but 13 on the 4700. Besides that, all the other registers are the same in ADC and ADC_G0.

we changed the Analog clock divider so the ADC is running at 28.8MHz vs 30.0MHz on the 4500, but even slowing that down further doesn't change anything.

Any ideas?

thanks
0 Likes
0 Replies