Page 1 of 1

SAM4E power loss recognition

Posted: Mon Jan 23, 2017 9:10 pm
by makubob

i'm working on a custom board with a SAM4E16C.
I would need to recognise if the supply voltage drops to go into backup mode and i'm not sure how to do this.
I have 3V3 on ADVREF and the supply voltage on PA17 (AFE0_AD0 pin), how do i configure the AFEC to go to backup mode when voltage drops? Is there another way?

I'm very thankful for any help!