APPLICATION NOTE Migrating from the SAM4E to SAM E70 Microcontroller Atmel | SMART SAM E70 Scope To facilitate the migration of designs based on the Atmel® | SMART SAM4E microcontrollers to the Atmel | SMART SAM E70, this application note lists the differences between these devices in software compatibility, pinout, power supplies, board composition and PIO multiplexing. For complete device details, refer to the most recent version of the SAM E70 datasheet, literature no. 11297, available on www.atmel.com. In addition to the differences described in this document, other typical characteristics may be different. Refer to the SAM E70 datasheets for details. Atmel-44034A-ATARM-Migrating from SAM4E to SAM E70 Microcontroller-Application Note_31-Mar-15 1. SAM E70 / SAM4E Features Table 1-1 provides an overview of features of the SAM E70 and SAM4E for each package option. Table 1-1. SAM E70 / SAM4E Features Feature SAM E70Q Packages SAM4E16E/8E SAM E70N LQFP144/LFBGA144 Flash (Kbytes) SRAM (Kbytes) Cache(I/D) (Kbytes) 2048 to 512 384 to 256 (Multi-port) SAM4E16C/8C LQFP100/TFBGA100 1024 to 512 128 2048 to 512 384 to 256 (Multi-port) 1024 to 512 128 16/16 No 16/16 No 114 117 75 79 16-bit data, 4 chip selects, 24-bit address 8-bit data, 4 chip selects, 24-bit address No No SDRAM Interface Yes No No No DMA/PDC Channels 24/0 4/33 24/0 4/30 12-bit AFE 24 ch. 24 ch. 10 ch. 10 12-bit DAC 2 ch. 2 ch. 2 ch. 2 ch. Timer Counter Channels 12 9 12 9 Timer Counter Channels I/O 36 27 9 9 USART/UART 3/5 2/2 3/5 2/2 QSPI Yes No Yes No SPI 2 1 1 1 USART SPI 3 0 3 0 3 High-speed 2 3 High-speed 2 1 port 1 port 1 port 1 port 4 bits 4 bits 4 bits 4 bits 2 ports 2 ports 2 ports 1 port MII, RMII MII MII, RMII MII 12-bit No 12-bit No SSC Yes No Yes No USB High-speed Device and Host Full-speed Device High-speed Device and Host Full-speed Device 2 1 2 1 Analog Comparator Yes Yes Yes Yes Embedded Trace Macrocell (ETM) Yes No Yes No PIO Capture Yes Yes Yes No Number of PIOs External Bus Interface TWI HSMCI CAN 10/100 Mbps GMAC ISI 4-channel PWM 2 Migrating from the SAM4E to the SAM E70 Microcontroller [APPLICATION NOTE] Atmel-44034A-ATARM-Migrating from SAM4E to SAM E70 Microcontroller-Application Note_31-Mar-15 2. Software Compatibility All software developed for SAM4E devices is compatible with SAM E70 devices except when related to the following features: 3. Bit-banding—not supported by Cortex-M7 USB—USB High-speed has replaced USB Full-speed Differences in Pinouts The USB High-speed feature on the SAM E70 requires dedicated power supplies for USB core, PLL and interfaces that result in modifications to the pinouts for 144-pin and 100-pin packages. These are detailed in the tables below. Table 3-1. Table 3-2. LQFP144 Pinout Differences Pin Name SAM4E SAM E70 123 VDDCORE VDDPLL 134 VDDIO VDDUTMII 136 PB10 HSDM 137 PB11 HSDP 139 VDDPLL VDDUTMIC 140 PB14 VBG 143 VDDIO VDDPLLUSB Pin Name SAM4E SAM E70 A4 PB11 HSDP B3 VDDPLL VDDUTMIC B4 PB10 HSDM E7 VDDIO VDDUTMII C4 PB14 VBG D2 GNDANA ADVREFN D5 GNDPLL GNDANA E5 GNDCORE GNDUTMI E6 GNDCORE GNDPLLUSB F5 GNDIO GND F7 GNDCORE GNDPLL F8 VDDIO VDDPLLUSB G4 GNDIO GND G5 GNDIO GND G6 GNDIO GND G7 GNDCORE GND J7 VDDCORE VDDPLL TFBGA144 Pinout Differences Migrating from the SAM4E to the SAM E70 Microcontroller [APPLICATION NOTE] Atmel-44034A-ATARM-Migrating from SAM4E to SAM E70 Microcontroller-Application Note_31-Mar-15 3 Table 3-3. Table 3-4. 4 LQFP100 Pinout Differences Pin Name SAM4E SAM E70 39 PD23 VDDCORE 76 PD29 VDDCORE 81 PA6 VDDIO 86 VDDCORE VDDPLL 90 PA29 VDDPLLUSB 93 VDDIO VDDUTMII 94 PB10 HSDM 95 PB11 HSDP 96 VDDPLL VDDUTMIC 97 PB14 VBG Pin Name SAM4E SAM E70 A3 PB14 VBG A4 PB10 HSDM A8 PA6 GNDUTMI B3 VDDPLL VDDUTMIC B4 PB11 HSDP C4 GND GNDPLLUSB C5 PA29 VDDIO C6 PD29 VDDCORE D3 GNDCORE ADVREFN D4 GNDCORE GNDANA D7 VDDCORE VDDPLL E4 GNDANA GNDPLL E5 VDDIO VDDUTMII E6 VDDIO VDDPLLUSB F3 PD23 VDDIO F4 GNDIO GND F5 GNDCORE GND F6 GNDIO GND TFBGA100 Pinout Differences Migrating from the SAM4E to the SAM E70 Microcontroller [APPLICATION NOTE] Atmel-44034A-ATARM-Migrating from SAM4E to SAM E70 Microcontroller-Application Note_31-Mar-15 4. PC Board Modifications 4.1 Changing from USB Full-Speed to USB High-Speed 4.1.1 Power Supplies The USB High-speed feature requires dedicated power supplies for the USB Core, separate from VDDIO. The following power supplies have been added to the board: VDDPLLUSB: Powers the UPLL and the 8 to 20 MHz oscillator. Voltage ranges from 1.62V to 3.6V. VDDUTMII: Powers the USB transceiver. Voltage ranges from 1.62V to 3.6V. VDDUTMIC: Powers the USB core. Voltage ranges from 1.08V to 1.32V. For power supplies that have been changed from VDDCORE to VDDPLL, decoupling/filtering RLC circuits are to be implemented on VDDPLL. 4.1.2 Board Routing, EMI/ESD, Front Panel USB Considerations USB High-speed requires a specific board design. Refer to High Speed USB Platform Design Guide lines rev 1.0 available at www.usb.org for guidelines on routing, EMI/ESD and Front Panel USB. 4.2 GPIO Modifications Three PIO lines have been removed and are not available as PIOs on any packages for SAM E70: PB10 modified to HSDM PB11 modified to HSDP PB14 modified to VBG Additionally, PA6, PA29, PD23, PD29 PIO lines have been modified and are now power supplies on the LQFP100. These lines are no longer available as PIO lines. Migrating from the SAM4E to the SAM E70 Microcontroller [APPLICATION NOTE] Atmel-44034A-ATARM-Migrating from SAM4E to SAM E70 Microcontroller-Application Note_31-Mar-15 5 5. Functional Differences Table 5-2 and Table 5-1 show differences in the PIO lines and the associated function for each package of the SAM4E and the SAM E70. Each functional difference may lead to a board update. 5.1 Analog Inputs/Outputs All ADC inputs have been reordered. 5.2 PA22, PC1, PC2, PC3 and PC4 have been moved to PD30, PE0, PE3, PE4, and PE5. Due to PB14 removal, DAC1 output has been moved from PB14 to PD30. PWM Outputs SAM E70 embeds two PWM blocks with four outputs featuring external triggers. 5.3 5.4 All PWM0 outputs are similar to SAM4E. PWM0_FI1 has been added on PD8. PWM0 external trigger lines have been added: PA10 and PA22. All PWM1 output lines have been added. PWM1 external trigger lines have been added: PA18 and PA30. Additional Differences QSPI replaces SPI0. UTXD1 has been moved from PA6 to PA4. CANRX1 has been moved from PC12 to PD28. CANTX1 has been moved from PC15 to PC14 and duplicated on PD12. WKUP14 and WKUP15 has been removed to be used internally for Wake-On-LAN and Wake-On-Debug. WKUP12 has been moved from PB2 to PB3 to be in front of CANRX0. WKUP5 has been moved from PA8 to PD28 to be in front of CANRX1. Useless functions or free spaces have been replaced by additional functions of SAM E70. GPIO Multiplexing Differences Table 5-1 and Table 5-2 show the PIO multiplexing differences for the SAM4E and SAM E70 packages. The cells are color-coded, as shown below, to indicate a minor change, a significant change or an addition in the mulltiplexing. Minor change Changed Added 6 Migrating from the SAM4E to the SAM E70 Microcontroller [APPLICATION NOTE] Atmel-44034A-ATARM-Migrating from SAM4E to SAM E70 Microcontroller-Application Note_31-Mar-15 5.4.1 144-pin PIO Multiplexing Table 5-1. LQFP144/BGA144 Multiplexing Differences SAM4E I/O Line SAM E70 Peripheral A Peripheral B Peripheral C Extra Function Peripheral A Peripheral B Peripheral C Peripheral D Extra Function PA0 PWMH0 TIOA0 A17 WKUP0 PWMC0_PWMH0 TIOA0 A17/BA1 – WKUP0 PA1 PWMH1 TIOB0 A18 WKUP1 PWMC0_PWML0 TIOB0 A18 – WKUP1 PA2 PWMH2 – DATRG WKUP2 PWMC0_PWMH1 – DATRG – WKUP2 PA3 TWD0 NPCS3 – – TWD0 LONCOL1 PCK2 PIODC0 – PA4 TWCK0 TCLK0 – WKUP3 TWCK0 TCLK0 UTXD1 PIODC1 WKUP3 PA5 – NPCS3 URXD1 WKUP4 PWMC1_PWML3 NA URXD1 PIODC2 WKUP4 PA6 – PCK0 UTXD1 – – PCK0 UTXD1 – – PA7 – PWMH3 – – – PWMC0_PWMH3 – – – PA8 – AFE0_ADTRG – WKUP5 PWMC1_PWMH3 AFE0_ADTRG – – NA WKUP6 PA9 URXD0 NPCS1 PWMFI0 WKUP6 URXD0 ISI_D3 PWMC0_PWMFI0 PIODC3 PA10 UTXD0 NPCS2 – – UTXD0 PWMC0_EXTRG0 RD PIODC4 PA11 NPCS0 PWMH0 – WKUP7 QCS PWMC0_PWMH0 PWMC1_PWML0 PIODC5 PA12 MISO PWMH1 – – QIO1 PWMC0_PWMH1 PWMC1_PWMH0 PIODC6 PA13 MOSI PWMH2 – – QIO0 PWMC0_PWMH2 PWMC1_PWML1 PIODC7 PA14 SPCK PWMH3 – WKUP8 QSCK PWMC0_PWMH3 PWMC1_PWMH1 PIODCEN1 WKUP8 PA15 – TIOA1 PWML3 WKUP14/PIODCEN1 D14 TIOA1 PWMC0_PWML3 – NA PA16 – TIOB1 PWML2 WKUP15/PIODCEN2 D15 TIOB1 PWMC0_PWML2 – NA PA17 – PCK1 PWMH3 AFE0_AD0 QIO2 PCK1 PWMC0_PWMH3 – AFE0_AD6 PCK2 A14 – AFE0_AD7 A15 – AFE0_AD8/WKUP9 WKUP7 PA18 – PCK2 A14 AFE0_AD1 PWMC1_EXTRG 1 PA19 – PWML0 A15 AFE0_AD2/WKUP9 – PWMC0_PWML0 PA20 – PWML1 A16 AFE0_AD3/WKUP10 – PWMC0_PWML1 A16 – AFE0_AD9/WKUP10 PA21 RXD1 PCK1 – AFE1_AD2 RXD1 PCK1 PWMC1_PWMFI0 PIODCEN2 AFE0_AD1 PA22 TXD1 NPCS3 NCS2 AFE1_AD3 RK PWMC0_EXTRG1 NCS2 PIODCCLK NA PA23 SCK1 PWMH0 A19 PIODCCLK SCK1 PWMC0_PWMH0 A19 PWMC1_PWML2 NA PA24 RTS1 PWMH1 A20 PIODC0 RTS1 PWMC0_PWMH1 A20 ISI_PCK NA PA25 CTS1 PWMH2 A23 PIODC1 CTS1 PWMC0_PWMH2 A23 MCCK NA PA26 DCD1 TIOA2 MCDA2 PIODC2 DCD1 TIOA2 MCDA2 PWMC1_PWMFI1 NA PA27 DTR1 TIOB2 MCDA3 PIODC3 DTR1 TIOB2 MCDA3 ISI_D7 NA PA28 DSR1 TCLK1 MCCDA PIODC4 DSR1 TCLK1 MCCDA PWMC1_PWMFI2 NA PA29 RI1 TCLK2 MCCK PIODC5 RI1 TCLK2 NA – NA PA30 PWML2 NPCS2 MCDA0 WKUP11/ PIODC6 PWMC0_PWML2 PWMC1_EXTRG0 MCDA0 – WKUP11 PA31 NPCS1 PCK2 MCDA1 PIODC7 SPI0_NPCS1 PCK2 MCDA1 PWMC1_PWMH2 PB0 PWMH0 – RXD0 AFE0_AD4/ RTCOUT0 PWMC0_PWMH0 – RXD0 TF AFE0_AD10/ RTCOUT0 PB1 PWMH1 – TXD0 AFE0_AD5/ RTCOUT1 PWMC0_PWMH1 GTSUCOMP TXD0 TK AFE1_AD0/ RTCOUT1 PB2 CANTX0 NPCS2 CTS0 AFE1_AD0/ WKUP12 CANTX0 NA CTS0 SPI0_NPCS0 AFE0_AD5 PB3 CANRX0 PCK2 RTS0 AFE1_AD1 CANRX0 PCK2 RTS0 ISI_D2 AFE0_AD2/ WKUP12 PB4 TWD1 PWMH2 – TDI TWD1 PWMC0_PWMH2 – TXD1 TDI PB5 TWCK1 PWML0 – WKUP13/TDO TWCK1 PWMC0_PWML0 – TD WKUP13/TDO PB6 – – – TMS/SWDIO – – – – TMS/SWDIO PB7 – – – TCK/SWCLK – – – – TCK/SWCLK Migrating from the SAM4E to the SAM E70 Microcontroller [APPLICATION NOTE] Atmel-44034A-ATARM-Migrating from SAM4E to SAM E70 Microcontroller-Application Note_31-Mar-15 7 Table 5-1. LQFP144/BGA144 Multiplexing Differences (Continued) SAM4E I/O Line Peripheral A Peripheral B SAM E70 Peripheral C Extra Function Peripheral A Peripheral B Peripheral C Peripheral D Extra Function PB8 – – – XOUT – – – – XOUT PB9 – – – XIN – – – – XIN PB10 DDM DDM only PB11 DDP DDP only PB12 PWML1 – – ERASE PWMC0_PWML1 – – PCK0 ERASE PB13 PWML2 PCK0 SCK0 DAC0 PWMC0_PWML2 PCK0 SCK0 – DAC0 PB14 NPCS1 PWMH3 PC0 D0 PWML0 – AFE0_AD14 D0 PWMC0_PWML0 – – AFE1_AD9 PC1 D1 PWML1 – AFE1_AD4 D1 PWMC0_PWML1 – – NA PC2 D2 PWML2 – AFE1_AD5 D2 PWMC0_PWML2 – – NA PC3 D3 PWML3 – AFE1_AD6 D3 PWMC0_PWML3 – – NA PC4 D4 NPCS1 – AFE1_AD7 D4 NA – – NA PC5 D5 TIOA6 – – D5 TIOA6 – – – PC6 D6 TIOB6 – – D6 TIOB6 – – – PC7 D7 TCLK6 – – D7 TCLK6 – – – PC8 NWE TIOA7 – – NWR0/NWE TIOA7 – – – PC9 NANDOE TIOB7 – – NANDOE TIOB7 – – – PC10 NANDWE TCLK7 – – NANDWE TCLK7 – – – PC11 NRD TIOA8 – – NRD TIOA8 – – – DAC1 not bonded PC12 NCS3 TIOB8 CANRX1 AFE0_AD8 NCS3 TIOB8 CANRX1 – AFE1_AD3 PC13 NWAIT PWML0 – AFE0_AD6 NWAIT PWMC0_PWMH3 SDA10 – AFE1_AD1 PC14 NCS0 TCLK8 – – NCS0 TCLK8 CANTX1 – – PC15 NCS1 PWML1 CANTX1 AFE0_AD7 NCS1/SDCS PWMC0_PWML3 NA – AFE1_AD2 PC16 A21/ NANDALE – – – A21/ NANDALE – – – – PC17 A22/ NANDCLE – – – A22/ NANDCLE – – – – PC18 A0 PWMH0 – – A0/NBS0 PWMC0_PWML1 – – – PC19 A1 PWMH1 – – A1 PWMC0_PWMH2 – – – PC20 A2 PWMH2 – – A2 PWMC0_PWML2 – – – PC21 A3 PWMH3 – – A3 PWMC0_PWMH3 – – – PC22 A4 PWML3 – – A4 PWMC0_PWML3 – – – PC23 A5 TIOA3 – – A5 TIOA3 – – – PC24 A6 TIOB3 – – A6 TIOB3 SPI1_SPCK – – PC25 A7 TCLK3 – – A7 TCLK3 SPI1_NPCS0 – – PC26 A8 TIOA4 – AFE0_AD12 A8 TIOA4 SPI1_MISO – AFE1_AD7 PC27 A9 TIOB4 – AFE0_AD13 A9 TIOB4 SPI1_MOSI – AFE1_AD8 PC28 A10 TCLK4 – – A10 TCLK4 SPI1_NPCS1 – PC29 A11 TIOA5 – AFE0_AD9 A11 TIOA5 SPI1_NPCS2 – AFE1_AD4 PC30 A12 TIOB5 – AFE0_AD10 A12 TIOB5 SPI1_NPCS3 – AFE1_AD5 PC31 A13 TCLK5 – AFE0_AD11 A13 TCLK5 – – AFE1_AD6 PD0 GTXCK/GREFCK – – – GTXCK/GREFCK PWMC1_PWML0 SPI1_NPCS1 DCD0 DAC1 PD1 GTXEN – – – GTXEN PWMC1_PWMH0 SPI1_NPCS2 DTR0 – PD2 GTX0 – – – GTX0 PWMC1_PWML1 SPI1_NPCS3 DSR0 – 8 Migrating from the SAM4E to the SAM E70 Microcontroller [APPLICATION NOTE] Atmel-44034A-ATARM-Migrating from SAM4E to SAM E70 Microcontroller-Application Note_31-Mar-15 Table 5-1. LQFP144/BGA144 Multiplexing Differences (Continued) SAM4E I/O Line Peripheral A Peripheral B SAM E70 Peripheral C Extra Function Peripheral A Peripheral B Peripheral C Peripheral D Extra Function PD3 GTX1 – – – GTX1 PWMC1_PWMH1 UTXD4 RI0 – PD4 GCRSDV/GRXDV – – – GCRSDV/GRXDV PWMC1_PWML2 TRACED0 DCD2 – PD5 GRX0 – – – GRX0 PWMC1_PWMH2 TRACED1 DTR2 – PD6 GRX0 – – – GRX0 PWMC1_PWML3 TRACED2 DSR2 – PD7 GRXER – – – GRXER PWMC1_PWMH3 TRACED3 RI2 – PD8 GMDC – – – GMDC PWMC0_PWMFI1 – TRACECLK – PD9 GMDIO – – – GMDIO PWMC0_PWMFI2 AFE1_ADTRG TRACECTL – PD10 GCRS – – – GCRS PWMC0_PWML0 TD – – PD11 GRX2 – – – GRX2 PWMC0_PWMH0 GTSUCOMP ISI_D5 – PD12 GRX3 – – – GRX3 CANTX1 SPI0_NPSC2 ISI_D6 – PD13 GCOL – – – GCOL – SDA10 – – PD14 GRXCK – – – GRXCK – SDCKE – – PD15 GTX2 – – – GTX2 RXD2 NWR1/NBS1 – – PD16 GTX3 – – – GTX3 TXD2 RAS – – PD17 GTXER – – – GTXER SCK2 CAS – – PD18 NCS1 – – – NCS1/SDCS RTS2 URXD4 – – PD19 NCS3 – – – NCS3 CTS2 UTXD4 – – PD20 PWMH0 – – – PWMC0_PWMH0 SPI0_MISO GTSUCOMP – – PD21 PWMH1 – – – PWMC0_PWMH1 SPI0_MOSI TIOA11 ISI_D1 – PD22 PWMH2 – – – PWMC0_PWMH2 SPI0_SPCK TIOB11 ISI_D0 – PD23 PWMH3 – – – PWMC0_PWMH3 – SDCK – – PD24 PWML0 – – – PWMC0_PWML0 RF TCLK11 ISI_HSYNC – PD25 PWML1 – – – PWMC0_PWML1 SPI0_NPCS1 URXD2 ISI_VSYNC – PD26 PWML2 – – – PWMC0_PWML2 TD UTXD2 UTXD1 – PD27 PWML3 – – – PWMC0_PWML3 SPI0_NPCS3 TWD2 ISI_D8 – PD28 – – – – URXD3 – TWCLK2 ISI_D9 WKUP5 PD29 – – – – – – SDWE – – PD30 – – – – UTXD3 – – ISI_D10 AFE0_AD0 PD31 – – – – QIO3 UTXD3 PCK2 ISI_D11 – PE0 – – – – D8 TIOA9 – – AFE1_AD11 PE1 – – – – D9 TIOB9 – – – PE2 – – – – D10 TCLK9 – – – PE3 – – – – D11 TIOA10 – – AFE1_AD10 PE4 – – – – D12 TIOB10 – – AFE0_AD4 PE5 – – – – D13 TCLK10 – – AFE0_AD3 Migrating from the SAM4E to the SAM E70 Microcontroller [APPLICATION NOTE] Atmel-44034A-ATARM-Migrating from SAM4E to SAM E70 Microcontroller-Application Note_31-Mar-15 9 5.4.2 100-pin PIO Multiplexing Table 5-2. LQFP100/BGA100 Multiplexing Differences SAM4E I/O Line SAM E70 Peripheral A Peripheral B Peripheral C Extra Function Peripheral A Peripheral B Peripheral C Peripheral D Extra Function PA0 PWMH0 TIOA0 A17 WKUP0 PWMC0_PWMH0 TIOA0 A17/BA1 – WKUP0 PA1 PWMH1 TIOB0 A18 WKUP1 PWMC0_PWML0 TIOB0 A18 – WKUP1 PA2 PWMH2 – DATRG WKUP2 PWMC0_PWMH1 – DATRG – WKUP2 PA3 TWD0 NPCS3 – – TWD0 LONCOL1 PCK2 PIODC0 – PA4 TWCK0 TCLK0 – WKUP3 TWCK0 TCLK0 UTXD1 PIODC1 WKUP3 PA5 – NPCS3 URXD1 WKUP4 PWMC1_PWML3 NA URXD1 PIODC2 WKUP4 PCK0 UTXD1 PA6 not bonded PA7 – PWMH3 – – PWMC0_PWMH3 – – – PA8 – AFE0_ADTRG – WKUP5 PWMC1_PWMH3 AFE0_ADTRG – – NA PA9 URXD0 NPCS1 PWMFI0 WKUP6 URXD0 ISI_D3 PWMC0_PWMFI0 PIODC3 WKUP6 PA10 UTXD0 NPCS2 – – UTXD0 PWMC0_EXTRG0 RD PIODC4 – PA11 NPCS0 PWMH0 – WKUP7 QCS PWMC0_PWMH0 PWMC1_PWML0 PIODC5 WKUP7 PA12 MISO PWMH1 – – QIO1 PWMC0_PWMH1 PWMC1_PWMH0 PIODC6 – PA13 MOSI PWMH2 – – QIO0 PWMC0_PWMH2 PWMC1_PWML1 PIODC7 – PA14 SPCK PWMH3 – WKUP8 QSCK PWMC0_PWMH3 PWMC1_PWMH1 PIODCEN1 WKUP8 PA15 – TIOA1 PWML3 WKUP14/PIODCEN1 D14 TIOA1 PWMC0_PWML3 – NA PA16 – TIOB1 PWML2 WKUP15/PIODCEN2 D15 TIOB1 PWMC0_PWML2 – NA PA17 – PCK1 PWMH3 AFE0_AD0 QIO2 PCK1 PWMC0_PWMH3 – AFE0_AD6 PCK2 A14 – AFE0_AD7 A15 – AFE0_AD8/WKUP9 PA18 – PCK2 A14 AFE0_AD1 PWMC1_EXTRG 1 PA19 – PWML0 A15 AFE0_AD2/WKUP9 – PWMC0_PWML0 PWML1 A16 AFE0_AD3/WKUP10 – PWMC0_PWML1 A16 – AFE0_AD9/WKUP10 PCK1 – AFE1_AD2 RXD1 PCK1 PWMC1_PWMFI0 PIODCEN2 AFE0_AD1 PA20 PA21 RXD1 PA22 TXD1 NPCS3 NCS2 AFE1_AD3 RK PWMC0_EXTRG1 NCS2 PIODCCLK NA PA23 SCK1 PWMH0 A19 PIODCCLK SCK1 PWMC0_PWMH0 A19 PWMC1_PWML2 NA PA24 RTS1 PWMH1 A20 PIODC0 RTS1 PWMC0_PWMH1 A20 ISI_PCK NA PA25 CTS1 PWMH2 A23 PIODC1 CTS1 PWMC0_PWMH2 A23 MCCK NA PA26 DCD1 TIOA2 MCDA2 PIODC2 DCD1 TIOA2 MCDA2 PWMC1_PWMFI1 NA PA27 DTR1 TIOB2 MCDA3 PIODC3 DTR1 TIOB2 MCDA3 ISI_D7 NA PA28 DSR1 TCLK1 MCCDA PIODC4 DSR1 TCLK1 MCCDA PWMC1_PWMFI2 NA PA29 RI1 TCLK2 MCCK PIODC5 not bonded PA30 PWML2 NPCS2 MCDA0 WKUP11/ PIODC6 PWMC0_PWML2 PWMC1_EXTRG0 MCDA0 – WKUP11 PA31 NPCS1 PCK2 MCDA1 PIODC7 SPI0_NPCS1 PCK2 MCDA1 PWMC1_PWMH2 – PB0 PWMH0 – RXD0 AFE0_AD4/ RTCOUT0 PWMC0_PWMH0 – RXD0 TF AFE0_AD10/ RTCOUT0 PB1 PWMH1 – TXD0 AFE0_AD5/ RTCOUT1 PWMC0_PWMH1 GTSUCOMP TXD0 TK AFE1_AD0/ RTCOUT1 PB2 CANTX0 NPCS2 CTS0 AFE1_AD0/ WKUP12 CANTX0 NA CTS0 SPI0_NPCS0 AFE0_AD5 PB3 CANRX0 PCK2 RTS0 AFE1_AD1 CANRX0 PCK2 RTS0 ISI_D2 AFE0_AD2/ WKUP12 PB4 TWD1 PWMH2 – TDI TWD1 PWMC0_PWMH2 – TXD1 TDI PB5 TWCK1 PWML0 – WKUP13/TDO TWCK1 PWMC0_PWML0 – TD WKUP13/TDO PB6 – – – TMS/SWDIO – – – – TMS/SWDIO PB7 – – – TCK/SWCLK – – – – TCK/SWCLK 10 Migrating from the SAM4E to the SAM E70 Microcontroller [APPLICATION NOTE] Atmel-44034A-ATARM-Migrating from SAM4E to SAM E70 Microcontroller-Application Note_31-Mar-15 Table 5-2. LQFP100/BGA100 Multiplexing Differences (Continued) SAM4E I/O Line SAM E70 Peripheral A Peripheral B Peripheral C Extra Function Peripheral A Peripheral B Peripheral C Peripheral D Extra Function PB8 – – – XOUT – – – – XOUT PB9 – – – XIN – – – – XIN PB10 DDM DDM only PB11 DDP DDP only PB12 PWML1 – – ERASE PWMC0_PWML1 – – PCK0 ERASE PB13 PWML2 PCK0 SCK0 DAC0 PWMC0_PWML2 PCK0 SCK0 – DAC0 PB14 NPCS1 PWMH3 DAC1 not bonded PD0 GTXCK/GREFCK – – – GTXCK/GREFCK PWMC1_PWML0 SPI1_NPCS1 DCD0 DAC1 PD1 GTXEN – – – GTXEN PWMC1_PWMH0 SPI1_NPCS2 DTR0 – PD2 GTX0 – – – GTX0 PWMC1_PWML1 SPI1_NPCS3 DSR0 – PD3 GTX1 – – – GTX1 PWMC1_PWMH1 UTXD4 RI0 – PD4 GCRSDV/GRXDV – – – GCRSDV/GRXDV PWMC1_PWML2 TRACED0 DCD2 – PD5 GRX0 – – – GRX0 PWMC1_PWMH2 TRACED1 DTR2 – PD6 GRX0 – – – GRX0 PWMC1_PWML3 TRACED2 DSR2 – PD7 GRXER – – – GRXER PWMC1_PWMH3 TRACED3 RI2 – PD8 GMDC – – – GMDC PWMC0_PWMFI1 – TRACECLK – PD9 GMDIO – – – GMDIO PWMC0_PWMFI2 AFE1_ADTRG TRACECTL – PD10 GCRS – – – GCRS PWMC0_PWML0 TD – – PD11 GRX2 – – – GRX2 PWMC0_PWMH0 GTSUCOMP ISI_D5 – PD12 GRX3 – – – GRX3 CANTX1 SPI0_NPSC2 ISI_D6 – PD13 GCOL – – – GCOL – SDA10 – – PD14 GRXCK – – – GRXCK – SDCKE – – PD15 GTX2 – – – GTX2 RXD2 NWR1/NBS1 – – PD16 GTX3 – – – GTX3 TXD2 RAS – – PD17 GTXER – – – GTXER SCK2 CAS – – PD18 NCS1 – – – NCS1/SDCS RTS2 URXD4 – – PD19 NCS3 – – – NCS3 CTS2 UTXD4 – – PD20 PWMH0 – – – PWMC0_PWMH0 SPI0_MISO GTSUCOMP – – PD21 PWMH1 – – – PWMC0_PWMH1 SPI0_MOSI TIOA11 ISI_D1 – PD22 PWMH2 – – – PWMC0_PWMH2 SPI0_SPCK TIOB11 ISI_D0 – PD23 PWMH3 not bonded PD24 PWML0 – – – PWMC0_PWML0 RF TCLK11 ISI_HSYNC – PD25 PWML1 – – – PWMC0_PWML1 SPI0_NPCS1 URXD2 ISI_VSYNC – PD26 PWML2 – – – PWMC0_PWML2 TD UTXD2 UTXD1 – PD27 PWML3 – – – PWMC0_PWML3 SPI0_NPCS3 TWD2 ISI_D8 – PD28 – – – – URXD3 CANRX1 TWCLK2 ISI_D9 WKUP5 PD29 not bonded PD30 – – – – UTXD3 – – ISI_D10 AFE0_AD0 PD31 – – – – QIO3 UTXD3 PCK2 ISI_D11 – Migrating from the SAM4E to the SAM E70 Microcontroller [APPLICATION NOTE] Atmel-44034A-ATARM-Migrating from SAM4E to SAM E70 Microcontroller-Application Note_31-Mar-15 11 6. Revision History Table 6-1. Migrating from SAM4E to SAM E70 Revision History Rev. 44034A Comments 31-Mar-15 First issue. 12 Migrating from the SAM4E to the SAM E70 Microcontroller [APPLICATION NOTE] Atmel-44034A-ATARM-Migrating from SAM4E to SAM E70 Microcontroller-Application Note_31-Mar-15 ARM Connected Logo XXXXXX Atmel Corporation 1600 Technology Drive, San Jose, CA 95110 USA T: (+1)(408) 441.0311 F: (+1)(408) 436.4200 | www.atmel.com © 2015 Atmel Corporation. / Rev.: Atmel-44034A-ATARM-Migrating from SAM4E to SAM E70 Microcontroller-Application Note_31-Mar-15. Atmel®, Atmel logo and combinations thereof, Enabling Unlimited Possibilities®, and others are registered trademarks or trademarks of Atmel Corporation in U.S. and other countries. ARM®, ARM Connected® logo, and others are the registered trademarks or trademarks of ARM Ltd. Other terms and product names may be trademarks of others. DISCLAIMER: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS AND PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and products descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life. SAFETY-CRITICAL, MILITARY, AND AUTOMOTIVE APPLICATIONS DISCLAIMER: Atmel products are not designed for and will not be used in connection with any applications where the failure of such products would reasonably be expected to result in significant personal injury or death (“Safety-Critical Applications”) without an Atmel officer's specific written consent. Safety-Critical Applications include, without limitation, life support devices and systems, equipment or systems for the operation of nuclear facilities and weapons systems. Atmel products are not designed nor intended for use in military or aerospace applications or environments unless specifically designated by Atmel as military-grade. Atmel products are not designed nor intended for use in automotive applications unless specifically designated by Atmel as automotive-grade.