5.1 Pin Mapping
Table 5-1 provides the mapping between the 100-pin PIM and the 48-pin device.
| PIM Pin # | Signal Name | Pinout Description | AVR® DX PIN |
|---|---|---|---|
| 1 | DBG_LED2 | Debug LED 2 | PA5 |
| 2 | VDD | Digital supply | VDD |
| 3 | PWM1H3 | PWM output - 3H | PA6 |
| 13 | MCLR | Device Master Clear | PF6 |
| 15 | VSS | Digital supply | GND |
| 16 | VDD | Digital supply | VDD |
| 18 | FAULT | DC BUS current fault (active-low logic) | PC2 |
| 19 | TX | UART Transmit | N/A |
| 20 | PIM_V_M3 | Voltage feedback signal | PD4 |
| 21 | PIM_V_M2 | Voltage feedback signal | PD6 |
| 22 | PIM_V_M1 | Voltage feedback signal | PD3 |
| 23 | PIM_IMOTOR_SUM | DC bus current signal | PD2 |
| 24 | PIM_IMOTOR2 | Phase current signal | PE0 |
| 25 | PIM_IMOTOR1 | Phase current signal | PF2 |
| 26 | PGC | Device programming clock line | N/A |
| 27 | PGD | Device programming data line | UPDI |
| 28 | VREF | Reference voltage (half of AVDD voltage) | PD7 |
| 29 | PIM_REC_NEUTR | Reconstructed motor neutral line voltage | PD5 |
| 30 | AVDD | Analog supply | AVDD |
| 31 | AVSS | Analog supply | GND |
| 32 | PIM_POT | Potentiometer signal | PD0 |
| 34 | PIM_GEN2 | General I/O | PA4 |
| 35 | PIM_VBUS | DC bus voltage (downscaled) | PD1 |
| 36 | VSS | Digital supply | GND |
| 37 | VDD | Digital supply | VDD |
| 41 | PIM_MONITOR_1 | Hall sensor/Current sense/Voltage feedback signal | N/A |
| 42 | PIM_MONITOR_2 | Hall sensor/Current sense/Voltage feedback signal | N/A |
| 43 | PIM_MONITOR_3 | Hall sensor/Current sense/Voltage feedback signal | N/A |
| 45 | VSS | Digital supply | GND |
| 46 | VDD | Digital supply | VDD |
| 47 | HALLB | Hall sensor/QEI input | PB5 |
| 48 | HALLC | Hall sensor/QEI input | PB4 |
| 49 | RX | UART Receive | PA0 |
| 50 | TX | UART Transmit | PA1 |
| 51 | USB_TX | UART Transmit (connected directly to U7) | PB1 |
| 52 | USB_RX | UART Receive (connected directly to U7) | PB0 |
| 58 | PIM_FLT_OUT2 | General I/O | PC6 |
| 59 | PIM_FLT_OUT1 | General I/O | PC5 |
| 60 | DBG_LED1 | Debug LED 1 | PC0 |
| 61 | HOME | Home signal for QEI | PC7 |
| 62 | VDD | Digital supply | VDD |
| 63 | OSC1/CLKO | Crystal oscillator in | N/A |
| 64 | OSC2/CLKI | Crystal oscillator out | N/A |
| 65 | VSS | Digital supply | GND |
| 66 | PIM_IBUS+ | BUS current shunt signal | N/A |
| 67 | PIM_IBUS- | BUS current shunt signal | N/A |
| 68 | LIN_CS | LIN Chip Select signal | PA2 |
| 69 | LIN_FAULT | LIN Fault signal | PC1 |
| 70 | RX | UART Receive | N/A |
| 72 | USB_RX | UART Receive (connected directly to U7) | N/A |
| 73 | PIM_IB+ | IMOTOR1 shunt signal | N/A |
| 74 | PIM_IA+ | IMOTOR2 shunt signal | N/A |
| 75 | VSS | Digital supply | GND |
| 76 | USB_TX | UART Transmit (connected directly to U7) | N/A |
| 77 | CAN_TX | CAN Transmit | N/A |
| 78 | CAN_RX | CAN Receive | N/A |
| 80 | HALLA | Hall sensor/QEI input | PB2 |
| 82 | PIM_GEN1 | General I/O | N/A |
| 83 | BTN_1 | Push-button S2 input | PF5 |
| 84 | BTN_2 | Push-button S3 input | PF4 |
| 86 | VDD | Digital supply | VDD |
| 87 | CAN_RX | CAN Receive | N/A |
| 88 | CAN_TX | CAN Transmit | N/A |
| 93 | PWM1L1 | PWM output - 1L | PC3 |
| 94 | PWM1H1 | PWM output - 1H | PA3 |
| 98 | PWM1L2 | PWM output - 2L | PF3 |
| 99 | PWM1H2 | PWM output - 2H | PB3 |
| 100 | PWM1L3 | PWM output - 3L | PA7 |
Note:
- Digital Power (VDD) pins are connected to the PIM.
- 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.
| PIM Pin # | Pin Name | Pinout Description | AVR® DX PIN |
|---|---|---|---|
| 30 | AVDD | Analog supply | AVDD |
| 31 | AVSS | Analog supply | GND |
| 15 | VSS | N/A | GND |
| 36 | VSS | N/A | GND |
| 45 | VSS | N/A | GND |
| 65 | VSS | N/A | GND |
| 75 | VSS | N/A | GND |
| 19 | TX | UART Transmit | N/A |
| 26 | PGC | Device programming clock line | N/A |
| 41 | PIM_MONITOR_1 | Hall sensor/Current sense/Voltage feedback signal | N/A |
| 42 | PIM_MONITOR_2 | Hall sensor/Current sense/Voltage feedback signal | N/A |
| 43 | PIM_MONITOR_3 | Hall sensor/Current sense/Voltage feedback signal | N/A |
| 63 | OSC1/CLKO | Crystal oscillator in | N/A |
| 64 | OSC2/CLKI | Crystal oscillator out | N/A |
| 66 | PIM_IBUS+ | BUS current shunt signal | N/A |
| 67 | PIM_IBUS- | BUS current shunt signal | N/A |
| 70 | RX | UART Receive | N/A |
| 72 | USB_RX | UART Receive (connected directly to U7) | N/A |
| 73 | PIM_IB+ | IMOTOR1 shunt signal | N/A |
| 74 | PIM_IA+ | IMOTOR2 shunt signal | N/A |
| 76 | USB_TX | UART Transmit (connected directly to U7) | N/A |
| 77 | CAN_TX | CAN Transmit | N/A |
| 78 | CAN_RX | CAN Receive | N/A |
| 82 | PIM_GEN1 | General I/O | N/A |
| 87 | CAN_RX | CAN Receive | N/A |
| 88 | CAN_TX | CAN Transmit | N/A |
| 49 | RX | UART Receive | PA0 |
| 50 | TX | UART Transmit | PA1 |
| 68 | LIN_CS | LIN Chip Select signal | PA2 |
| 94 | PWM1H1 | PWM output - 1H | PA3 |
| 34 | PIM_GEN2 | General I/O | PA4 |
| 1 | DBG_LED2 | Debug LED 2 | PA5 |
| 3 | PWM1H3 | PWM output - 3H | PA6 |
| 100 | PWM1L3 | PWM output - 3L | PA7 |
| 52 | USB_RX | UART Receive (connected directly to U7) | PB0 |
| 51 | USB_TX | UART Transmit (connected directly to U7) | PB1 |
| 80 | HALLA | Hall sensor/QEI input | PB2 |
| 99 | PWM1H2 | PWM output - 2H | PB3 |
| 48 | HALLC | Hall sensor/QEI input | PB4 |
| 47 | HALLB | Hall sensor/QEI input | PB5 |
| 60 | DBG_LED1 | Debug LED 1 | PC0 |
| 69 | LIN_FAULT | LIN Fault signal | PC1 |
| 18 | FAULT | DC BUS current fault (active-low logic) | PC2 |
| 93 | PWM1L1 | PWM output - 1L | PC3 |
| 59 | PIM_FLT_OUT1 | General I/O | PC5 |
| 58 | PIM_FLT_OUT2 | General I/O | PC6 |
| 61 | HOME | Home signal for QEI | PC7 |
| 32 | PIM_POT | Potentiometer signal | PD0 |
| 35 | PIM_VBUS | DC bus voltage (downscaled) | PD1 |
| 23 | PIM_IMOTOR_SUM | DC bus current signal | PD2 |
| 22 | PIM_V_M1 | Voltage feedback signal | PD3 |
| 20 | PIM_V_M3 | Voltage feedback signal | PD4 |
| 29 | PIM_REC_NEUTR | Reconstructed motor neutral line voltage | PD5 |
| 21 | PIM_V_M2 | Voltage feedback signal | PD6 |
| 28 | VREF | Reference voltage (half of AVDD voltage) | PD7 |
| 24 | PIM_IMOTOR2 | Phase current signal | PE0 |
| 25 | PIM_IMOTOR1 | Phase current signal | PF2 |
| 98 | PWM1L2 | PWM output - 2L | PF3 |
| 84 | BTN_2 | Push-button S3 input | PF4 |
| 83 | BTN_1 | Push-button S2 input | PF5 |
| 13 | MCLR | Device Master Clear | PF6 |
| 27 | PGD | Device programming data line | UPDI |
| 2 | VDD | N/A | VDD |
| 16 | VDD | N/A | VDD |
| 37 | VDD | N/A | VDD |
| 46 | VDD | N/A | VDD |
| 62 | VDD | N/A | VDD |
| 86 | VDD | N/A | VDD |
Note:
- Digital Power (VDD) pins are connected to the PIM.
- Digital Ground (VSS) and Analog Ground (AVSS) pins are connected to the PIM.
