I know that programming the atxmega256a3bu using PDI requires the use of PDI_DATA and PDI_Clk on the microcontroller but the USB mini uses five wires. Which pins of the microcontroller should be connected to the USB mini? and where should the rest of the wires go?
How do I ensure that the usb mini when connected to a computer and the microcontroller will power the microcontroller safely?
I am a beginner in atxmega256a3bu and I am designing a schematic for a project.