ATSAME54 100-Pin Motor Control Plug-In Module ......The ATSAME54 100-Pin Motor Control Plug-in...

16
ATSAME54 ATSAME54 100-Pin Motor Control Plug-In Module Information Sheet Introduction The ATSAME54 100-Pin Motor Control Plug-in Module (PIM), MA320207, is designed to demonstrate the capabilities of the ATSAME54 128-pin Motor Control device (ATSAME54P20A) using external op amps with the following hardware: The dsPICDEM MCLV-2 development board (DM330021-2) The dsPICDEM MCHV-3 development board (DM330023-3) Both development boards support 100-pin PIM interfaces. The ATSAME54 Motor Control PIM is designed to use on board external op amps for signal conditioning of analog feedback inputs. For the dsPICDEM MCLV-2 development board, insert the external op amp configuration board (included with the development board) at header J14. For the dsPICDEM MCHV-3 development board, insert the PFC–EXT-OPAMP configuration board (included with the development board) at header J4. Figure 1. Op amp Configuration Board for dsPICDEM MCLV-2 © 2019 Microchip Technology Inc. DS50002807B-page 1

Transcript of ATSAME54 100-Pin Motor Control Plug-In Module ......The ATSAME54 100-Pin Motor Control Plug-in...

  • ATSAME54 ATSAME54 100-Pin Motor Control Plug-In Module

    Information Sheet

    IntroductionThe ATSAME54 100-Pin Motor Control Plug-in Module (PIM), MA320207, is designed to demonstrate the capabilitiesof the ATSAME54 128-pin Motor Control device (ATSAME54P20A) using external op amps with the followinghardware:

    • The dsPICDEM™ MCLV-2 development board (DM330021-2)• The dsPICDEM™ MCHV-3 development board (DM330023-3)

    Both development boards support 100-pin PIM interfaces. The ATSAME54 Motor Control PIM is designed to use onboard external op amps for signal conditioning of analog feedback inputs.

    For the dsPICDEM™ MCLV-2 development board, insert the external op amp configuration board (included with thedevelopment board) at header J14.

    For the dsPICDEM™ MCHV-3 development board, insert the PFC–EXT-OPAMP configuration board (included withthe development board) at header J4.

    Figure 1. Op amp Configuration Board for dsPICDEM™ MCLV-2

    © 2019 Microchip Technology Inc. DS50002807B-page 1

  • Figure 2. Op amp Configuration Board for dsPICDEM™ MCHV-3

    WARNINGDo not connect non-isolated oscilloscope probes to probe any traces while using the PIM with thedsPICDEM MCHV-3 development boards. Instead, use a high-voltage differential probe, rated in excess of600 VRMS (Common mode). Failure to heed this warning could result in hardware damage.

    Programming and Debugging

    Use the following options to program and debug software on the ATSAME54 Motor Control PIM:

    • In-Circuit Debugger : The ATSAME54 Motor Control PIM can be programmed and debugged using the followingdebugging tools, which are connected to the board using a CoreSight 10 connector:

    – MPLAB® ICD4 In-Circuit Debugger– ATMEL-ICE– SAM-ICE™

    • Isolated EDBG Interface (AC320202): This daughter board provides an isolated programming and debugginginterface for the ATSAME54 Motor Control PIM. This daughter board is compatible with the dsPICDEMTMMCHV-2/ MCHV-3 boards. Refer to the information sheet of this daughter board for additional information.

    ATSAME54

    © 2019 Microchip Technology Inc. DS50002807B-page 2

  • Table of Contents

    Introduction.....................................................................................................................................................1

    1. PIM to MCU Mapping..............................................................................................................................4

    The Microchip Web Site............................................................................................................................... 14

    Customer Change Notification Service........................................................................................................ 14

    Customer Support........................................................................................................................................ 14

    Microchip Devices Code Protection Feature................................................................................................ 14

    Legal Notice................................................................................................................................................. 15

    Trademarks.................................................................................................................................................. 15

    Quality Management System Certified by DNV........................................................................................... 15

    Worldwide Sales and Service.......................................................................................................................16

    ATSAME54

    © 2019 Microchip Technology Inc. DS50002807B-page 3

  • 1. PIM to MCU MappingThe following table provides the static mapping between the 100-pin PIM pins and the 128-pin device pins.

    Table 1-1. PIM to MCU Mapping

    PIM Connector PINMCLV2 100-pin connection MCHV3 100-pin connection

    SAME54 MCU Pin MCU PinPin Name Functionality Pin Name Functionality 100-pin connector signal name

    1 DBG_LED2 Debug LED 2 DBG_LED1 Debug LED 1 LED2 PB26_LED 102

    2 VDD NC VDD NC VDD -

    32,37,46,54,65,79,91,

    97,107,118

    3 PWM1H3 PWM Output - 3H PWM1H3 PWM Output - 3H PWM1H3 PA10_TCC0_WH 35

    4 NC NC NC NC NC - -

    5 NC NC NC NC NC - -

    6 NC NC NC NC NC - -

    7 NC NC NC NC NC - -

    8 NC NC NC NC NC - -

    9 NC NC NC NC NC - -

    10 NC NC NC NC NC - -

    11 NC NC NC NC NC - -

    12 NC NC NC NC NC - -

    13 MCLR Device Master Clear MCLR Device Master Clear nRESET nRESET 114

    14 NC NC NC NC NC - -

    15 VSS NC VSS NC VSS -

    5,31,38,45,53,64,78,90,

    96,106,116

    16 VDD NC VDD NC VDD -

    32,37,46,54,65,79,91,

    97,107,118

    17 NC NC NC NC NC - -

    18 FAULT

    DC busCurrent Fault

    (active low logic)

    FAULT

    DC busCurrent Fault

    (active low logic)

    FAULT_PWM PB02_EXT2_FAULT_PWM 127

    19 TXUART

    TransmitPFC_FLT

    IPFC Fault(overvoltage

    or overcurrent)

    PFC_EN_FLT PB03_EXT3_PFCFLT_PFCEN 128

    20 PIM_V_M3

    Voltagefeedback

    signal

    PIM_INDX/POT/V_M3

    HallSensor/Current

    Sense/Voltage

    Feedback Signal

    NA - -

    21 PIM_V_M2

    Voltagefeedback

    signal

    PIM_QEB/IB/V_M2

    HallSensor/Current

    Sense/Voltage

    Feedback Signal

    NA - -

    22 PIM_V_M1

    Voltagefeedback

    signal

    PIM_QEA/IA/V_M1

    HallSensor/Current

    Sense/Voltage

    Feedback Signal

    NA - -

    23 PIM_IMOTOR_SUM

    DC buscurrent

    signal

    PIM_IBUS/VBUS

    DC BusVoltage

    (downscaled)

    VDCBUS2 PA07_ADC0_CH7_VDC_ISHUNT 24

    ATSAME54PIM to MCU Mapping

    © 2019 Microchip Technology Inc. DS50002807B-page 4

  • ...........continued

    PIM Connector PINMCLV2 100-pin connection MCHV3 100-pin connection

    SAME54 MCU Pin MCU PinPin Name Functionality Pin Name Functionality 100-pin connector signal name

    24 PIM_IMOTOR2

    Phasecurrent

    signal

    PIM_IB/POT

    ACInput Zero

    Cross/AC

    Input Voltage

    (downscaled)/

    Potentiometer

    NA - -

    25 PIM_IMOTOR1

    Phasecurrent

    signal

    PIM_IA/IPFCPFC Current

    (buffered)NA - -

    26 PGC

    Deviceprogramming

    clock line

    PGC

    Deviceprogramming

    clock line

    SWCLK PA30_SWCLK 119

    27 PGD

    Deviceprogramming

    data line

    PGD

    Deviceprogramming

    data line

    SWDIO PA31_SWDIO 120

    28 VREF

    Referencevoltage

    (half of

    AVDD voltage)

    AVDD/2

    Referencevoltage (half

    of AVDD

    voltage)

    VREF - -

    29 PIM_REC_NEUTR

    Reconstructedmotor neutral

    line voltage

    PIM_REC_NEUTR

    Reconstructedmotor neutral

    line voltage

    NEUTR PA05_ADC0_CH5_REC_NEUTR 22

    30 AVDDAnalogsupply

    AVDDAnalogsupply

    AVDD VDDANA 6,15,26

    31 AVSSAnalogsupply

    AVSSAnalogsupply

    GND GNDANA 14,25

    32 PIM_POTPotentiometer

    signalPIM_POT

    Potentiometersignal

    PIM_POT PA06_ADC0_CH6_PIM_POT 23

    33 NC NC PIM_POTPotentiometer

    signalNC - -

    34 PIM_GEN2 General I/O PIM_GEN2 General I/O NC - -

    35 PIM_VBUS

    DC busvoltage

    (downscaled)

    PIM_VBUS

    DC busvoltage

    (downscaled)

    VDCBUS1PB01_ADC0_CH13_VBUSPD00_ADC1_CH14_VBUS

    126, 13

    36 VSS NC VSS NC VSS -

    5,31,38,45,53,64,78,

    90,96,106,116

    37 VDD NC VDD NC VDD -

    32,37,46,54,65,79,91,

    97,107,118

    38 NC NC PIM_VAC_VOL2

    AC InputVoltage

    (unbuffered)

    NC - -

    39 NC NCPFC Shunt

    SignalNC - -

    40 NC NC PIM_PFC_LPFC Shunt

    SignalNC - -

    41 PIM_MONITOR_1

    HallSensor/Current

    Sense/Voltage

    Feedback Signal

    PIM_V_M1/POT

    HallSensor/Current

    Sense/Voltage

    Feedback Signal

    PIM_MONITOR_1 PA02_ADC0_CH0_Uph 9

    ATSAME54PIM to MCU Mapping

    © 2019 Microchip Technology Inc. DS50002807B-page 5

  • ...........continued

    PIM Connector PINMCLV2 100-pin connection MCHV3 100-pin connection

    SAME54 MCU Pin MCU PinPin Name Functionality Pin Name Functionality 100-pin connector signal name

    42 PIM_MONITOR_2

    HallSensor/Current

    Sense/Voltage

    Feedback Signal

    PIM_V_M2

    HallSensor/Current

    Sense/Voltage

    Feedback Signal

    PIM_MONITOR_2 PB08_ADC0_CH2_ADC1_CH0_VPh 19

    43 PIM_MONITOR_3

    HallSensor/Current

    Sense/Voltage

    Feedback Signal

    PIM_V_M3/IBUS

    HallSensor/Current

    Sense/Voltage

    Feedback Signal

    PIM_MONITOR_3PB09_ADC0_CH3_ADC1_CH1_ISHUNT;

    PC03_ADC1_CH5_ISHUNT20, 8

    44 NC NC NC NC NC - -

    45 VSS NC VSS NC VSS -

    5,31,38,45,53,64,78,

    90,96,106,116

    46 VDD NC VDD NC VDD -

    32,37,46,54,65,79,91,

    97,107,118

    47 HALLBHall sensor/QEI input

    HB/QEBHall sensor/QEI input

    HALLB_QEB PC17_PDEC_QDI1_HALL_ENCB 71

    48 HALLCHall sensor/QEI input

    HC/INDXHall sensor/QEI input

    HALLC_QINDX PC18_PDEC_QDI2_HALL_ENCZ 72

    49 RXUART

    ReceiveRX

    UARTReceive

    URXD0 PA13_URXD0_SER2_PAD1 61

    50 TXUART

    TransmitTX

    UARTTransmit

    UTXD0 PA12_UTXD0_SER2_PAD0 60

    51 USB_TX

    UARTTransmit

    (connected

    directly to U7)

    NC NC NC - -

    52 USB_RX

    UARTReceive

    (connected

    directly to U7)

    NC NC NC - -

    53 NC NC NC NC NC - -

    54 NC NC NC NC NC - -

    55 NC NC NC NC NC - -

    56 NC NC NC NC NC - -

    57 NC NC NC NC NC - -

    58 PIM_FLT_OUT2 General I/O PIM_FLT_OUT2 (VACZC) General I/O PFC_VACZCPA11_ADC0_CH11_;PFCVACZC_IA;PB05_ADC1_CH7_PFCVACZC_IA

    36, 12

    59 PIM_FLT_OUT1 General I/O PIM_FLT_OUT1 (IPFC) General I/O PFC_IPB00_ADC0_CH12_IPFC_IB;PC30_ADC1_CH12_IPFC_IB

    125, 123

    60 DBG_LED1 Debug LED 1 DBG_LED2DebugLED 2

    LED1 PB27_LED 103

    61 HOMEHome signal

    for QEIHOME

    Home signalfor QEI

    NC - -

    62 VDD NC VDD NC VDD -

    32,37,46,54,65,79,91,

    97,107,118

    63 OSC1/CLKOCrystal

    oscillator inOSCI

    Crystaloscillator in

    NC - -

    64 OSC2/CLKICrystal

    oscillator outOSCO

    Crystaloscillator out

    NC - -

    ATSAME54PIM to MCU Mapping

    © 2019 Microchip Technology Inc. DS50002807B-page 6

  • ...........continued

    PIM Connector PINMCLV2 100-pin connection MCHV3 100-pin connection

    SAME54 MCU Pin MCU PinPin Name Functionality Pin Name Functionality 100-pin connector signal name

    65 VSS NC VSS NC VSS -

    5,31,38,45,53,64,78,90,

    96,106,116

    66 PIM_IBUS+

    Buscurrent shunt

    signal

    PIM_IBUS+

    Buscurrent shunt

    signal

    NC - -

    67 PIM_IBUS-

    Buscurrent shunt

    signal

    PIM_IBUS-

    Buscurrent shunt

    signal

    NC - -

    68 LIN_CSLIN Chip

    Select signalBTN Push Button BTN PD08_BTN 47

    69 LIN_FAULTLIN

    Fault signalNC NC NC - -

    70 RXUART

    ReceiveRX

    UARTReceive

    NC - -

    71 NC NC PIM_PFC_PWMPFC

    PWM OutputNC - -

    72 USB_RX

    UARTReceive

    (connected

    directly to U7)

    HA/QEAHall Sensor/QEI Input

    NC - -

    73 PIM_IB+IMOTOR1

    shunt signalPIM_IB+

    IB ShuntSignal

    NC - -

    74 PIM_IA+IMOTOR2

    shunt signalPIM_IA+

    IA ShuntSignal

    NC - -

    75 VSS NC VSS NC VSS -

    5,31,38,45,53,64,78,

    90,96,106,116

    76 USB_TX

    UARTTransmit

    (connected

    directly to U7)

    HB/QEBHall Sensor/QEI Input

    NC - -

    77 CAN_TXCAN

    TransmitPIM_HALLC/INDX/STP_PWM

    Hall Sensor/QEI Input

    NC - -

    78 CAN_RXCAN

    ReceivePIM_PFC_PWM

    PFC PWMOutput

    PFC_PWM PC14_TCC1_WO0_PFC_PWM 58

    79 NC NC VACZXAC Input

    Zero CrossNC - -

    80 HALLAHall sensor/QEI input

    HA/QEAHall Sensor/QEI Input

    HALLA_QEA PC16_PDEC_QDI0_HALL_ENCA 70

    81 NC NC NC NC NC - -

    82 PIM_GEN1 General I/O PIM_GEN1 General I/O NC - -

    83 BTN_1Push-button

    S2 inputNC NC BTN1 PD09_BTN1 48

    84 BTN_2Push-button

    S3 inputTX

    UARTTransmit

    BTN2 PD10_BTN2 49

    85 NC NC NC NC NC - -

    86 VDD NC VDD NC VDD -

    32,37,46,54,65,79,91,

    97,107,118

    87 CAN_RXCAN

    ReceiveNC NC CAN_RX PB13_CAN_RX 42

    88 CAN_TXCAN

    TransmitNC NC CAN_TX PB12_CAN_TX 41

    ATSAME54PIM to MCU Mapping

    © 2019 Microchip Technology Inc. DS50002807B-page 7

  • ...........continued

    PIM Connector PINMCLV2 100-pin connection MCHV3 100-pin connection

    SAME54 MCU Pin MCU PinPin Name Functionality Pin Name Functionality 100-pin connector signal name

    89 NC NC NC NC NC - -

    90 NC NC NC NC NC - -

    91 NC NC NC NC NC - -

    92 NC NC NC NC NC - -

    93 PWM1L1PWM

    Output - 1LPWM1L1

    PWMOutput - 1L

    PWM1L1 PA16_TCC0_UL 66

    94 PWM1H1PWM

    Output - 1HPWM1H1

    PWMOutput - 1H

    PWM1H1 PA08_TCC0_UH 33

    95 NC NC NC NC NC - -

    96 NC NC NC NC NC - -

    97 NC NC NC NC NC - -

    98 PWM1L2PWM

    Output - 2LPWM1L2

    PWMOutput - 2L

    PWM1L2 PA17_TCC0_VL 67

    99 PWM1H2PWM

    Output - 2HPWM1H2

    PWMOutput - 2H

    PWM1H2 PA09_TCC0_VH 34

    100 PWM1L3PWM

    Output - 3LPWM1L3

    PWMOutput - 3L

    PWM1L3 PA18_TCC0_WL 68

    ATSAME54PIM to MCU Mapping

    © 2019 Microchip Technology Inc. DS50002807B-page 8

  • Figure 1-1. ATSAME54 Motor Control PIM Schematicrotatethispage90

    @pin6PFC_EN_FLT

    FAULT_PWM

    PWM1H3

    LED2

    nRESET

    NEUTR

    PIM_MONITOR_2

    PIM_MONITOR_1

    PIM_POT

    PIM_MONITOR_3

    VDCBUS2

    HALLB_QEBHALLC_QINDX

    URXD0

    UTXD0

    PFC_VACZC

    LED1

    PWM1H1

    PWM1L1

    BTN_2

    HALLA_QEA

    BTN_1

    PWM1L3PWM1L2

    PWM1H2

    PFC_PWM

    PFC_VACZC

    PFC_1

    PFC_1

    VDDCORE

    PA02_ADC0_CH0_Uph

    PA13_URXD0_SER2_PAD1

    PC17_PDEC_QDI1_HALL_ENCB

    PB09_ADC0_CH3_ADC1_CH1_ISHUNT

    PA11_ADC0_CH11_PFCVACZC_IA

    PA12_UTXD0_SER2_PAD0

    XIN

    SWDIO

    SWCLK

    BTN

    PB08_ADC0_CH2_ADC1_CH0_Vph

    PC18_PDEC_QDI2_HALL_ENCZ

    PA30_SWCLK

    PA31_SWDIO

    PA00(XIN32)1 PA00(XIN32)PA01(XOUT32)2

    PC003

    PC014

    GND5

    VDDANA6

    PC027

    PC038

    PA029

    PA0310

    PB0411

    PB0512

    PD0013

    GNDANA14

    VDDANA15

    PD0116

    PB0617

    PB0718

    PB0819

    PB0920

    PA0421

    PA0522

    PA0623

    PA0724

    GNDANA25

    VDDANA26

    PC0427

    PC0528

    PC0629

    PC0730

    GND31

    VDDIOB32

    PA08

    33

    PA09

    34

    PA10

    35

    PA11

    36

    VDDIOB

    37

    GND

    38

    PB10

    39

    PB11

    40

    PB12

    41

    PB13

    42

    PB14

    43

    PB15

    44

    GND

    45

    VDDIO

    46

    PD08

    47

    PD09

    48

    PD10

    49

    PD11

    50

    PD12

    51

    PC10

    52

    GND

    53

    VDDIO

    54

    PC11

    55

    PC12

    56

    PC13

    57

    PC14

    58

    PC15

    59

    PA12

    60

    PA13

    61

    PA14(XIN0)

    62

    PA15(XOUT0)

    63

    GND

    64

    VDDIO 65PA16 66PA17 67PA18 68PA19 69PC16 70PC17 71PC18 72PC19 73PC20 74PC21 75PC22 76PC23 77GND 78

    VDDIO 79PD20 80PD21 81PB16 82PB17 83PB18 84PB19 85PB20 86PB21 87PA20 88PA21 89GND 90

    VDDIO 91PA22 92

    GND 96

    VDDIO

    97(XIN1)PB22

    98

    PA23 93(USB_N)PA24 94(USB_P)PA25 95(X

    OUT1)PB23

    99PB24

    100

    PB25

    101

    PB26

    102

    PB27

    103

    PB28

    104

    PB29

    105

    GND

    106

    VDDIO

    107

    PC24

    108

    PC25

    109

    PC26

    110

    PC27

    111

    PC28

    112

    PA27

    113

    RESETN

    114

    VDDCORE

    115

    GNDIO

    116

    VSW

    117

    VDDIO

    118

    (SWDCLK)PA30

    119

    (SWDIO)PA31

    120

    (SWO)PB30

    121

    PB31

    122

    PC30

    123

    PC31

    124

    PB00

    125

    PB01

    126

    PB02

    127

    PB03

    128

    ATSAME54P20AU1

    VDCBUS1

    VDCBUS1

    SDO

    PB26_LED

    PA10_TCC0_WH

    PB02_EXT2_FAULT_PWM

    PB03_EXT3_PFCFLT_PFCEN

    PA07_ADC0_CH7_VDC_ISHUNT

    PA05_ADC0_CH5_REC_NEUTRPA06_ADC0_CH6_PIM_POT

    PB01_ADC0_CH13_VBUS

    PD00_ADC1_CH14_VBUSPB05_ADC1_CH7_PFCVACZC_IA

    PB00_ADC0_CH12_IPFC_IB

    PC30_ADC1_CH12_IPFC_IB

    PB27_LED

    PB30_SWO

    PC16_PDEC_QDI0_HALL_ENCA

    PD09_BTN1

    PD10_BTN2

    PC14_TCC1_WO0-PFC_PWM

    PA08_TCC0_UH

    PA17_TCC0_VL

    PA09_TCC0_VH

    PA16_TCC0_UL

    PA18_TCC0_WL

    PD08_BTN

    VDDANA

    VDDANA

    VDDANA

    TRACED0

    TRACED1

    TRACED2

    TRACED3

    TRACECLK

    nRESET

    TRACECLK

    TRACED0

    TRACED1

    TRACED2

    TRACED3

    @pin15 @pin26

    @pin32 @pin37

    @pin46 @pin54 @pin65 @pin79 @pin91 @pin97 @pin107 @pin118

    VDDCORE

    @pin115

    PB12_CAN_TX

    PB13_CAN_RX

    CAN_TX

    CAN_RX

    XIN32

    PC00PC01

    PC02

    PA03PB04

    PD01PB06

    PB07

    PA04

    PC04PC05PC06PC07

    PB10

    PB11

    PB14

    PB15

    PD11

    PD12

    PC10

    PC11

    PC12

    PC13

    PC15

    PA19

    PC19

    PC23PC22PC21PC20

    PD20PD21PB16PB17PB18PB19PB20PB21PA20PA21

    PA25PA24PA23PA22

    PB22

    PB23

    PB24

    PB25

    PB29

    PA27

    PC30

    PC31 PB28

    PIM_MONITOR_3 PC03_ADC1_CH5_ISHUNT

    STB 1

    GND 2OUT3

    VDD4

    12MHzDSC6003CI2A-012.0000

    Y1

    VCC_P3V3

    XIN

    12.0 MHz Oscillator

    32.768 kHz Oscillator

    XIN32

    VCC_P3V3

    XOUT

    XIN

    XOUT32

    DNP

    DNP DNPXOUT32

    XIN32

    XOUT

    DNP DNP

    DNP

    1

    23

    4 STB

    GNDOUT

    VDD

    12MHzDSC6003CI2A-012.0000

    Y1

    VCC_P3V3

    XIN

    12.0 MHz Oscillator

    XIN

    XOUT

    DNP DNP

    DNP

    XOUT32

    DNP

    DNP DNP

    XIN32

    GND2 NC 3

    VDD 4Output1

    GND NC

    VDDOutput

    DSC6083CE2A-032K768

    Y2

    VDDANAVCC_P3V3

    VCC_P3V3

    0.1uF

    C6

    0.1uF

    C4

    10uF

    C16

    10uF

    C17

    0R

    R1

    1uF

    C18

    BLM18PG471SN1D

    L1

    0.1uF

    C1

    0.1uF

    C2

    0.1uF

    C3

    0.1uF

    C5

    VCC_P3V3

    0.1uF

    C14

    0.1uF

    C7

    0.1uF

    C8

    0.1uF

    C9

    0.1uF

    C10

    0.1uF

    C11

    0.1uF

    C12

    0.1uF

    C13

    4.7uF

    C19

    0.1uF

    C25

    4.7pFC23

    12pFC21

    32.768KhzABS05-32.768KHZ-9-T X2

    1 3

    12MHz

    CX2520DB12000H0FLJC1

    X1

    12pFC22

    4.7pFC24

    VCC_P3V3

    VCC_P3V3 VCC_P3V3 VCC_P3V3

    VCC_P3V3

    VCC_P3V3

    VCC_P3V3

    VCC_P3V3

    VCC_P3V3

    VCC_P3V3

    (VDDIO)

    (VDDIOB)

    0RR2

    0.1uF

    C15

    0.1uFC20

    ATSAM

    E54PIM

    to MC

    U M

    apping

    © 2019 M

    icrochip Technology Inc.

    DS50002807B-page 9

  • nRESET

    VCC_P3V3PICkit 4 Connector

    SWCLK

    SWDIO

    1

    25

    26 50

    51

    75

    76100

    J1

    J2

    J3

    J41

    25

    26 50

    51

    75

    76100

    J1

    J2

    J3

    J4

    PIM Connector Configuration (TOP VIEW )

    TRACE (Cortex 20)

    VTREF

    KEY (NC)

    GND

    TDIGND

    GND

    GNDGNDGND

    NCNC TRACED0

    TRACED1TRACED2TRACED3

    TRACECLK

    VCC_P3V3

    PA30_SWCLKPA31_SWDIO

    PB30_SWO

    nRESET

    SWDIOSWCLK

    SDO

    nRESETTRACECLKTRACED0TRACED1TRACED2TRACED3

    nRESET

    VCC_P3V3PICkit 4 Connector

    SWCLK

    SWDIO

    1 23 45 67 89 10

    11 1213 1415 1617 1819 20

    HDR 2X10 1.27 MALE TH

    J7

    DNP

    10-pin

    TDI

    PA30_SWCLKPA31_SWDIO

    PB30_SWO

    nRESET

    SWDIOSWCLK

    SDO

    nRESET

    VTREFGNDGND

    GND

    VCC_P3V3

    TRACE (Cortex 20)

    VTREF

    KEY (NC)

    GND

    TDIGND

    GND

    GNDGNDGND

    NCNC TRACED0

    TRACED1TRACED2TRACED3

    TRACECLK

    VCC_P3V3

    PA30_SWCLKPA31_SWDIO

    PB30_SWO

    nRESET

    SWDIOSWCLK

    SDO

    nRESETTRACECLKTRACED0TRACED1TRACED2TRACED3

    1 23 45 67 89 10

    11 1213 1415 1617 1819 20

    HDR 2X10 1.27 MALE TH

    J7

    DNPPIM_POT

    VCC_P3V3

    VCC_P3V3

    VCC_P3V3

    VCC_P3V3

    VCC_P3V3

    VCC_P3V3

    VDCBUS2

    NEUTR

    HALLB_QEB

    PFC_VACZC

    PWM1H2

    PFC_1

    PFC_EN_FLT

    PWM1H3

    LED2

    PIM_MONITOR_3

    VDCBUS1

    LED1

    PWM1L1

    HALLA_QEA

    PWM1L2

    PFC_PWM

    FAULT_PWM

    URXD0UTXD0

    BTN_1

    PWM1L3

    nRESET

    HALLC_QINDX

    PWM1H1

    BTN_2

    PIM_MONITOR_2PIM_MONITOR_1

    SWCLKSWDIO

    BTN

    VDDANA

    CAN_TXCAN_RX

    PA16_TC C 0_WL

    PA15_TC C 0_VL

    PA23_S3_PAD1_R X

    PA22_S3_PAD0_TX

    PB 04_HALLB _EXTINT4

    PA28_HALLC _EXTINT8

    PB 13_LED

    PA04_ADC 0_C H4_IPFC _IB

    PA06_ADC 0_C H6_PFC VAC ZC _IAPA08_ADC 0_C H8_ADC 1_C H10_IB US

    PB 09_ADC 0_C H3_ADC 1_C H5_Vph

    PB 08_ADC 0_C H2_ADC 1_C H4_Uph

    nR ESET

    SWC LK

    SWDIO

    PA11_B TN

    PA18_EXT2_FAULT_PWM

    PB 10_EXT10_PFC FLT_PFC EN

    PA02_ADC 0_C H0_R EC _NEUTR

    PA07_ADC 0_C H7_VDC _ISHUNT PA12_PFC _PWM_TC C 2_WO0

    PB 11_HALLA_EXTINT11

    PB 16_B TN1

    PB 31_B TN2

    PB 14_C AN_TX

    PB 15_C AN_R X

    PA14_TC C 0_UL

    PB 30_TC C 0_UH

    PA05_TC C 0_VH

    PB 12_LED

    PA10_TC C 0_WH

    PB 00_ADC 1_C H0_PIM_POT

    PA09_ADC 0_C H9_ADC 1_C H11_VB US

    12

    34

    56

    78

    910

    1112

    1314

    1516

    1718

    1920

    2122

    2324

    25

    HD

    R-1

    .27

    Fem

    ale

    1x25

    J1

    12

    34

    56

    78

    910

    1112

    1314

    1516

    1718

    1920

    2122

    2324

    25

    HD

    R-1

    .27

    Fem

    ale

    1x25

    J2

    12

    34

    56

    78

    910

    1112

    1314

    1516

    1718

    1920

    2122

    2324

    25H

    DR

    -1.2

    7 Fe

    mal

    e 1x

    25

    J3

    12

    34

    56

    78

    910

    1112

    1314

    1516

    1718

    1920

    2122

    2324

    25H

    DR

    -1.2

    7 Fe

    mal

    e 1x

    25

    J412345678910111213141516171819202122232425

    2627282930313233343536373839

    41424344454647484950

    40

    7574737271706968676665646362

    60595857565554535251

    61

    10099989796959493929190898887

    85848382818079787776

    86

    12345678

    HDR-2.54 Male 1x8

    J5

    1 2

    3 4

    5 6

    7 8

    9

    10

    HDR-1.27 Male 2x5

    J6

    ATSAME54PIM to MCU Mapping

    © 2019 Microchip Technology Inc. DS50002807B-page 10

  • ATSAME54PIM to MCU Mapping

    © 2019 Microchip Technology Inc. DS50002807B-page 11

  • ATSAME54PIM to MCU Mapping

    © 2019 Microchip Technology Inc. DS50002807B-page 12

  • ATSAME54PIM to MCU Mapping

    © 2019 Microchip Technology Inc. DS50002807B-page 13

  • The Microchip Web Site

    Microchip provides online support via our web site at http://www.microchip.com/. This web site is used as a means tomake files and information easily available to customers. Accessible by using your favorite Internet browser, the website contains the following information:

    • Product Support – Data sheets and errata, application notes and sample programs, design resources, user’sguides and hardware support documents, latest software releases and archived software

    • General Technical Support – Frequently Asked Questions (FAQ), technical support requests, online discussiongroups, Microchip consultant program member listing

    • Business of Microchip – Product selector and ordering guides, latest Microchip press releases, listing ofseminars and events, listings of Microchip sales offices, distributors and factory representatives

    Customer Change Notification Service

    Microchip’s customer notification service helps keep customers current on Microchip products. Subscribers willreceive e-mail notification whenever there are changes, updates, revisions or errata related to a specified productfamily or development tool of interest.

    To register, access the Microchip web site at http://www.microchip.com/. Under “Support”, click on “Customer ChangeNotification” and follow the registration instructions.

    Customer Support

    Users of Microchip products can receive assistance through several channels:

    • Distributor or Representative• Local Sales Office• Field Application Engineer (FAE)• Technical Support

    Customers should contact their distributor, representative or Field Application Engineer (FAE) for support. Local salesoffices are also available to help customers. A listing of sales offices and locations is included in the back of thisdocument.

    Technical support is available through the web site at: http://www.microchip.com/support

    Microchip Devices Code Protection Feature

    Note the following details of the code protection feature on Microchip devices:

    • Microchip products meet the specification contained in their particular Microchip Data Sheet.• Microchip believes that its family of products is one of the most secure families of its kind on the market today,

    when used in the intended manner and under normal conditions.• There are dishonest and possibly illegal methods used to breach the code protection feature. All of these

    methods, to our knowledge, require using the Microchip products in a manner outside the operatingspecifications contained in Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft ofintellectual property.

    • Microchip is willing to work with the customer who is concerned about the integrity of their code.• Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code

    protection does not mean that we are guaranteeing the product as “unbreakable.”

    Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protectionfeatures of our products. Attempts to break Microchip’s code protection feature may be a violation of the DigitalMillennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, youmay have a right to sue for relief under that Act.

    ATSAME54

    © 2019 Microchip Technology Inc. DS50002807B-page 14

    http://www.microchip.com/http://www.microchip.com/http://www.microchip.com/support

  • Legal Notice

    Information contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates. It is your responsibility to ensure that your application meets withyour specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION,INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY ORFITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchipdevices in life support and/or safety applications is entirely at the buyer’s risk, and the buyer agrees to defend,indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from suchuse. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights unlessotherwise stated.

    Trademarks

    The Microchip name and logo, the Microchip logo, AnyRate, AVR, AVR logo, AVR Freaks, BitCloud, chipKIT, chipKITlogo, CryptoMemory, CryptoRF, dsPIC, FlashFlex, flexPWR, Heldo, JukeBlox, KeeLoq, Kleer, LANCheck, LINK MD,maXStylus, maXTouch, MediaLB, megaAVR, MOST, MOST logo, MPLAB, OptoLyzer, PIC, picoPower, PICSTART,PIC32 logo, Prochip Designer, QTouch, SAM-BA, SpyNIC, SST, SST Logo, SuperFlash, tinyAVR, UNI/O, andXMEGA are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.

    ClockWorks, The Embedded Control Solutions Company, EtherSynch, Hyper Speed Control, HyperLight Load,IntelliMOS, mTouch, Precision Edge, and Quiet-Wire are registered trademarks of Microchip Technology Incorporatedin the U.S.A.

    Adjacent Key Suppression, AKS, Analog-for-the-Digital Age, Any Capacitor, AnyIn, AnyOut, BodyCom, CodeGuard,CryptoAuthentication, CryptoAutomotive, CryptoCompanion, CryptoController, dsPICDEM, dsPICDEM.net, DynamicAverage Matching, DAM, ECAN, EtherGREEN, In-Circuit Serial Programming, ICSP, INICnet, Inter-Chip Connectivity,JitterBlocker, KleerNet, KleerNet logo, memBrain, Mindi, MiWi, motorBench, MPASM, MPF, MPLAB Certified logo,MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code Generation, PICDEM, PICDEM.net, PICkit, PICtail,PowerSmart, PureSilicon, QMatrix, REAL ICE, Ripple Blocker, SAM-ICE, Serial Quad I/O, SMART-I.S., SQI,SuperSwitcher, SuperSwitcher II, Total Endurance, TSHARC, USBCheck, VariSense, ViewSpan, WiperLock,Wireless DNA, and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.

    SQTP is a service mark of Microchip Technology Incorporated in the U.S.A.

    Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries.

    GestIC is a registered trademark of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of MicrochipTechnology Inc., in other countries.

    All other trademarks mentioned herein are property of their respective companies.© 2018, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved.

    ISBN: 978-1-5224-5197-6

    Quality Management System Certified by DNV

    ISO/TS 16949Microchip received ISO/TS-16949:2009 certification for its worldwide headquarters, design and wafer fabricationfacilities in Chandler and Tempe, Arizona; Gresham, Oregon and design centers in California and India. TheCompany’s quality system processes and procedures are for its PIC® MCUs and dsPIC® DSCs, KEELOQ® codehopping devices, Serial EEPROMs, microperipherals, nonvolatile memory and analog products. In addition,Microchip’s quality system for the design and manufacture of development systems is ISO 9001:2000 certified.

    ATSAME54

    © 2019 Microchip Technology Inc. DS50002807B-page 15

  • AMERICAS ASIA/PACIFIC ASIA/PACIFIC EUROPECorporate Office2355 West Chandler Blvd.Chandler, AZ 85224-6199Tel: 480-792-7200Fax: 480-792-7277Technical Support:http://www.microchip.com/supportWeb Address:www.microchip.comAtlantaDuluth, GATel: 678-957-9614Fax: 678-957-1455Austin, TXTel: 512-257-3370BostonWestborough, MATel: 774-760-0087Fax: 774-760-0088ChicagoItasca, ILTel: 630-285-0071Fax: 630-285-0075DallasAddison, TXTel: 972-818-7423Fax: 972-818-2924DetroitNovi, MITel: 248-848-4000Houston, TXTel: 281-894-5983IndianapolisNoblesville, INTel: 317-773-8323Fax: 317-773-5453Tel: 317-536-2380Los AngelesMission Viejo, CATel: 949-462-9523Fax: 949-462-9608Tel: 951-273-7800Raleigh, NCTel: 919-844-7510New York, NYTel: 631-435-6000San Jose, CATel: 408-735-9110Tel: 408-436-4270Canada - TorontoTel: 905-695-1980Fax: 905-695-2078

    Australia - SydneyTel: 61-2-9868-6733China - BeijingTel: 86-10-8569-7000China - ChengduTel: 86-28-8665-5511China - ChongqingTel: 86-23-8980-9588China - DongguanTel: 86-769-8702-9880China - GuangzhouTel: 86-20-8755-8029China - HangzhouTel: 86-571-8792-8115China - Hong Kong SARTel: 852-2943-5100China - NanjingTel: 86-25-8473-2460China - QingdaoTel: 86-532-8502-7355China - ShanghaiTel: 86-21-3326-8000China - ShenyangTel: 86-24-2334-2829China - ShenzhenTel: 86-755-8864-2200China - SuzhouTel: 86-186-6233-1526China - WuhanTel: 86-27-5980-5300China - XianTel: 86-29-8833-7252China - XiamenTel: 86-592-2388138China - ZhuhaiTel: 86-756-3210040

    India - BangaloreTel: 91-80-3090-4444India - New DelhiTel: 91-11-4160-8631India - PuneTel: 91-20-4121-0141Japan - OsakaTel: 81-6-6152-7160Japan - TokyoTel: 81-3-6880- 3770Korea - DaeguTel: 82-53-744-4301Korea - SeoulTel: 82-2-554-7200Malaysia - Kuala LumpurTel: 60-3-7651-7906Malaysia - PenangTel: 60-4-227-8870Philippines - ManilaTel: 63-2-634-9065SingaporeTel: 65-6334-8870Taiwan - Hsin ChuTel: 886-3-577-8366Taiwan - KaohsiungTel: 886-7-213-7830Taiwan - TaipeiTel: 886-2-2508-8600Thailand - BangkokTel: 66-2-694-1351Vietnam - Ho Chi MinhTel: 84-28-5448-2100

    Austria - WelsTel: 43-7242-2244-39Fax: 43-7242-2244-393Denmark - CopenhagenTel: 45-4450-2828Fax: 45-4485-2829Finland - EspooTel: 358-9-4520-820France - ParisTel: 33-1-69-53-63-20Fax: 33-1-69-30-90-79Germany - GarchingTel: 49-8931-9700Germany - HaanTel: 49-2129-3766400Germany - HeilbronnTel: 49-7131-67-3636Germany - KarlsruheTel: 49-721-625370Germany - MunichTel: 49-89-627-144-0Fax: 49-89-627-144-44Germany - RosenheimTel: 49-8031-354-560Israel - Ra’ananaTel: 972-9-744-7705Italy - MilanTel: 39-0331-742611Fax: 39-0331-466781Italy - PadovaTel: 39-049-7625286Netherlands - DrunenTel: 31-416-690399Fax: 31-416-690340Norway - TrondheimTel: 47-72884388Poland - WarsawTel: 48-22-3325737Romania - BucharestTel: 40-21-407-87-50Spain - MadridTel: 34-91-708-08-90Fax: 34-91-708-08-91Sweden - GothenbergTel: 46-31-704-60-40Sweden - StockholmTel: 46-8-5090-4654UK - WokinghamTel: 44-118-921-5800Fax: 44-118-921-5820

    Worldwide Sales and Service

    © 2019 Microchip Technology Inc. DS50002807B-page 16

    IntroductionTable of Contents1. PIM to MCU MappingThe Microchip Web SiteCustomer Change Notification ServiceCustomer SupportMicrochip Devices Code Protection FeatureLegal NoticeTrademarksQuality Management System Certified by DNVWorldwide Sales and Service