arduino due + li-ion battery + usb charging

where do i have to connect the supply for the SAM3x?

For backup or normal running?

For normal the VDDIN pin is the power supply, but there are a lot of other pins that have to be connected to VDDOUT and each other and other pins through chokes etc. It's not as simple as an AVR.

For backup connect to VDDBU.

Have a look at the Due schematics.


Rob