AN4464 Application note
|
|
- Wesley Garey Walker
- 5 years ago
- Views:
Transcription
1 Application note Porting a Green Hills SW to SPC5Studio Introduction SPC5Studio provides a comprehensive framework to design, build and deploy embedded applications for SPC56 Power Architecture 32-bit microcontrollers. It combines a project editor a sophisticated code generator, a GNU C compiler and other utilities. The aim of this tutorial is to guide the programmers in adapting SPC56x microcontrollers SW applications written with Green Hills compiler to SPC5Studio environment and its HighTec compiler. June 2014 DocID Rev 2 1/22
2 Contents AN4464 Contents 1 Overview Steps for porting a Green Hills SW to SPC5Studio SPC5Studio setting up and configuration Creating a new project in SPC5Studio Adding STMicroelectronics SPC560x platform component STMicroelectronics SPC56x platform component configuration Adding SPC5-HAL SPC56x OS-Less OSAL component Import application files and update main.c file in SPC5Studio Configuring SPC5-HAL SPC56x OS-Less OSAL component User s ISR and vector table Different compilers issue Language variations or dialect issues Library issues Generating the code, building and debugging Generating and building the application SW Debugging the SPC5Studio application Revision history /22 DocID Rev 2
3 List of tables List of tables Table 1. Document revision history DocID Rev 2 3/22 3
4 List of figures AN4464 List of figures Figure 1. Steps for porting a GHS application in SPC5Studio Figure 2. SPC5Studio application wizard welcome Figure 3. Creating a new project 1/ Figure 4. Creating a new project 2/ Figure 5. Creating a new project 3/ Figure 6. Application configuration editor Figure 7. Adding STMicroelectronics SPC560x platform component to SPC5Studio Figure 8. Configuring SPC56x platform component Figure 9. Adding SPC5-HAL SPC56x OS-Less OSAL component to SPC5Studio Figure 10. Importing application files in the SPC5Studio project Figure 11. main.c file in SPC5Studio Figure 12. Insert an interrupt vector to be enabled at startup Figure 13. Configuring SIU_External_IRQ_0 interrupt vector Figure 14. Save, generate and build the application SW Figure 15. The build folder in Project explorer Figure 16. Debug.wsx in SPC5Studio Explorer Figure 17. Loading binary file Figure 18. Flashing microcontroller Figure 19. Start program execution /22 DocID Rev 2
5 Overview 1 Overview This application note guides the programmers in adapting GHS SW application written for SPC56x microcontrollers to SPC5Studio tool with its HighTec compiler. SPC5Studio configuration and setting up for porting is shown in Chapter 3: SPC5Studio setting up and configuration. Code generation, building and debugging of the proposed example application is shown in Chapter 4: Generating the code, building and debugging. Some of the differences between the GHS and HITECH compilers in terms of conformance to the C language standard and library support are described in general terms. These information help the user to determine the amount of effort required to port the source code to SPC5Studio. DocID Rev 2 5/22 21
6 Steps for porting a Green Hills SW to SPC5Studio AN Steps for porting a Green Hills SW to SPC5Studio In order to port a SW application written with Green Hills (GHS) in SPC5Sudio, two approaches can be followed, depending on if SPC5-HAL SPC56Xxx OS-Less OSAL Component is used in SPC5Studio or not. The steps to follow for each approach are described below: Approach 1 using SPC5-HAL SPC56Xxx OS-Less OSAL Component 1. Create a new project in SPC5Studio 2. Add into SPC5Studio the STMicroelectronics SPC56Xxx Platform Component correspondent to the microcontroller used in the porting 3. Add into SPC5Studio the SPC5-HAL SPC56Xxx OS-Less OSAL Component for managing the vector table and interrupts 4. Copy the application files with extension *.c, *.h, *.asm and the main.c content from the original GHS project into SPC5Studio project. 5. Configure SPC5-HAL SPC56Xxx OS-Less OSAL Component adding interrupts according to the interrupt routines present in the original GHS application. 6. Manage different compilers issue, if any 7. Generate code in SPC5Studio 8. Compile SPC5Studio project 9. Debug the application Approach 2 without using SPC5-HAL SPC56Xxx OS-Less OSAL Component 1. Create a new project in SPC5Studio 2. Add into SPC5Studio the STMicroelectronics SPC56Xxx Platform Component correspondent to the microcontroller used in the porting 3. Copy the application files with extension *.c, *.h, *.asm, the main.c content from the original GHS project into SPC5Studio project. 4. Create your own vector table and interrupt managing files in SPC5Studio and update user.mak file 5. Manage different compilers issues, if any 6. Generate code in SPC5Studio 7. Compile SPC5Studio project 8. Debug the application 6/22 DocID Rev 2
7 Steps for porting a Green Hills SW to SPC5Studio Figure 1. Steps for porting a GHS application in SPC5Studio Create a new SPC5Studio project Add STMicroelectronics SPC56Xxx Platform Component Approach 1 Approach 2 Add SPC5-HAL SPC56Xxx OS-Less OSAL Component Approach 1 Copy application files *.c, *.h, *.asm, main in SPC5Studio project Approach 1 Approach 2 Configure SPC5-HAL SPC56Xxx OS-Less OSAL Approach 1 Create your own vector table and interrupts Approach 2 Manage possible different compilers issue Generate code and compile in SPCStudio Debug DocID Rev 2 7/22 21
8 SPC5Studio setting up and configuration AN SPC5Studio setting up and configuration 3.1 Creating a new project in SPC5Studio For porting purpose the first step is to create a new project in SPC5Studio. Run SPC5Studio.exe file placed in SPC5Studio installation directory C:\SPC5Studio\eclipse. SPC5Studio application wizard welcome is open (see Figure 2). Figure 2. SPC5Studio application wizard welcome 8/22 DocID Rev 2
9 SPC5Studio setting up and configuration 1. Click on File->New->C Project Figure 3. Creating a new project 1/3 2. Select SPC5 C Application in the Makefile project folder Figure 4. Creating a new project 2/3 DocID Rev 2 9/22 21
10 SPC5Studio setting up and configuration AN Set the project name, the version and a short description, these values can be changed at any time. Check the Standalone if you want the project to be compiled also outside Eclipse. Figure 5. Creating a new project 3/3 At the end of these three steps you have an empty project, the next step is to add the platform component. 3.2 Adding STMicroelectronics SPC560x platform component The application wizard permits to add components to the project easily and without having to worry about integration. In particular: Project files (Makefiles) are automatically updated when a component is added. The user does not have to copy any system file in the project. Components dependencies are automatically checked by the wizard. Components are configured easily using a wizard. The component configuration can be modified at any time. The project source tree is automatically updated each time components are added. Components are automatically initialized by code generated automatically To add the components to the project click on the configuration.xml file in project explorer (see Figure 6), the Application Configuration Editor opens. 10/22 DocID Rev 2
11 SPC5Studio setting up and configuration Figure 6. Application configuration editor The configuration.xml file has 4 tabs (see Figure 6), the Structure tab permits to assemble the application, to add components and to configure them. In the Structure tab click on the green cross to choose the platform component used for the porting (see Figure 7). Startup files and linker scripts for SPC560x microcontroller are created when the code is generated. Figure 7. Adding STMicroelectronics SPC560x platform component to SPC5Studio DocID Rev 2 11/22 21
12 SPC5Studio setting up and configuration AN STMicroelectronics SPC56x platform component configuration To configure SPC56x platform component proceed as follow (see Figure 8): Specify the microcontroller you are using for the porting in the Platform Settings section: Set the process stack size and the IRQ Stack size in section Runtime Settings: the default values are Process Stack Size = 2048 and IRQ Stack Size = 0, if necessary these values can be changed In Build Settings section you can leave the default values of configuration but for debugging purpose set the value Optimization level to -O0 Linker setting: leave default values Figure 8. Configuring SPC56x platform component 3.4 Adding SPC5-HAL SPC56x OS-Less OSAL component If the approach 1 has been chosen, the next step is to add the SPC5-HAL SPC56x OS-Less OSAL component into SPC5Studio project. This component implements: Vectors table ISR servicing code ISR declaration macros Interrupt manipulation function and macros Selecting the platform component in the components explorer and clicking on the green cross on the configuration editor, select the SPC5-HAL/SPC560x/SPC5-HAL SPC56x OS-Less OSAL and click OK to add the component to the project (see Figure 9). 12/22 DocID Rev 2
13 SPC5Studio setting up and configuration The configuration of this component is shown in the paragraph Section 3.6, let s first add the application files available in GHS to SPC5Studio project. Figure 9. Adding SPC5-HAL SPC56x OS-Less OSAL component to SPC5Studio 3.5 Import application files and update main.c file in SPC5Studio In the original GHS sw written for SPC56Xxx microcontroller there are the files related to the application that have to be imported to SPC5Studio. The GHS system files have to be ignored and not imported. The main.c file from the original application has not to be imported but its content has to be copied in the main.c file already available in SPC5STudio. The linker file, the make file are provided by SPC5Studio platform component, the vector table and interrupt management from osal component. Supposing that the application files with extension *.c, *.h and *.s in the original GHS application are named file_1.c, file_2.c, file_3.asm, file_1.h and file_2.h, copy these files in the folder source/src and source/include of SPC5Studio project as shown in Figure 10. DocID Rev 2 13/22 21
14 SPC5Studio setting up and configuration AN4464 Figure 10. Importing application files in the SPC5Studio project Modify SPC5Studio main.c file Copy the main.c content from the original GHS application into the main.c file of the SPC5Studio in the application entry point, see Figure 11 Figure 11. main.c file in SPC5Studio 3.6 Configuring SPC5-HAL SPC56x OS-Less OSAL component This step has to be implemented if approach 1 has been chosen. 14/22 DocID Rev 2
15 SPC5Studio setting up and configuration In Section 3.4 is shown how to add SPC5-HAL SPC56x OS-Less OSAL component in SCP5Studio. Now it is needed to configure it according to the interrupts present in the original GHS application. Let s suppose that the original application in a SPC560Bxx microcontroller has got a SIU_External_IRQ_0 corresponding to vector 41 and that its interrupt priority level is equal to 1 (INTC.PSR[41].R = 0x1). Let s suppose the interrupt routine is the one shown below, named SIU_External_IRQ_0 and available in one of the file.c imported: void SIU_External_IRQ_0 (void) { SIU.ISR.B.EIF0 = 1; LED_switch(led2,0); } To configure this interrupt vector select in the components explorer SPC5-HAL SPC56x OS-Less OSAL component and click on the green cross to add an interrupt vector, see Figure 12. Figure 12. Insert an interrupt vector to be enabled at startup Double clicking on the interrupt vector it is possible to configure it as shown in the Figure 13. Figure 13. Configuring SIU_External_IRQ_0 interrupt vector DocID Rev 2 15/22 21
16 SPC5Studio setting up and configuration AN4464 For each interrupt imported in the SW it has to be added and configured an input vector as shown in Figure 12 and Figure 13. After the interrupts configuration it is needed to globally enables them (interrupts) adding in the main.c file the command: osalisrenable(). 3.7 User s ISR and vector table The SPC5-HAL SPC56Xxx OS-Less OSAL component is not added in the approach 2. In this case the user has to implement: the Vector table the ISR servicing code the ISR declaration macros the interrupt functions managing porting the original GHS application interrupt routines to SPC5Studio 3.8 Different compilers issue The inevitable differences in language syntax and implementations between two different compilers could be the principal obstacle for a quick porting. Many of the problems encountered in porting a GHS C source code for a SPC56Xxx microcontroller to HighTec C source code for the same microcontroller can be split into 2 categories. These are: language variations library issues Language variations or dialect issues The source compiler (GHS) and the target compiler (HighTec) could interpret a C program differently, can be based on a different standard or the two compilers might be not updated in supporting features of the latest standard. Whatever the reason this creates problems in the source code where the compilers diverge. Other problems come from the use in the SW of language extensions or features provided by the source compiler that are not present on the target compiler. These extensions provide features, as for example flexible initialization syntax for arrays and structures and support for complex numbers. Surely useful, these extensions can create code porting problems. Some of these extensions can be easy to port while others could have not an equivalent on the target compiler. Because each compiler could implement its own dialect of the language, during the porting there could be the need to modify the code so that it is acceptable to the other compiler. Pragma directives control compiler behavior by allowing individual compiler implementations to add special features to C without changing the C language. Programs that use #pragma are relatively portable, although they make use of features unavailable in all ANSI C implementations. The ANSI standard states Any pragma that is not recognized by the implementation is ignored. This requirement may help when porting code between compilers, because one compiler will silently recognize and process a certain pragma, while a different compiler which does not need that pragma or recognize it ignores it. The majority of Green Hills proprietary #pragma begin with the keyword ghs to differentiate them from other implementations. 16/22 DocID Rev 2
17 SPC5Studio setting up and configuration Library issues Many compilers allow the programmer to use the services provided by the host machine s system libraries. In this case most of the porting problems in this category are due to missing library functions. Differences in the header files that define the interfaces to the library can play an important role. DocID Rev 2 17/22 21
18 Generating the code, building and debugging AN Generating the code, building and debugging 4.1 Generating and building the application SW Up to now all the steps needed for the porting have been shown. The next step is to generate code and build it even if this could be done at any time during the development of a SPC5Studio project. To generate the code click on the icon Generate code (3), having first saved the project clicking on save icon (1), see Figure 14. Figure 14. Save, generate and build the application SW Clicking on Generate code icon (3) SPC5Studio generates the following files: source codes (*.c and *.s) Header files (*.h) Makefiles & scatter file (*.ld) At this point it is possible to build the project clicking on build all icon (2). A build folder is created containing all the files generated by the build command: elf file (bin, hex and dmp) and map file, see Figure 15. Figure 15. The build folder in Project explorer 18/22 DocID Rev 2
19 Generating the code, building and debugging 4.2 Debugging the SPC5Studio application The build command mentioned in the Section 4.1 generates the UDE folder in SPC5Studio project explorer. Double clicking debug.wsx file (see Figure 16) UDE Visual Platform is opened allowing to flash the microcontroller with the ported application. Figure 16. Debug.wsx in SPC5Studio Explorer Click Load on the Loading binary target file window, see Figure 17. Figure 17. Loading binary file Click on Program All button to flash the microcontroller, see Figure 18. DocID Rev 2 19/22 21
20 Generating the code, building and debugging AN4464 Figure 18. Flashing microcontroller Clicking on Start Program Execution (see Figure 19) the processor runs and program stops at the beginning of the main routine break point, the ported application SW is ready to be debugged. Figure 19. Start program execution 20/22 DocID Rev 2
21 Revision history 5 Revision history Table 1. Document revision history Date Revision Changes 09-Apr Initial release. 05-Jun Updated Chapter 2- Updated Section 3.5 and deleted Figure 11. DocID Rev 2 21/22 21
22 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 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 22/22 DocID Rev 2
Description SPC564A-DISP. March 2014 DocID Rev 3 1/5
SPC564A-DISP: Discovery+ evaluation board Description Data brief - production data Features SPC564A70L7 32-bit 150 MHz e200z4 Power Architecture core, 2Mbyte on-chip in an LQFP176 package. Board Supply:
More informationAN4321 Application note
Application note Getting started with the SPC56L-Discovery Introduction SPC56L-Discovery evaluation kit is based on the 32-bit microcontrollers SPC56EL70L5. The SPC56L-Discovery is an evaluation board
More informationAN2261 APPLICATION NOTE
APPLICATION NOTE GPIO ports configuration in ST30 devices INTRODUCTION The General Purpose IO (GPIO) Ports of ST30 devices are programmable by software in several modes:, Output, Alternate Function,, Output
More informationSTM32 embedded target for MATLAB and Simulink release 3.1. Summary for STM32 embedded target for MATLAB and Simulink release 3.1:
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
More informationAN2667 Application note
Application note STM8A GPIO application examples Introduction This document is intended to provide two practical application examples of the GPIO peripheral use in the STM8A device. The examples are: Toggling
More informationSTEVAL-CCM002V1. TFT-LCD panel demonstration board based on the STM32 as LCD controller. Features. Description
TFT-LCD panel demonstration board based on the STM32 as LCD controller Data brief Features Displays images on a TFT-LCD using the STM32 as LCD controller Includes a slideshow of images to demonstrate static
More informationMain components USB charging controller with integrated power switch
DN0019 Design note Smart dual-port USB charger with STCC2540 Designs from our labs describe tested circuit designs from ST labs which provide optimized solutions for specific applications. For more information
More informationLD A very low drop adjustable positive voltage regulator. Description. Features
7 A very low drop adjustable positive voltage regulator Description Datasheet - production data Features P ² PAK Output current limit Low-dropout voltage: typically 400 mv at 7 A output current Output
More informationST21NFCB. Near field communication controller. Features. RF communications. Hardware features. Communication interfaces. Electrical characteristics
Near field communication controller Data brief Features NFC operating modes supported: Card emulation Reader / Writer Peer-to-peer communication Hardware features FBGA WFBGA 64-pin 36 Kbytes of EEPROM
More informationAN4440 Application note
Application note RFFE HVDAC control Pascal Paillet Introduction The purpose of this application note is to familiarize mobile phone designers with RFFE HVDAC control. Common tasks are explained and more
More informationAN2143 Application note
AN2143 Application note Programming the ST10F27X embedded Flash using the ST10FLASHER tool Introduction This document summarizes the different steps needed to program the internal Flash memory of the ST10F27x
More informationSTEVAL-SPBT4ATV3. USB dongle for the Bluetooth class 1 SPBT2632C1A.AT2 module. Features. Description
USB dongle for the Bluetooth class 1 SPBT2632C1A.AT2 module Features Based on V3.0 Bluetooth class 1 module, SPBT2632C1A.AT2 USB interface and power supply Supported reprogrammability via USB interface
More informationAN2061 APPLICATION NOTE
APPLICATION NOTE EEPROM Emulation with ST10F2xx Description External EEPROMs are often used in automotive applications to store adaptative/evolutive data. On the other hand, the Microcontroller used in
More informationSTEVAL-PCC010V1. ST802RT1A Ethernet PHY demonstration board with STM32F107 controller add-on board. Features. Description
ST802RT1A Ethernet PHY demonstration board with STM32F107 controller add-on board Data brief Features ST802RT1A Ethernet PHY demonstration board: ST802RT1A fast Ethernet physical layer transceiver On-board
More informationAN4274 Application note
Application note The serial communication driver between the ST7580 and the STM32Fx By Vincenzo Mormina Introduction This document describes the serial communication driver between the ST7580 and the STM32Fx.
More informationAN2676 Application note
Application note STM8A reset application examples Introduction This document is one of a set of application notes giving examples of how to use the various blocks of the STM8A microcontroller family and
More informationDescription of STM8 LIN software package (STSW-STM8A-LIN) release 4.1. Table 1. Release information. STM8 LIN package
Release note Description of STM8 LIN software package (STSW-STM8A-LIN) release 4.1 Introduction The STM8 LIN package implements the LIN 2.x (2.1 and 2.0) and LIN 1.3 protocols to drive USART/UART1 (named
More informationAN4113 Application note
Application note Managing the Driver Enable signal for RS-485 and IO-Link communications with the STM32F05x USART Introduction RS-485 and IO-Link are half-duplex communication protocols that offer easy
More informationUM1719 User manual. The STPM3x evaluation software. Introduction
User manual The STPM3x evaluation software Introduction The STPM3x evaluation software is a graphical user interface to read, configure and calibrate the STPM3x energy metering ICs, suitable for parallel
More informationAN2672 Application note
Application note I²C application examples Introduction The I 2 C peripheral is very flexible, supporting standard interrupts in both 10-bit and 7-bit addressing modes. As a result, generated events are
More informationAN3354 Application note
Application note STM32F105/107 in-application programming using a USB host 1 Introduction An important requirement for most Flash-memory-based systems is the ability to update firmware installed in the
More informationST33F1M, ST33F1M0, ST33F896, ST33F768, ST33F640, ST33F512
ST33F1M, ST33F1M0, ST33F896, ST33F768, ST33F640, ST33F512 Secure MCU with 32-bit ARM SC300 CPU, SWP interface, NESCRYPT cryptoprocessor and high-density Flash memory Data brief Micromodule DFN8 package
More informationAN626 Application note
Application note Serial EEPROM product numbering This application note provides a detailed description of the part numbering scheme of Serial EEPROM products. The part numbering scheme consists of a maximum
More informationST10F271B/E, ST10F272B/E Errata sheet
Errata sheet BAG silicon version Introduction Note: This errata sheet describes all the functional and electrical problems known in the BAG silicon version of ST10F271B, ST10F271E, ST10F272B and ST10F272E
More informationAN4308 Application note
Application note Methods of STCC2540, STCC5011, STCC5021 control Introduction By Ondrej Plachy The STCC2540 and STCC5011/STCC5021 (STCCxxxx in text below) devices are combinations of a current limited
More informationAN3996 Application Note
Application Note Adjustable LED blinking speed using STM8SVLDISCOVERY Application overview This application note provides a short description of the demonstration firmware Discover which is preprogrammed
More informationUM0693 User manual. 1 Introduction. STM8L101-EVAL demonstration firmware
User manual STM8L101-EVAL demonstration firmware 1 Introduction Note: This document describes the demonstration firmware running on the STM8L101-EVAL evaluation board. You can use it to evaluate the capabilities
More informationUM0401 User manual. User manual for eight bit port expander STMPE801 demonstration board. Introduction
User manual User manual for eight bit port expander STMPE801 demonstration board Introduction This document explains the functioning of the demo board for the port expander Chip STMPE801 with a PC GUI
More informationSTM8-SK/RAIS STM8-D/RAIS ST7-SK/RAIS ST7-D/RAIS
STM8-SK/RAIS STM8-D/RAIS ST7-SK/RAIS ST7-D/RAIS Raisonance s complete, low-cost starter kits for STM8 and ST7 Features Embedded RLink USB interface to host PC In-circuit debugging and programming Application
More informationAN3348 Application note
Application note Porting etpu code to etpu compiler build tools guides Introduction This guide would take you through the process of porting your application to the new etpu Compiler (EC). EC was designed
More informationECMF02-3F3. Common mode filter with ESD protection. Features. Description. Applications. Complies with the following standard:
Common mode filter with ESD protection Datasheet production data Figure 1. Pin configuration (bump side) 1 2 A B Flip Chip 6 bumps C Features Figure 2. Schematic (bump side) Very large differential bandwidth
More informationAN3423 Application note
Application note Shrinking the AUTOSAR OS: code size and performance optimizations 1 Introduction This application note describes the operations needed to perform code size and performance optimization
More informationEMIF03-SIM06F3. 3-line IPAD, EMI filter including ESD protection. Description. Features. Application. Complies with the following standards:
3-line IPAD, EMI filter including ESD protection Description Datasheet production data The EMIF03-SIM06F3 chip is a highly integrated audio filter device designed to suppress EMI/RFI noise in all systems
More informationEV-VNQ5E050AK VNQ5E050AK evaluation board
VNQ5E050AK evaluation board Data brief production data Features Parameter Symbol Value Unit Max supply voltage V CC 41 V Operating voltage range V CC 4.5 to 28 V Max On-State resistance R ON 50 mω Current
More informationAN3980 Application note
Application note STM32 firmware library for dspin L6470 1 Introduction This application note describes the implementation of the STM32 firmware library for the dspin stepper motor control product (L6470).
More informationSTM32-MP3NL/DEC. STM32 audio engine MP3 decoder library. Description. Features
STM32 audio engine MP3 decoder library Data brief Features MPEG-1, 2 or 2.5 formats Layers 1, 2 and 3 Constant bit rate and variable bit rate Mono or stereo input streams PCM (Pulse Code Modulation) output
More informationOSPlus USB Extension. OSPlus USB 2.0 extension. Description. Features. Application. TCP/IP stack NexGenOS NexGenIP VFS. FAT Ext2 LVM Device layer
OSPlus USB 2.0 extension Data brief Application VFS FAT Ext2 LVM Device layer Device drivers TCP/IP stack NexGenOS NexGenIP NexGenRemote NexGenResolve NexGenBoot NexGenPPP USB stack OSPlus interface Class
More informationUM1677 User manual. Getting started with STM32F030 Value Line Discovery development tools. Introduction
User manual Getting started with STM32F030 Value Line Discovery development tools Introduction This document describes the software, firmware environment and development recommendations required to build
More informationAN3279 Application Note
Application Note Adjustable LED blinking speed using STM8S-DISCOVERY touch sensing key Application overview This application note provides a short description of how to use the touch sensing key to change
More informationSTM3210B-SK/KEIL STR91X-SK/KEI, STR7-SK/KEIL
STM3210B STR91X-SK/KEI, STR7 Keil starter kits for ST ARM core-based microcontrollers Data brief Features The ARM RealView Microcontroller Development Kit complete development software package with: µvision3
More informationAN2470 Application note TS4871 low voltage audio power amplifier Evaluation board user guidelines Features Description
Application note TS4871 low voltage audio power amplifier Evaluation board user guidelines Features TS4871 low voltage audio power amplifier with active low standby mode Operating range from V CC =2.2V
More informationAN3965 Application note
Application note STM32F40x/STM32F41x in-application programming using the USART 1 Introduction An important requirement for most Flash-memory-based systems is the ability to update firmware when installed
More informationAN2855 Application note
Application note Configuration for single-click and double-click detection using the FC30 Introduction This document is intended to provide application information for the click and double-click detection
More informationSTMicroelectronics. STxP70-4 assembler. User manual Rev A. October
STMicroelectronics STxP70-4 assembler User manual 8229631 Rev A October 2009 www.st.com BLANK User manual STxP70-4 assembler Introduction The STxP70-4 version of the assembler is based upon the GNU assembler
More informationUM1572 User manual. STEVAL-IPE020V1: ST energy meter application based on the Android platform. Introduction
User manual STEVAL-IPE020V1: ST energy meter application based on the Android platform Introduction The ST energy meter application is a user friendly Android based solution based on NFC technology that
More informationSTM32-SK/KEIL STR91X-SK/KEI, STR7-SK/KEIL
STM32 STR91X-SK/KEI, STR7 Keil starter kits for ST ARM core-based microcontrollers Data brief Features The ARM RealView Microcontroller Development Kit complete development software package with: µvision3
More informationGetting started with DfuSe USB device firmware upgrade STMicroelectronics extension
User manual Getting started with DfuSe USB device firmware upgrade STMicroelectronics extension Introduction This document describes the demonstration user interface that was developed to illustrate use
More informationThis document describes the hardware architecture of the board, how to configure the jumpers and to enable specific functions.
User manual SPC560B-DIS discovery board Introduction This document describes the hardware architecture of the board, how to configure the jumpers and to enable specific functions. November 2013 DocID025237
More informationSTEVAL-VNH5019A. Motor driver evaluation board based on VNH5019A. Description. Features
STEVAL-VNH5019A Motor driver evaluation board based on VNH5019A Description Data brief Features Type R DS(on) I out V CC(max) VNH5019A-E 18 mω typ (per leg) 30 A 41 V Handling up to 30 A of maximum motor
More informationAN2361 Application note
AN2361 Application note Interfacing with the STR91x software library using Configuration and Programming Software (CAPS) Introduction STR91x microcontrollers offer extremely flexible configuration of I/O
More informationSTTS V memory module temperature sensor. Features
2.3 V memory module temperature sensor Data brief Features is a 2.3 V memory module temperature sensor forward compatible with JEDEC standard TS3000 and backward compatible with STTS424 Operating temperature
More informationSTM32-SK/RAIS,STR91X-SK/RAI,STR7-SK/RAIS STM32-D/RAIS,STR9-D/RAIS,STR7-D/RAIS
STM32-SK/RAIS,,STR7-SK/RAIS STM32-D/RAIS,STR9-D/RAIS,STR7-D/RAIS Raisonance REva starter kits for ST ARM core-based microcontrollers Data brief Features Raisonance software toolset with: GNU C compiler
More informationSTEVAL-IDW001V1. Wi-Fi daughterboard for STM32F0DISCOVERY. Description. Features
STEVAL-IDW00V Wi-Fi daughterboard for STMF0DISCOVERY Description Data brief Features Integrated SPWF0SA. Wi-Fi module Used as daughterboard for the STMF0DISCOVERY Can be used with the STEVAL-PCC0V UART
More informationAN1335 APPLICATION NOTE
AN1335 APPLICATION NOTE Using the ST10F280 By André ROGER 1 - INTRODUCTION ST10F280 is a new member of ST10 family. This device has been specifically designed for application based on C167 and that now
More informationSTM8 I 2 C optimized examples
Application note STM8 I 2 C optimized examples Introduction This document describes how to use the following I 2 C optimized examples Hardware configuration example of a common I 2 C bus Master firmware
More informationUM0792 User manual. Demonstration firmware for the DMX-512 communication protocol transmitter based on the STM32F103Zx.
User manual Demonstration firmware for the DMX-512 communication protocol transmitter based on the STM32F103Zx Introduction This document describes how to use the demonstration firmware for the DMX-512
More informationST19WR08 Dual Contactless Smartcard MCU With RF UART, IART & 8 Kbytes EEPROM Features Contactless specific features
Dual Contactless Smartcard MCU With RF UART, IART & 8 Kbytes EEPROM Data Brief Features Enhanced 8-bit CPU with extended addressing modes 112 KBytes user ROM with partitioning 2 KBytes user RAM with partitioning
More informationSTM3220G-SK/KEI. Keil starter kit for STM32F2 series microcontrollers (STM32F207IG MCU) Features. Description
Keil starter kit for STM32F2 series microcontrollers (STM32F207IG MCU) Data brief Features The Keil MDK-Lite development tools: µvision 4 IDE/Debugger for application programming and debugging ARM C/C++
More informationUM1488 User manual. STPMC1 evaluation software. Introduction
User manual STPMC1 evaluation software Introduction STPMC1 evaluation software is a graphical user interface to read, configure and calibrate an STPMC1 energy metering device, suitable for parallel and
More informationAN2557 Application note
Application note STM32F10x in-application programming using the USART Introduction An important requirement for most Flash-memory-based systems is the ability to update firmware when installed in the end
More informationAN2240 Application note
AN0 Application note Using the evaluation board for the TS7 low noise microphone preamplifier with V bias Introduction This application note describes the DEMO TS7 evaluation board, specifically designed
More informationAN2825 Application Note
Application Note S-Touch STMPE811 resistive touchscreen controller advanced features Introduction This application note provides details on the advanced features of the S-Touch STMPE811 touchscreen controllers.
More informationAN2618 Application note
Application note etpu host interface Introduction The etpu is the new generation of Time Processing Unit (TPU). Besides the hardware enhancement, significant improvements have been made to the accompanying
More informationUM1084 User manual. CR95HF development software user guide. Introduction. Reference documents
User manual CR95HF development software user guide Introduction The CR95HF development software is a PC software which allows to configure, evaluate, and communicate with ST CR95HF 13.56 MHz multiprotocol
More informationAN2594 Application note
AN2594 Application note EEPROM emulation in STM32F101xx and STM32F103xx microcontrollers Introduction Many applications require EEPROM (electrically erasable programmable read-only memory) for non-volatile
More informationAN2673 Application note
Application note STM8A SPI application examples Introduction This application note is one of a set of application notes giving examples of how to use the various blocks of the STM8A microcontroller family
More informationAN2734 Application note S-Touch design procedure Introduction
Application note S-Touch design procedure Introduction The purpose of this application note is to provide the system/hardware engineers enough ground knowledge to start the design of capacitive touch inferface
More informationSTLC2500D. Bluetooth V2.1 "Lisbon" + EDR. Features. Description
Bluetooth V2.1 "Lisbon" + EDR Data Brief Features Based on Ericsson Technology Licensing Baseband Core (EBC) Bluetooth specification compliance: V2.1 ( Lisbon ) + EDR HW support for packet types ACL, SCO,
More informationEVAL6235PD. L6235 three-phase brushless DC motor driver demonstration board. Features. Description
L6235 three-phase brushless DC motor driver demonstration board Features Operating supply voltage from 8 V to 52 V 5.6 A output peak current (2.8 A RMS ) Operating frequency up to 100 khz Non-dissipative
More informationAN2474 Application note
AN474 Application note TS4995.W fully differential audio power amplifier with selectable standby and 6db fixed gain - Evaluation board user guidelines Introduction This application note describes the DEMO
More informationSTEVAL-IHM028V1. 2 kw 3-phase motor control demonstration board featuring the IGBT intelligent power module STGIPS20K60. Features.
Features 2 kw 3-phase motor control demonstration board featuring the IGBT intelligent power module STGIPS20K60 Data brief Complete solution for a 2 kw power inverter HV supply mode: voltage 90 VAC to
More informationAN3154 Application note
Application note CAN protocol used in the STM32 bootloader Introduction This application note describes the CAN protocol used in the STM32 microcontroller bootloader. It details each supported command.
More informationSTA bit single chip baseband controller for GPS and telematic applications. Features
32-bit single chip baseband controller for GPS and telematic applications Data Brief Features Suitable for automotive applications ARM7TDMI 16/32 bit RISC CPU based host microcontroller. Complete embedded
More informationSOT23-6L ESDALCL6-2SC6
Very low capacitance and low leakage current ESD protection Features 2 data-line protection Datasheet production data Protects V BUS Very low capacitance: 2.5 pf typ. Very low leakage current: 10 na at
More informationST33F1M. Smartcard MCU with 32-bit ARM SecurCore SC300 CPU and 1.25 Mbytes high-density Flash memory. Features. Hardware features.
Smartcard MCU with 32-bit ARM SecurCore SC300 CPU and 1.25 Mbytes high-density Flash memory Data brief Features ST33F1M major applications include: Mobile communications (GSM, 3G and CDMA) Java Card applications
More informationAN2737 Application note Basic in-application programming example using the STM8 I 2 C and SPI peripherals Introduction
Application note Basic in-application programming example using the STM8 I 2 C and SPI peripherals Introduction This application note is one of a set of application notes giving examples of how to use
More informationAN3265 Application note
Application note Handling hardware and software failures with the STM8S-DISCOVERY Application overview This application is based on the STM8S-DISCOVERY. It demonstrates how to use the STM8S window watchdog
More informationRN0046 Release note. 1 Introduction. SimpleMAC library for STM32W108xx kits. About this release note
Release note SimpleMAC library for STM32W108xx kits 1 Introduction About this release note This release note is related to the SimpleMAC library which supports all the available STM32W108xx kits. This
More informationMain components 1 A, high efficiency adjustable single inductor dual mode buckboost DC-DC converter
DN0007 Design note STBB1 buck-boost converter used as a 500mA LED driver with 1.8VDC-5.5VDC Vin Designs from our labs describe tested circuit designs from ST labs which provide optimized solutions for
More informationSTM8-SK/RAIS STM8-D/RAIS ST7-SK/RAIS ST7-D/RAIS
STM8-SK/RAIS STM8-D/RAIS ST7-SK/RAIS ST7-D/RAIS Features Raisonance s complete, low-cost starter kits for STM8 and ST7 Embedded RLink USB interface to host PC In-circuit debugging and programming Application
More informationSTICE CF/Stice_Connect AD/Stice_Connect AS/Stice_Connect
STICE CF/Stice_Connect AD/Stice_Connect AS/Stice_Connect Full-featured cost-effective emulation system for ST microcontrollers Data brief Features Emulation system Real-time emulation of STM8 MCUs (CPU
More informationAN3362 Application note
Application note Clock configuration tool for STM32F2xx microcontrollers Introduction This application note presents the clock system configuration tool for the STM32F2xx microcontroller family. The purpose
More informationObsolete Product(s) - Obsolete Product(s)
2-line IPAD, EMI filter and ESD protection for speaker Figure 1. Pin configuration (top view) and basic cell configuration Input SPK R in GND SPK L in 1 Pin 1 Micro QFN 6 leads 1.45 mm x 1.00 mm (bottom
More informationDistributed by: www.jameco.com 1-800-831-4242 The content and copyrights of the attached material are the property of its owner. ST7xxxx-SK/RAIS Raisonance s complete, low-cost starter kits for ST7 The
More informationAN2202 Application note
Application note STR73x microcontroller power management Introduction This application note provides an overview of the STR73x power management features and gives some guidelines for using the low power
More informationAN3964 Application note
Application note STM32L1x temperature sensor example Introduction This application note describes a method of implementing a simple application for temperature measurement using the STM32L-DISCOVERY and
More informationAN4371 Application note
Application note SPC56ELxx ADC Built-in self-tests ADC working in CPU mode Introduction In automotive more and more often comes in foreground the question of safety. For this reason the ST s PowerPC microcontrollers
More informationSTM8L-PRIMER STM32-PRIMER STMPRIMER
STM8L-PRIMER STM32-PRIMER STMPRIMER Raisonance STM32 and STM8 Primers for fun, easy evaluation and development with STM32 and STM8 Features Data brief The versatile EvoPrimer range includes: In-circuit
More informationSTEVAL-ILL055V1: 11 W offline LED drive with high power factor based on HVLED815PF (EU input range) Figure 1. STEVAL-ILL055V1
User manual STEVAL-ILL055V1: 11 W offline LED drive with high power factor based on HVLED815PF (EU input range) Introduction The purpose of this document is to provide detailed information for the STEVAL-ILL055V1
More informationAN2781 Application note
Application note UART emulation software in STM8S and STM8A microcontrollers Introduction This application note describes how to emulate the UART behavior and functionality using routines in STM8S microcontrollers.
More informationTN0132 Technical note
Technical note STM32 Serial Wire Viewer and ETM capabilities with EWARM 5.40 and MDK-ARM 3.70 Introduction This document presents Serial Wire Viewer (SWV) and Embedded Trace Macrocell (ETM) capabilities
More informationAN3250 Application note
Application note M24LR64-R Multi-bank reference design description and settings 1 Introduction The M24LR64-R multi-bank reference design has been created to help users increase the memory density of their
More informationEMIF01-SMIC01F2 IPAD. Single line EMI filter including ESD protection. Main application. Description. Benefits. Pin configuration (Bump side view)
IPAD Single line EMI filter including ESD protection Main application Single ended microphone in mobile phones and portable devices Description The is a highly integrated device designed to suppress EMI/RFI
More informationUM1792 User manual. STLUX385A development environment. Introduction. Reference documents
User manual STLUX385A development environment Introduction This user manual provides complete information for SW developers about the complete STLUX385A development environment flow. The STLUX385A development
More informationUM1650 User manual. SPC56L-Discovery. Introduction. This document describes how to configure the board and how to setup the I/O communication.
User manual SPC56L-Discovery Introduction This document describes how to configure the board and how to setup the I/O communication. September 2013 DocID024947 Rev 3 1/23 www.st.com Contents UM1650 Contents
More informationAN2408 Application note
Application note 900mA standalone linear Li-Ion battery charger with thermal regulation Introduction One way to minimize the size and complexity of a battery charger is to use a linear-type charger. The
More informationSMP75. Trisil for telecom equipment protection. Features. Description. Applications. Benefits
Trisil for telecom equipment protection Features bidirectional crowbar protection voltage: 8 V low leakage current: I R = 2 µa max holding current: I H = 15 ma min repetitive peak pulse current: I PP =
More informationTN0189 Technical note
Technical note STM8 bootloader frequently asked questions 1 Introduction All STM8A, STM8L, and STM8S devices with a Flash memory space greater than 16 Kbytes have a ROM bootloader: STM8AF51xx STM8AF61xx
More informationEMIF02-SPK02F2. 2-line IPAD, EMI filter and ESD protection. Features. Application. Description. Complies with the following standards
2-line IPAD, EMI filter and ESD protection Datasheet production data Features Packaged in lead-free Flip Chip Very low resistance: 0.35 Ω High attenuation: -45 db at 900 MHz Very low PCB space consumption:
More informationAN3988 Application note
Application note Clock configuration tool for STM32F40x/41x microcontrollers Introduction This application note presents the clock system configuration tool for the STM32F4xx microcontroller family. The
More information