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

cross mob

XC800 8-Bit Microcontroller Family: Power down the ADC

XC800 8-Bit Microcontroller Family: Power down the ADC

Infineon_Team
Employee
Employee
50 replies posted 25 likes received 25 replies posted

Use the following sequence to ensure that both analog and digital part have finished an ongoing task:
-- write PRAR.ASENR(0) = 0
-- no request from slot0 possible: write PRAR.ASENR(1) = 0
-- no request from slot1 possible: wait 4 cycles
-- wait 1 arbitration cycle
-- wait for GLOBSTR.BUSY = 0
-- wait until analog part finished
-- write GLOBCTR.ANON = 0
-- switch analog multiplexer off

0 Likes
62 Views