5.1 Pin Mapping

Table 5-1 provides the mapping between the 100-pin PIM and the 48-pin device.

Table 5-1. Pin Mapping Table (Sorted by PIM Pin Number)
PIM Pin #Signal NamePinout DescriptionAVR® DX PIN
1DBG_LED2Debug LED 2PA5
2VDDDigital supplyVDD
3PWM1H3PWM output - 3HPA6
13MCLRDevice Master ClearPF6
15VSSDigital supplyGND
16VDDDigital supplyVDD
18FAULTDC BUS current fault (active-low logic)PC2
19TXUART TransmitN/A
20PIM_V_M3Voltage feedback signalPD4
21PIM_V_M2Voltage feedback signalPD6
22PIM_V_M1Voltage feedback signalPD3
23PIM_IMOTOR_SUMDC bus current signalPD2
24PIM_IMOTOR2Phase current signalPE0
25PIM_IMOTOR1Phase current signalPF2
26PGCDevice programming clock lineN/A
27PGDDevice programming data lineUPDI
28VREFReference voltage (half of AVDD voltage)PD7
29PIM_REC_NEUTRReconstructed motor neutral line voltagePD5
30AVDDAnalog supplyAVDD
31AVSSAnalog supplyGND
32PIM_POTPotentiometer signalPD0
34PIM_GEN2General I/OPA4
35PIM_VBUSDC bus voltage (downscaled)PD1
36VSSDigital supplyGND
37VDDDigital supplyVDD
41PIM_MONITOR_1Hall sensor/Current sense/Voltage feedback signalN/A
42PIM_MONITOR_2Hall sensor/Current sense/Voltage feedback signalN/A
43PIM_MONITOR_3Hall sensor/Current sense/Voltage feedback signalN/A
45VSSDigital supplyGND
46VDDDigital supplyVDD
47HALLBHall sensor/QEI inputPB5
48HALLCHall sensor/QEI inputPB4
49RXUART ReceivePA0
50TXUART TransmitPA1
51USB_TXUART Transmit (connected directly to U7)PB1
52USB_RXUART Receive (connected directly to U7)PB0
58PIM_FLT_OUT2General I/OPC6
59PIM_FLT_OUT1General I/OPC5
60DBG_LED1Debug LED 1PC0
61HOMEHome signal for QEIPC7
62VDDDigital supplyVDD
63OSC1/CLKOCrystal oscillator inN/A
64OSC2/CLKICrystal oscillator outN/A
65VSSDigital supplyGND
66PIM_IBUS+BUS current shunt signalN/A
67PIM_IBUS-BUS current shunt signalN/A
68LIN_CSLIN Chip Select signalPA2
69LIN_FAULTLIN Fault signalPC1
70RXUART ReceiveN/A
72USB_RXUART Receive (connected directly to U7)N/A
73PIM_IB+IMOTOR1 shunt signalN/A
74PIM_IA+IMOTOR2 shunt signalN/A
75VSSDigital supplyGND
76USB_TXUART Transmit (connected directly to U7)N/A
77CAN_TXCAN TransmitN/A
78CAN_RXCAN ReceiveN/A
80HALLAHall sensor/QEI inputPB2
82PIM_GEN1General I/ON/A
83BTN_1Push-button S2 inputPF5
84BTN_2Push-button S3 inputPF4
86VDDDigital supplyVDD
87CAN_RXCAN ReceiveN/A
88CAN_TXCAN TransmitN/A
93PWM1L1PWM output - 1LPC3
94PWM1H1PWM output - 1HPA3
98PWM1L2PWM output - 2LPF3
99PWM1H2PWM output - 2HPB3
100PWM1L3PWM output - 3LPA7
Note:
  1. Digital Power (VDD) pins are connected to the PIM.
  2. Digital Ground (VSS) and Analog Ground (AVSS) pins are connected to the PIM.

Table 5-2 provides the mapping between the 48-pin device and the 100-pin PIM.

Table 5-2. Pinout Table (Sorted by AVR® DX Pin Name)
PIM Pin #Pin NamePinout DescriptionAVR® DX PIN
30AVDDAnalog supplyAVDD
31AVSSAnalog supplyGND
15VSSN/AGND
36VSSN/AGND
45VSSN/AGND
65VSSN/AGND
75VSSN/AGND
19TXUART TransmitN/A
26PGCDevice programming clock lineN/A
41PIM_MONITOR_1Hall sensor/Current sense/Voltage feedback signalN/A
42PIM_MONITOR_2Hall sensor/Current sense/Voltage feedback signalN/A
43PIM_MONITOR_3Hall sensor/Current sense/Voltage feedback signalN/A
63OSC1/CLKOCrystal oscillator inN/A
64OSC2/CLKICrystal oscillator outN/A
66PIM_IBUS+BUS current shunt signalN/A
67PIM_IBUS-BUS current shunt signalN/A
70RXUART ReceiveN/A
72USB_RXUART Receive (connected directly to U7)N/A
73PIM_IB+IMOTOR1 shunt signalN/A
74PIM_IA+IMOTOR2 shunt signalN/A
76USB_TXUART Transmit (connected directly to U7)N/A
77CAN_TXCAN TransmitN/A
78CAN_RXCAN ReceiveN/A
82PIM_GEN1General I/ON/A
87CAN_RXCAN ReceiveN/A
88CAN_TXCAN TransmitN/A
49RXUART ReceivePA0
50TXUART TransmitPA1
68LIN_CSLIN Chip Select signalPA2
94PWM1H1PWM output - 1HPA3
34PIM_GEN2General I/OPA4
1DBG_LED2Debug LED 2PA5
3PWM1H3PWM output - 3HPA6
100PWM1L3PWM output - 3LPA7
52USB_RXUART Receive (connected directly to U7)PB0
51USB_TXUART Transmit (connected directly to U7)PB1
80HALLAHall sensor/QEI inputPB2
99PWM1H2PWM output - 2HPB3
48HALLCHall sensor/QEI inputPB4
47HALLBHall sensor/QEI inputPB5
60DBG_LED1Debug LED 1PC0
69LIN_FAULTLIN Fault signalPC1
18FAULTDC BUS current fault (active-low logic)PC2
93PWM1L1PWM output - 1LPC3
59PIM_FLT_OUT1General I/OPC5
58PIM_FLT_OUT2General I/OPC6
61HOMEHome signal for QEIPC7
32PIM_POTPotentiometer signalPD0
35PIM_VBUSDC bus voltage (downscaled)PD1
23PIM_IMOTOR_SUMDC bus current signalPD2
22PIM_V_M1Voltage feedback signalPD3
20PIM_V_M3Voltage feedback signalPD4
29PIM_REC_NEUTRReconstructed motor neutral line voltagePD5
21PIM_V_M2Voltage feedback signalPD6
28VREFReference voltage (half of AVDD voltage)PD7
24PIM_IMOTOR2Phase current signalPE0
25PIM_IMOTOR1Phase current signalPF2
98PWM1L2PWM output - 2LPF3
84BTN_2Push-button S3 inputPF4
83BTN_1Push-button S2 inputPF5
13MCLRDevice Master ClearPF6
27PGDDevice programming data lineUPDI
2VDDN/AVDD
16VDDN/AVDD
37VDDN/AVDD
46VDDN/AVDD
62VDDN/AVDD
86VDDN/AVDD
Note:
  1. Digital Power (VDD) pins are connected to the PIM.
  2. Digital Ground (VSS) and Analog Ground (AVSS) pins are connected to the PIM.