Hello, I'm trying to design a PCB with the SAMD21 to be programmable by SWD and have a question about the pin connections for the programmer. The datasheet lists several connections, including SWDCLK, SWDIO, RESET, GND, and VTG.
The MCU gets power from a buck converter embedded in another chip, so I have two voltages in the system: about 12V, and 3.3V from the buck converter that feeds the SAMD21. So I'm guessing I should connect VTG to the 3.3V, not the 12V, but wanted to make sure that's right.
Please let me know if my assumption is correct.