Release note STM32 embedded target for MATLAB and Simulink release 3.1 Introduction This release note is related to STM32 embedded target for MATLAB and Simulink (STM32- MAT/TARGET). It is updated periodically in order to keep you abreast of evolutions of the software and any problems or limitations found in this release. Check the ST microcontroller support website at www.st.com to ensure that this is the latest version of this release note. Summary for STM32 embedded target for MATLAB and Simulink release 3.1: Supported MCUs: STM32 F4 or STM32F302xBxC/STM32F303xBxC Automated Processor-in-the-Loop (PIL) Testing using USART communication link Support for IAR EWARM, Atollic TrueSTUDIO, and Keil MDK-ARM toolchains Peripheral driver blockset for STM32F4 and STM32F30 devices including ADCs, GPIOs, USARTs, and Timers April 2014 DocID024438 Rev 4 1/8 www.st.com
Contents RN0087 Contents 1 General Information......................................... 3 1.1 Overview.................................................. 3 1.2 Host PC system requirements.................................. 3 2 Release information......................................... 4 2.1 New features............................................... 4 2.2 Enhancements:............................................. 4 3 Limitations................................................. 5 4 Release information for previous releases....................... 6 4.1 Release 3.0 informations...................................... 6 4.2 Enhancements:............................................. 6 5 Revision history............................................ 7 2/8 DocID024438 Rev 4
General Information 1 General Information 1.1 Overview The STM32 Embedded Target enables to quickly deploy application models in MATLAB and Simulink to STM32 F4 or STM32F302xBxC/STM32F303xBxC MCUs. The STM32 Embedded Target lets you verify and profile STM32 F4 or STM32F302xBxC/STM32F303xBxC execution results versus Simulink simulation behavior using Processor In the Loop (PIL) testing. The STM32 Embedded Target provides a Simulink blockset library for STM32 F4 or STM32F302xBxC/STM32F303xBxC peripherals. Automated process from "C" code generation to programing STM32 F4 or STM32F302xBxC/STM32F303xBxC MCUs. 1.2 Host PC system requirements Windows XP or Windows 7 32-bit or Windows 7 64-bit operating systems MATLAB, Simulink and EmbeddedCoder R2013b versions or more One of following toolchains: Atollic TrueSTUDIO V3.2 or more IAR EWARM V6.30 or more Keil MDK-ARM V4.60 or more DocID024438 Rev 4 3/8 7
Release information RN0087 2 Release information 2.1 New features STM32F30x toolkit including: Processor In the Loop (PIL) with fully configurable USART Rx/Tx Port and Speed communication Peripheral driver blockset for STM32F302xBxC/STM32F303xBxC devices including: ADC1 to ADC4, GPIOs, USARTs, Timers, External interrupts and ADC Interrupts management IAR and KEIL project generation for PIL and code application generator Code Replacement library (CRL) for sin and cos functions optimizations Documentations and Simulink Examples 2.2 Enhancements: STM32F4xx toolkit: IAR and KEIL project generation for PIL and code application generator Code Replacement library (CRL) for sin and cos functions optimizations 4/8 DocID024438 Rev 4
Limitations 3 Limitations STM32F4xx only timers 1 to 5 and 8 are supported: 3 channels only PWM output mode only Only the input capture mode is available to compute frequency STM32F30x only timers 1 to 4 and 8 are supported: 3 channels only PWM output mode only Only the input capture mode is available to compute frequency DocID024438 Rev 4 5/8 7
Release information for previous releases RN0087 4 Release information for previous releases 4.1 Release 3.0 informations ADC ADC configuration model modified, replace "ADC1_init", "ADC2_init" and "ADC3_init" with: a) Configuration model for common ADC feature (implement only one per application) b) Same configuration model for all ADC (implement and set parameters for each ADC) DMA configuration for multichannel acquisition Number of ADC read output value is number of selected channels Timers Add Encoder mode for motor control application PWM output trigger out management (TRGO) to synchronize timers and ADC acquisition USART Possibility to use interrupt for receive Possibility to use interrupt for send Examples: Motor Field Oriented Control (FOC) example Motor control Hall Sensor example 4.2 Enhancements: Toolchain selection: All installed version are proposed. 6/8 DocID024438 Rev 4
Revision history 5 Revision history Table 1. Document revision history Date Revision Changes 03-Apr-2013 1 Initial release. 15-Jul-2013 2 04-Oct-2013 3 24-Apr-2014 4 Added Section 2: Release information. Updated Section 5: Revision history. Updated Section 2: Release information and Section 3: Limitations. Release 3.1 Created Chapter 2: Release information for actual new features and limitiations. Created Chapter 4: Release information for previous releases to trace previous releases content Includes STM32F302xBxC/STM32F303xBxC. DocID024438 Rev 4 7/8 7
Please Read Carefully: Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries ( ST ) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST s terms and conditions of sale. Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein. UNLESS OTHERWISE SET FORTH IN ST S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. ST PRODUCTS ARE NOT DESIGNED OR AUTHORIZED FOR USE IN: (A) SAFETY CRITICAL APPLICATIONS SUCH AS LIFE SUPPORTING, ACTIVE IMPLANTED DEVICES OR SYSTEMS WITH PRODUCT FUNCTIONAL SAFETY REQUIREMENTS; (B) AERONAUTIC APPLICATIONS; (C) AUTOMOTIVE APPLICATIONS OR ENVIRONMENTS, AND/OR (D) AEROSPACE APPLICATIONS OR ENVIRONMENTS. WHERE ST PRODUCTS ARE NOT DESIGNED FOR SUCH USE, THE PURCHASER SHALL USE PRODUCTS AT PURCHASER S SOLE RISK, EVEN IF ST HAS BEEN INFORMED IN WRITING OF SUCH USAGE, UNLESS A PRODUCT IS EXPRESSLY DESIGNATED BY ST AS BEING INTENDED FOR AUTOMOTIVE, AUTOMOTIVE SAFETY OR MEDICAL INDUSTRY DOMAINS ACCORDING TO ST PRODUCT DESIGN SPECIFICATIONS. PRODUCTS FORMALLY ESCC, QML OR JAN QUALIFIED ARE DEEMED SUITABLE FOR USE IN AEROSPACE BY THE CORRESPONDING GOVERNMENTAL AGENCY. Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST. ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners. 2014 STMicroelectronics - All rights reserved STMicroelectronics group of companies Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan - Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com 8/8 DocID024438 Rev 4