Part # Application Notes Access Control Adapters Audio Computer And Peripherals Computer Power Supply Corded Terminals Cordless Termina datasheet

Part Manufacturer: ST Microelectronics

ST Microelectronics

Part Description: How to migrate from STM32F10xxx FWLib V1.0 to V2.0


Part Details:

AN2776 Application note How to migrate from STM32F10xxx FWLib V1.0 to V2.0 Introduction The purpose of this application note is to explain how to migrate an application based on the STM32F10xxx firmware library (FWLib) V1.0 to STM32F10xxx FWLib V2.0. To that aim, this document does not provide detailed information on the two library versions, but it highlights the differences between them. In the rest of the document (unless otherwise specified), the term of FWLib will be used to refer to the STM32F10xxx firmware library. Glossary Medium-density devices are STM32F101xx and STM32F103xx microcontrollers where the Flash memory density ranges between 32 and 128 Kbytes. High-density devices are STM32F101xx and STM32F103xx microcontrollers where the Flash memory density ranges between 256 and 512 Kbytes. May 2008 Rev 1 1/20 www.st.com Contents AN2776 Contents 1 Why migrate from FWLib V1.0 to V2.0? . . . . . . . . . . . . . . . . . . . . . . . . . 4 2 FWLib V1.0 to V2.0 migration steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.1 Migration steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.2 Peripheral driver updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.2.1 NVIC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.2.2 TIM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.2.3 SPI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.2.4 DMA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.2.5 USART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Appendix A Timer driver changes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2/20 AN2776 List of tables List of tables Table 1. Update of DMA IRQ channel names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Table 2. ADC1 and ADC2 IRQ channel name update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Table 3. Common functions for SPI and I2S . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Table 4. Changes made in the timer driver. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Table 5. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19


Please click the following link to download the datasheet:

Application Notes Access Control Adapters Audio Computer And Peripherals Computer Power Supply Corded Terminals Cordless Termina.pdf Datasheet