AN4675 Application note

Similar documents
AN4749 Application note

AN4809 Application note

Hello, and welcome to this presentation of the STM32 Reset and Clock Controller.

AN4936 Application note

STM32L4R9I-EVAL. Evaluation board with STM32L4R9AI MCU. Features

AN4809 Application note

AN3988 Application note

AN4515 Application note

STM32F7 series ARM Cortex -M7 powered Releasing your creativity

AN4311 Application note

Designing with STM32F2x & STM32F4

External memory code execution on STM32F7x0 Value line and STM32H750 Value line MCUs

STM32F4 Introduction F1/F2/F4 Comparison Features Highlight

AN5123 Application note

AN4943 Application note

STM32SnippetsL0. STM32L0xx Snippets firmware package. Features. Description

STM32H7x3I-EVAL. Evaluation board with STM32H7x3XI MCUs. Data brief. Features

32F469IDISCOVERY. Discovery kit with STM32F469NI MCU. Features. Description

Using the GPIOs and interrupt controller to drive LEDs on STM8 Nucleo-64 boards

AN4696 Application note

AN3362 Application note

UM2092 User manual. Basic metrology firmware for the STM32F103RD and the STPM32 devices. Introduction

STM32F765xx STM32F767xx STM32F768Ax STM32F769xx

ARM Cortex-M4 32b MCU+FPU, 225DMIPS, up to 2MB Flash/256+4KB RAM, USB OTG HS/FS, Ethernet, 17 TIMs, 3 ADCs, 20 comm. interfaces, camera & LCD-TFT

STM32 F-2 series High-performance Cortex-M3 MCUs

P-NUCLEO-USB001. STM32 Nucleo pack for USB Type-C and Power Delivery. Features. Description

AN4616 Application note

STM32F7 series ARM Cortex -M7 powered Releasing your creativity

P-NUCLEO-USB001. STM32 Nucleo pack for USB Type-C and Power Delivery Data brief. Features. Description

ST25DV-DISCOVERY. Discovery kit for the ST25DV04K dynamic NFC/RFID tag. Features

32F412GDISCOVERY. Discovery kit with STM32F412ZG MCU. Features. Description

AN4831 Application note

AN4649 Application note

AN4152 Application note

STSW-BLUENRG1-DK. BlueNRG-1, BlueNRG-2 DK SW package

SPC58EHx,SPC58NHx. A scalable approach for high-end body, networking and security platforms for Automotive. Description. Features

RN0084 Release note. ST-LINK/V2 firmware upgrade. About this release note

AN4045 Application note

32F746GDISCOVERY. Discovery kit with STM32F746NG MCU. Features. Description

UM2255 User manual. SPC58NG-DISP user manual. Introduction

STM32 F2 series High performance Cortex M3 MCUs

AN4666 Application note

Hello, and welcome to this presentation of the STM32L4 power controller. The STM32L4 s power management functions and all power modes will also be

STM32F4 Labs. T.O.M.A.S Technically Oriented Microcontroller Application Services V1.07

STM32F437xx STM32F439xx

STA1080, STA1085 STA1090, STA1095

AN4838. Managing memory protection unit (MPU) in STM32 MCUs. Application note. Introduction

Getting started with the STM32 Nucleo pack for USB Type-C and Power Delivery with the Nucleo-F072RB board and the STUSB1602

STM32F777xx STM32F778Ax STM32F779xx

EMIF06-USD14F3. 6-line low capacitance IPAD for micro-sd card with EMI filtering and ESD protection. Applications. Description. Features.

NUCLEO-L433RC-P NUCLEO-L452RE-P

Product Technical Brief S3C2413 Rev 2.2, Apr. 2006

STM3220G-SK/KEI. Keil starter kit for STM32F2 series microcontrollers (STM32F207IG MCU) Features. Description

STM32F429 Overview. Steve Miller STMicroelectronics, MMS Applications Team October 26 th 2015

AN4872 Application note

AN4777 Application note

AN2606 Application note

AN5224. STM32 DMAMUX: the DMA request router. Application note. Introduction

A scalable approach to your body, networking and security platforms. Description

AN3281 Application note

AN4325 Application note

AN2606 Application note

NUCLEO-L496ZG. STM32 Nucleo-144 board. Features. Description

STM32F767xx STM32F768Ax STM32F768AI

USB Type-C and Power Delivery Nucleo pack with NUCLEO-F072RB expansion board based on STUSB1602. Description

STM32L4 System operating modes

SPC584C80C3, SPC58EC80C3

Getting started with the digital MEMS microphone expansion board based on MP34DT01-M for STM32 Nucleo

32L476GDISCOVERY. Discovery kit with STM32L476VG MCU. Features. Description

Description. July 2016 DocID Rev 2 1/6

Product Technical Brief S3C2412 Rev 2.2, Apr. 2006

AN3996 Application Note

AN4491 Application note

P-NUCLEO-6180X2. Proximity, gesture, ambient light sensor expansion board based on VL6180X for STM32L053R8. Description. Features

X-NUCLEO-53L0A1. Ranging and gesture detection sensor expansion board based on VL53L0X for STM32 Nucleo. Description. Features

AN3980 Application note

Bluetooth low energy profiles for the X-CUBE-BLE1 expansion for STM32Cube. Description

How to configure the BlueNRG-1 and BlueNRG-2 devices in network coprocessor mode. Main components Bluetooth Low Energy wireless system-on-chip

AN4228 Application note

This manual provides information for the final user application developer on how to use SPC57S-Discovery microcontroller evaluation board.

STSW-STWBCFWDT. STWBC firmware downloader tool. Description. Features

EVALKITSTKNX. Miniature transceiver STKNX evaluation and development kit. Features

USB Type-C and Power Delivery Nucleo pack with NUCLEO-F072RB expansion board based on the STUSB1602

SPC584Cx, SPC58ECx. 32-bit Power Architecture microcontroller for automotive ASIL-B applications. Features

UM2051 User manual. Getting started with the STM32 Nucleo pack for USB Type-C and Power Delivery. Introduction

AN3268 Application note

STM32F205xx STM32F207xx

P-NUCLEO-IKA02A1. STM32 Nucleo pack: electrochemical toxic gas sensor expansion board with CO sensor. Description. Features

Description. January 2019 DB2381 Rev 3 1/5

STM32F745xx STM32F746xx

UM2461 User manual. SPC584B-DIS Discovery Board. Introduction

P-NUCLEO-53L0A1. VL53L0X Nucleo pack with ranging, gesture detection sensor expansion board and STM32F401RE. Description. Features

Sub-1 GHz RF expansion board based on the SPSGRF-868 module for STM32 Nucleo. Description

AN2667 Application note

AN2585 Application note

P-NUCLEO-53L1A1. VL53L1X nucleo pack with X-NUCLEO-53L1A1 expansion board and STM32F401RE nucleo board. Description. Features

EMIF06-HSD04F3. 6-line low capacitance IPAD for micro-sd card with EMI filtering and ESD protection. Features. Application.


AN2737 Application note Basic in-application programming example using the STM8 I 2 C and SPI peripherals Introduction

UM1730 User manual. Getting started with STM32CubeF4 firmware package for STM32F4 Series. Introduction

Transcription:

Application note Migration of microcontroller applications from STM32F42xxx/STM32F43xxx to STM32F469xx/STM32F479xx Introduction For more and more applications using STM32 products, it is important to migrate a project easily to a different microcontroller in the same product family. Migrating an application to a different microcontroller is often needed, when product requirements grow, putting extra demands on memory size, or increasing the number of I/Os. On the other hand, cost reduction objectives may force you to switch to smaller components and shrink the PCB area. This application note is intended to help you to analyze the steps you need to migrate from an existing STM32F42xxx/STM32F43xxx devices based design to STM32F469xx/STM32F479xx devices. It groups together all the most important information and lists the vital aspects that you need to address. The current document lists full set of features for STM32F42xxx/STM32F43xxx and STM32F469xx/STM32F479xx series in the comparisons made (some products may have less features depending on their part number). Migrating between the two devices within the same family could require hardware and/or software changes in some cases. Changes that might be required are described in this document.to fully benefit from the information in this application note, the user should be familiar with the STM32 microcontroller family. This application note has to be read in conjunction with STM32F42xxx/STM32F43xxx and STM32F469xx/STM32F479xx reference manuals (RM0090 and RM0386) and datasheets available at www.st.com. Table 1. Applicable devices Type Reference Part numbers or product lines Microcontrollers STM32F427xx STM32F437xx STM32F429xx STM32F439xx STM32F469xx STM32F479xx STM32F427/437 line STM32F429AG, STM32F429AI, STM32F429BE, STM32F429BG, STM32F429BI, STM32F429IE, STM32F429IG, STM32F429II, STM32F429NE, STM32F429NG, STM32F429NI, STM32F429VE, STM32F429VG, STM32F429VI, STM32F429ZE, STM32F429ZG, STM32F429ZI STM32F439AI, STM32F439BG, STM32F439BI, STM32F439IG, STM32F439II, STM32F439NG, STM32F439NI, STM32F439VG, STM32F439VI, STM32F439ZG, STM32F439ZI STM32F469AE, STM32F469AG, STM32F469AI, STM32F469BE, STM32F469BG, STM32F469BI, STM32F469IE, STM32F469IG, STM32F469II, STM32F469NE, STM32F469NG, STM32F469NI STM32F479AG, STM32F479AI, STM32F479BG, STM32F479BI, STM32F479IG, STM32F479II, STM32F479NG, STM32F479NI October 2015 DocID027683 Rev 3 1/27 www.st.com 1

Contents Contents 1 Hardware migration guide.................................... 5 1.1 PCB design compatibility...................................... 5 1.1.1 LQFP208 package.......................................... 6 1.1.2 LQFP176 package.......................................... 7 1.1.3 TFBGA216 package........................................ 9 1.1.4 UFBGA176 package....................................... 11 1.1.5 UFBGA169 package....................................... 13 2 Peripheral migration guide................................... 16 2.1 STM32 product cross-compatibility............................. 16 2.2 Register boundary addresses of peripherals...................... 18 2.3 Flexible memory controller (FMC).............................. 19 2.4 Interrupt vector............................................. 20 2.5 Reset and Clock Control (RCC)................................ 20 2.6 Power controller............................................ 21 2.7 Audio interfaces............................................ 22 2.8 USB OTG................................................. 22 2.9 Digital camera interface (DCMI)................................ 24 2.10 Secure digital input/output interface (SDIO)....................... 24 3 Conclusion................................................ 25 4 Revision history........................................... 26 2/27 DocID027683 Rev 3

List of tables List of tables Table 1. Applicable devices........................................................ 1 Table 2. Package availability and PCB design compatibility............................... 5 Table 3. List of LQFP208 pinout differences........................................... 6 Table 4. List of LQFP176 pinout differences........................................... 8 Table 5. List of TFBGA216 ballout differences......................................... 10 Table 6. List of UFBGA176 ballout differences......................................... 12 Table 7. List of UFBGA169 ballout differences......................................... 14 Table 8. Peripheral compatibility analysis: STM32F42xxx/STM32F43xxx vs STM32F469xx/STM32F479xx.............................................. 17 Table 9. Peripherals register boundary addresses comparison............................ 18 Table 10. FMC differences between STM32F42xxx/STM32F43xxx and STM32F469xx/STM32F479xx........................................... 19 Table 11. Interrupt vector differences between STM32F42xxx/STM32F43xxx and STM32F469xx/STM32F469xx.............................................. 20 Table 12. RCC differences between STM32F42xxx/STM32F43xxx and STM32F469xx/STM32F479xx.............................................. 20 Table 13. PWR controller: STM32F469xx/STM32F479xx vs STM32F42xxx/STM32F43xxx....... 21 Table 14. Audio interfaces comparison............................................... 22 Table 15. USB OTG differences between STM32F469xx/STM32F479xx and STM32F42xxx/STM32F43xxx.............................................. 23 Table 16. DCMI features: STM32F469xx/STM32F479xx vs STM32F42xxx/STM32F43xxx.............................................. 24 Table 17. SDIO comparison: STM32F469xx/STM32F479xx vs STM32F42xxx/STM32F43xxx.............................................. 24 Table 18. Document revision history................................................. 26 DocID027683 Rev 3 3/27 3

List of figures List of figures Figure 1. LQFP208 pinout differences................................................. 6 Figure 2. LQFP176 pinout differences................................................. 7 Figure 3. TFBGA216 ballout differences............................................... 9 Figure 4. UFBGA176 ballout differences.............................................. 11 Figure 5. UFBGA169 ballout differences.............................................. 13 Figure 6. Power supply supervisor: STM32F42xxx/STM32F43xxx vs STM32F469xx/STM32F479xx.............................................. 22 4/27 DocID027683 Rev 3

Hardware migration guide 1 Hardware migration guide 1.1 PCB design compatibility The STM32F469xx/STM32F479xx devices are not identical with the STM32F42xxx/STM32F43xxx devices in term of MCU port assignment to package terminals, that is, in term of pinout or ballout. This holds for all common package types of the package list in Table 2, ordered from biggest to smallest. For migrating from STM32F42xxx or STM32F43xxx to STM32F469xx or STM32F479xx, the differences in pinout or ballout have to be reflected in the PCB design. Keeping the same LQFP176, UFBGA169 or LQFP208 package, a new PCB design can hardly be avoided. Keeping the same TFBGA216 or UFBGA176 package, it is easier to use the same PCB design as the pinout / ballout differences are weaker. Therefore, for the latter packages, the microcontrollers from either series allow PCB design compatibility. Table 2. Package availability and PCB design compatibility Package STM32F42xxx STM32F43xxx STM32F469xx STM32F479xx Pinout / ballout difference PCB design modification LQFP208 (28 28 mm) X X Weak Mandatory LQFP176 (24 24 mm) X X Medium Mandatory LQFP144 (20 20 mm) X - - - LQFP100 (14 14 mm) X - - - TFBGA216 (13 x 13 mm) X X Weak Not mandatory (1) UFBGA176 (10 10 mm) X X Weak Not mandatory (1) UFBGA169 (7 7 mm) X X Strong Mandatory WLCSP143 X - - - WLCSP168 - X - - 1. Light modification may be required. Refer to Figure 3 and Figure 4 for details on ballout differences. DocID027683 Rev 3 5/27 26

Hardware migration guide 1.1.1 LQFP208 package Figure 1. LQFP208 pinout differences For the highlighted (blue) terminals, DSIHOST dedicated IOs on STM32F469BxT/STM32F479BxT substitute some of STM32F42xBxT/STM32F43xBxT IO ports. Table 3. List of LQFP208 pinout differences Terminal STM32F42xBxT STM32F43xBxT STM32F469BxT STM32F479BxT Terminal STM32F42xBxT STM32F43xBxT STM32F469BxT STM32F479BxT 128 PK2 VSSDSI 122 PJ10 VSSDSI 127 PK1 DSIHOST_D1N 121 PJ9 DSIHOST_D0N 126 PK0 DSIHOST_D1P 120 PJ8 DSIHOST_D0P 125 VSS VDD12DSI 119 PJ7 VCAPDSI 124 VDD DSIHOST_CKN 118 PJ6 VDDDSI 123 PJ11 DSIHOST_CKP 137 VDD VDD_USB 6/27 DocID027683 Rev 3

Hardware migration guide 1.1.2 LQFP176 package Figure 2. LQFP176 pinout differences The highlighted (blue) terminals have different IO port assignment. DocID027683 Rev 3 7/27 26

Hardware migration guide Table 4. List of LQFP176 pinout differences Terminal STM32F42xIxT STM32F43xIxT STM32F469IxT STM32F479IxT Terminal STM32F42xIxT STM32F43xIxT STM32F469IxT STM32F479IxT 133 PI2 PI1 109 PG5 VSSDSI 132 PI1 PI0 108 PG4 DSIHOST_D1N 131 PI0 VDD 107 PG3 DSIHOST_D1P 130 PH15 VSS 106 PG2 VDD12DSI 129 PH14 VCAP2 105 PD15 DSIHOST_CKP 128 PH13 PA13 104 PD14 DSIHOST_CKN 127 VDD PA12 103 VDD VSSDSI 126 VSS PA11 102 VSS DSIHOST_D0N 125 VCAP2 PA10 101 PD13 DSIHOST_D0P 124 PA13 PA0 100 PD12 VCAPDSI 123 PA12 PA8 99 PD11 VDDDSI 122 PA11 PC9 98 PD10 PD15 121 PA10 PC8 97 PD9 PD14 120 PA9 PC7 96 PD8 VDD 119 PA8 PC6 95 PB15 VSS 118 PC9 VDDUSB 94 PB14 PD13 117 PC8 VSS 93 PB13 PD12 116 PC7 PG8 92 PB12 PD11 115 PC6 PG7 91 VDD PD10 114 VDD PG6 90 VSS PD9 113 VSS PG5 89 PH12 PD8 112 PG8 PG4 88 PH11 PB15 111 PG7 PG3 87 PH10 PB14 110 PG6 PG2 86 PH9 PB13 8/27 DocID027683 Rev 3

Hardware migration guide 1.1.3 TFBGA216 package Figure 3. TFBGA216 ballout differences For the highlighted (blue) terminals, DSIHOST dedicated IOs on STM32F469NxH/STM32F479NxH substitute some of STM32F42xNxH/STM32F43xNxH IO ports. DocID027683 Rev 3 9/27 26

Hardware migration guide Table 5. List of TFBGA216 ballout differences Terminal STM32F42xNxH STM32F43xNxH STM32F469NxH STM32F479NxH Terminal STM32F42xNxH STM32F43xNxH STM32F469NxH STM32F479NxH 11G VDD VDDDUSB 12K PJ6 VCAPDSI 11H VDD VDDDSI 13F PL2 DSIHOST_D1N 12F PK1 DSIHOST_D1P 13G PK0 VDD12DSI 12G PJ11 VSSDSI 13H PJ10 DSIHOST_CKN 12H PJ8 DSIHOST_CKP 13J PJ9 DSIHOST_D0N 12J PJ7 DSIHOST_D0P - - - 10/27 DocID027683 Rev 3

Hardware migration guide 1.1.4 UFBGA176 package Figure 4. UFBGA176 ballout differences For the highlighted (blue) terminals, DSIHOST dedicated IOs on STM32F469IxH/STM32F479IxH substitute some of STM32F42xIxH/STM32F43xIxH IO ports. DocID027683 Rev 3 11/27 26

Hardware migration guide Table 6. List of UFBGA176 ballout differences Terminal STM32F42xIxH STM32F43xIxH STM32F469IxH STM32F479IxH Terminal STM32F42xIxH STM32F43xIxH STM32F469IxH STM32F479IxH 12E PH13 DSIHOST_D1P 13D PH15 VDD12DSI 12H VSS VSSDSI 13E PH14 DSIHOST_D1N 12J VDD VDDDSI 13H VDD VDD_USB 12K PH12 VCAPDSI 13L PH10 DSIHOST_CKN 12L PH11 DSIHOST_CKP 13M PH9 DSIHOST_D0N 12M PH8 DSIHOST_D0P 14C PI2 NC 12/27 DocID027683 Rev 3

DocID027683 Rev 3 13/27 Hardware migration guide 26 1.1.5 UFBGA169 package Figure 5. UFBGA169 ballout differences The highlighted (blue) terminals have different IO port assignment.

Hardware migration guide Table 7. List of UFBGA169 ballout differences Terminal STM32F42xAxH STM32F43xAxH STM32F469AxH STM32F479AxH Terminal STM32F42xAxH STM32F43xAxH STM32F469AxH STM32F479AxH 1A NC PI6 9B PD2 PC11 1J VSSA VSS 9C PD1 PD0 1M BYPASS_REG PC0 9D PD0 PH13 1N NC PC1 9H PE13 PH9 2A PI6 PI5 9J PE14 PH10 2F PF0 PI11 9K PE15 PH11 2J VREF- VSSA 9L PB10 VDD 3A PI5 PE1 9M PB11 VSS 3E PI10 VSS 10A PC12 PA14 3F PF1 PF0 10B PC11 PI3 3G PF4 PF1 10E PA11 PC8 3J VREF+ VDDA 10G VDD PC9 4A PE1 PE0 10H PD11 PH12 4B PE0 PB7 10K PH9 VDD 4E PC13 PI10 10L PH8 PD8 4G PF3 PC13 10M PH7 PD9 4H VDD PF3 10N PH6 PB12 4J VDDA VDD 11A PA14 PA13 4L PC4 PF4 11E PA12 PG7 4M PC5 PF13 11F PC8 PG6 5B PB7 PB3 11G PG6 VDDUSB 5H PC1 PF14 11H PD14 VSSDSI 6A PB4 PG13 11J VDD VDD12DSI 6B PB3 PG11 11K PD10 VSSDSI 6C PG15 PD4 11L PH12 PD10 6D VDD PB4 11M PH11 PD11 6E VDD PG9 11N PH10 PB13 6F VSS PG15 12A PI3 PA12 6G PC0 PE8 12E PA13 PG5 6H PC2 PE9 12F PC9 PG3 6M PF13 PF15 12G PG7 DSIHOST_D1P 7B PG11 PD5 12H PG4 DSIHOST_CKP 7C PG10 PD1 12J PD15 DSIHOST_D0P 7D VSS PD6 12K PD13 VCAPDSI 14/27 DocID027683 Rev 3

Hardware migration guide Table 7. List of UFBGA169 ballout differences (continued) Terminal STM32F42xAxH STM32F43xAxH STM32F469AxH STM32F479AxH Terminal STM32F42xAxH STM32F43xAxH STM32F469AxH STM32F479AxH 7E VSS PG10 12L PD8 PD14 7H PC3 PE10 12M PB13 PD13 7K PF14 PE11 12N PB12 PB14 7L PF15 PE12 13A NC PA11 8B PD6 PD2 13D PH13 PG8 8C PD5 PD3 13E PA8 PG4 8D PD4 PA8 13F PG8 PG2 8F VDD VSS 13G PG5 DSIHOST_D1N 8H VDD PH8 13H PG2 DSIHOST_CKN 8J PE8 PE13 13J PD12 DSIHOST_D0N 8K PE9 PE14 13K PD9 VDDDSI 8L PE10 PE15 13L PB15 PD15 8M PE11 PB10 13M PB14 PD12 8N PE12 PB11 13N NC PB15 9A PD3 PC12 - - - DocID027683 Rev 3 15/27 26

Peripheral migration guide 2 Peripheral migration guide 2.1 STM32 product cross-compatibility The STM32 series embeds a set of peripherals which can be classed in three categories: The first category is for the peripherals which are by definition common to all products. Those peripherals are identical, so they have the same structure, registers and control bits. There is no need to perform any firmware change to keep the same functionality at the application level after migration. All the features and behavior remain the same. The second category is for the peripherals which are shared by all products but have only minor differences (in general to support new features), so migration from one product to another is very easy and does not need any significant new development effort. The third category is for peripherals which have been considerably changed from one product to another (new architecture, new features...). For this category of peripherals, migration will require new development at application level. The Table 8 summarizes the available peripherals of the STM32F42xxx/STM32F43xxx and STM32F469xx/STM32F479xx families and their compatibility. 16/27 DocID027683 Rev 3

Peripheral migration guide Table 8. Peripheral compatibility analysis: STM32F42xxx/STM32F43xxx vs STM32F469xx/STM32F479xx Peripherals STM32F42xxx/ STM32F43xxx STM32F469xx/ STM32F479xx SW Compatibility Comments Flash memory (Mbytes) 2 2 - - SRAM (Kbytes) System 256 (112+16+64+64) 384 (160+32+128+64) - - Backup 4 4 - - General purpose 10 10 YES - Timers Advanced control 2 2 YES - Basic 2 2 YES - SPI/I2S 6/2(full duplex) 6/2(full duplex) YES - I2C 3 3 YES - USART/UART 4/4 4/4 YES - Comunication interfaces USB OTG FS USB OTG HS YES YES YES YES YES YES Dedicated VDDUSB supply More endpoints and host channels New Clock source PLLSAI Link power management CAN 2 2 YES - SAI 1 1 YES Additional SPDIF Output SPDIF-TX NO YES NA New peripheral SDIO YES YES YES Quad-SPI NO YES NA RNG YES YES YES New clock sources: SYSCLK and PLLSAI New peripheral with dual/quad mode feature New Clock source PLLSAI FMC YES YES YES - Ethernet YES YES YES - WWDG YES YES YES - IWDG YES YES YES - CRC YES YES YES - DMA DMA1-DMA2(8 stream each) YES Enhanced dynamic power consumption Crypto YES YES YES - Hash YES YES YES - DocID027683 Rev 3 17/27 26

Peripheral migration guide Table 8. Peripheral compatibility analysis: STM32F42xxx/STM32F43xxx vs STM32F469xx/STM32F479xx (continued) Peripherals STM32F42xxx/ STM32F43xxx STM32F469xx/ STM32F479xx SW Compatibility Comments 12 bit ADC 12 bit DAC GPIOs Up to 168 Up to 161 YES - Instances 3 3 YES - Number of channels 16/24 16/24 - - Instances 1 1 YES - Number of channels 2 2 - - RCC (1) YES YES YES RTC YES YES YES - EXTI YES YES YES - PWR (2) YES YES YES SYSCFG YES YES YES - Chrom-Art-Accelerator DMA2D YES YES - - DCMI YES YES - LCD-TFT YES YES - - New LSE modes: High drive mode Low power mode New Clock sources New feature: Power supply supervisor management in static way New features : Half resolution image extraction Black and White image MIPI-DSI Host NO YES - New peripheral 1. For more details on RCC please refer to Section 2.5: Reset and Clock Control (RCC). 2. For more details on PWR please refer to Section 2.6: Power controller. 2.2 Register boundary addresses of peripherals Table 9 compares register boundary addresses of peripherals on STM32F42xxx/STM32F43xxx versus STM32F469xx/STM32F479xx. Table 9. Peripherals register boundary addresses comparison Peripheral Bus STM32F42xxx/STM32F43xxx Base address STM32F469xx/STM32F479xx Base address Quad-SPI Register AHB3 NA 0xA000 1000-0xA000 1FFF DSI Host APB2 NA 0x4001 6C00-0x4001 73FF 18/27 DocID027683 Rev 3

Peripheral migration guide 2.3 Flexible memory controller (FMC) Table 10 presents differences between STM32F42xxx/STM32F43xxx and STM32F469xx/STM32F479xx, in term of FMC. Table 10. FMC differences between STM32F42xxx/STM32F43xxx and STM32F469xx/STM32F479xx FMC STM32F42xxx/STM32F43xxx STM32F469xx/STM32F479xx External memory interfaces SRAM NOR/NAND memories PSRAM (4 memory banks) Two banks of NAND Flash memory with ECC hardware 16-bit PC Card compatible devices SRAM NOR/NAND memories PSRAM (4 memory banks) NAND Flash memory with ECC hardware Data bus width 8-, 16- or 32-bit BANK1 4x64 Mbyte NOR/PSRAM/SRAM NOR/PSRAM/SRAM FMC Bank memory mapping BANK2 4x64 Mbyte BANK3 4x64 Mbyte BANK4 4x64 Mbyte NAND Flash memory PC card Reserved NAND Flash memory Reserved SRAM BANK1 4x64 Mbyte SRAM BANK2 4x64 Mbyte SDRAM SDRAM NOR/PSRAM/SRAM 256 Mbyte SDRAM Bank1 256 Mbyte NAND Bank1 256 Mbyte SDRAM Bank2 256 Mbyte Memory mapping swap: (SYSCFG_MEMRMP) Bit 11:10 SWP_FMC[1:0] = 01b SDRAM Bank1 256 Mbyte SDRAM Bank2 256 Mbyte NAND Bank3 256 MByte Reserved Reserved Reserved NAND Bank2 256 Mbyte NOR/PSRAM/SRAM 256 MByte PC card 256 Mbyte Reserved DocID027683 Rev 3 19/27 26

Peripheral migration guide 2.4 Interrupt vector Table 11 presents differences between STM32F42xxx/STM32F43xxx and STM32F469xx/STM32F479xx, in term of interrupt vectors. Table 11. Interrupt vector differences between STM32F42xxx/STM32F43xxx and STM32F469xx/STM32F469xx Position STM32F42xxx/STM32F43xxx STM32F469xx/STM32F479xx 91 NA QUADSPI 92 NA DSI host controller 2.5 Reset and Clock Control (RCC) Main differences related to RCC (reset and clock controller) on STM32F469xx/F479xx versus STM32F42xxx/F43xxx are presented in the Table 12. Table 12. RCC differences between STM32F42xxx/STM32F43xxx and STM32F469xx/STM32F479xx Peripherals USB OTG FS RNG SDIO USART/UARTs I2Cs I2S SAI1 LTDC USB OTG FS ETHERNET MAC RTC IWDG STM32F42xxx/STM32F43xxx PLL48MHz derived from main PLL VCO (PLLQ Clock) PLL48CLK APB1 or APB2 clock (PCLK1 or PCLK2) APB1 clock (PCLK1) Clock sources PLLI2S External clock mapped on I2S_CKIN pin STM32F469xx/STM32F479xx PLL48MHz derived from: main PLL or PLLSAI (PLLQ or PLLSAIP) PLL48CLK (PLLQ or PLLSAIP) SYSCLK PLLI2S_Q PLLSAI_Q External clock mapped on the I2S_CKIN pin PLLSAI_R 24 to 60 MHz to External PHY 25 to 50 MHz External PHY LSE clock LSI clock HSE clock divided by 32 LSI 20/27 DocID027683 Rev 3

Peripheral migration guide Table 12. RCC differences between STM32F42xxx/STM32F43xxx and STM32F469xx/STM32F479xx (continued) Peripherals STM32F42xxx/STM32F43xxx Clock sources STM32F469xx/STM32F479xx LSE RCC Dedicated Clock Configuration Register NA RCC_DCKCFGR Configurable LSE drive in RCC_BDCR register : LSEMOD = 0: Low power mode LSEMOD = 1: High drive mode DSI host DSI Lanebyte clock NA Derived from : Main PLL (PLLDSICLK) if DSI-PHY is off DSI-PHY output DSI RX escape mode clock NA Derived from DSI-PHY 2.6 Power controller Table 13 summarizes new power controller features integrated on STM32F469xx/STM32F479xx, compared to STM32F42xxx/ STM32F43xxx. Table 13. PWR controller: STM32F469xx/STM32F479xx vs STM32F42xxx/STM32F43xxx PWR STM32F42xxx/STM32F43xxx STM32F469xx/STM32F479xx Power supplies NA Dedicated USB power rail enabling onchip PHYs operation throughout the entire MCU power supply range Power supplies supervisor (1) Power control registers PDR_ON: power supervisor enable pin managed by external VDD power supervisor WUF bit: Wakeup flag for the WKUP pin, RTC alarm (Alarm A or Alarm B), RTC Tamper event, RTC TimeStamp event or RTC Wakeup CWUF: Clear wakeup flag PWR_CR PWR_CR PDR_ON: power supervisor pin managed in static way. (Disable internal Reset without the need of external VDD power supervisor) WUPF bit: dedicated flag for wake-up pin PA0 CWUPF: Clear Wakeup Flag for PA0 Pin 1. Please refer to Figure 6 for more details on Power supply differences. DocID027683 Rev 3 21/27 26

Peripheral migration guide Figure 6. Power supply supervisor: STM32F42xxx/STM32F43xxx vs STM32F469xx/STM32F479xx 2.7 Audio interfaces The STM32F42xxx/STM32F43xxx and STM32F469xx/STM32F479xx series embed almost the same audio interface features. An SPDIF-Tx output was added to STM32F469xx/STM32F479xx lines. Table 14. Audio interfaces comparison Audio interfaces STM32F42xxx/STM32F43xxx STM32F469xx/STM32F479xx SPDIF-Tx NA SPDIF-Tx output 2.8 USB OTG The STM32F42xxx/STM32F43xxx and STM32F469xx/STM32F479xx series implement similar USB OTG peripherals.some enhancements were done for STM32F469xx/STM32F479xx series which are listed in Table 15. 22/27 DocID027683 Rev 3

Peripheral migration guide Table 15. USB OTG differences between STM32F469xx/STM32F479xx and STM32F42xxx/STM32F43xxx USB STM32F42xxx/STM32F43xxx STM32F469xx/STM32F479xx Universal Serial Bus Revision 2.0 Full support for the USB On-The-Go (USB OTG) USB internal connect/disconnect feature with an internal pull-up resistor on the USB D + (USB_DP) line NA Dedicated USB power rail enabling on-chip PHYs operation throughout the entire MCU power supply range (allowing lower VDD down to 1.8 V while using USB) Features Buffer memory Low-power modes 1 bidirectional control endpoint 3 IN endpoints (Bulk, Interrupt, Isochronous) 3 OUT endpoints (Bulk, Interrupt, Isochronous 8 Host mode channels 1 bidirectional control endpoint 5 IN endpoints (Bulk, Interrupt, Isochronous) 5 OUT endpoints (Bulk, Interrupt, Isochronous 12 Host mode channels Management of up to 4 Tx FIFOs (1 for each IN end point) + 1 Rx FIFO Management of up to 6 Tx FIFOs (1 for each IN end point) + 1 Rx FIFO USB suspend and resume LPM not supported LPM not supported FS mode HS mode FS mode HS mode FS mode HS mode 1 bidirectional control endpoint 5 IN endpoints (Bulk, Interrupt, Isochronous) 5 OUT endpoints (Bulk, Interrupt, Isochronous) 12 Host mode channels 1 bidirectional control endpoint 7 IN endpoints (Bulk, Interrupt, Isochronous) 7 OUT endpoints (Bulk, Interrupt, Isochronous) 16 Host mode channels Management of up to 6 Tx FIFOs (1 for each IN end point) + 1 Rx FIFO Management of up to 8 Tx FIFOs (1 for each IN end point) + 1 Rx FIFO USB suspend and resume Link Power Management (LPM) support Link Power Management (LPM) support DocID027683 Rev 3 23/27 26

Peripheral migration guide 2.9 Digital camera interface (DCMI) The STM32F42xxx/STM32F43xxx and STM32F469xx/STM32F479xx series embed similar DCMI peripherals. Some new features were added to STM32F469xx/STM32F479xx series which are listed in the Table 16. Table 16. DCMI features: STM32F469xx/STM32F479xx vs STM32F42xxx/STM32F43xxx DCMI STM32F42xxx/STM32F43xxx STM32F469xx/STM32F479xx Parallel interface Embedded synchronization External line and frame synchronization Crop feature Supported data format DCMI control register 8-, 10-, 12- and 14-bit Yes Yes Yes 8/10,12,14 bit progressive video (monochrome or raw Bayer) NA NA NA RGB565 progressive video YCbCr4:2:2 format Compressed JPEG YCbCr format Y only (Black and White) Half resolution image extraction New bits added in DCMI_CR register: BSM and OEBS bits: allow configuring the byte selection for capture LSM and OELS bits: allow configuring the line selection for capture 2.10 Secure digital input/output interface (SDIO) The STM32F42xxx/STM32F43xxx and STM32F469xx/STM32F479xx series embed very similar SDIO module. The differences are listed in the Table 17. Table 17. SDIO comparison: STM32F469xx/STM32F479xx vs STM32F42xxx/STM32F43xxx SDIO STM32F42xxx/STM32F43xxx STM32F469xx/STM32F479xx Features Full compliance with MultiMediaCard System Specification Version 4.2 Full compliance with SD Memory Card Specifications Version 2.0 Full compliance with SD I/O Card Specification Version 2.0 Full support of the CE-ATA features SDIO registers - NA CE-ATA protocol related features are removed from specification (SDIO_STA, SDIO_ICR and SDIO_CMD registers have been updated) 24/27 DocID027683 Rev 3

Conclusion 3 Conclusion This application note is a useful complement to datasheets and reference manuals which gives a simple guide to migrate an existing product based on the STM32F42xxx/STM32F43xxx device to the STM32F469xx/F479xx device. DocID027683 Rev 3 25/27 26

Revision history 4 Revision history Table 18. Document revision history Date Revision Changes 12-May-2015 1 Initial release. 30-Jul-2015 2 16-Oct-2015 3 Deep change of Section 1 related with adding information on pinout / ballout differences for all common package types. SDMMC renamed in SDIO and SDIO/SDMMC in SDIO in the whole document. DSI lines changed in DSIHOST dedicated IOs, in comments for Figure 1, Figure 3 and Figure 4. Ports and port substituted with IO ports and IO port, respectively, in comments for Figure 1, Figure 2, Figure 3, Figure 4 and Figure 5. 26/27 DocID027683 Rev 3

IMPORTANT NOTICE PLEASE READ CAREFULLY STMicroelectronics NV and its subsidiaries ( ST ) reserve the right to make changes, corrections, enhancements, modifications, and improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. ST products are sold pursuant to ST s terms and conditions of sale in place at the time of order acknowledgement. Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of Purchasers products. No license, express or implied, to any intellectual property right is granted by ST herein. Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product. ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners. Information in this document supersedes and replaces information previously supplied in any prior versions of this document. 2015 STMicroelectronics All rights reserved DocID027683 Rev 3 27/27 27