Electronic Components Datasheet Search
  English  ▼

X  

UM1766 Datasheet(PDF) 22 Page - STMicroelectronics

Part # UM1766
Description  Getting started with STM32CubeF3 for STM32F3 Series
PDF  29 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM1766 Datasheet(HTML) 22 Page - STMicroelectronics

Back Button UM1766 Datasheet HTML 18Page - STMicroelectronics UM1766 Datasheet HTML 19Page - STMicroelectronics UM1766 Datasheet HTML 20Page - STMicroelectronics UM1766 Datasheet HTML 21Page - STMicroelectronics UM1766 Datasheet HTML 22Page - STMicroelectronics UM1766 Datasheet HTML 23Page - STMicroelectronics UM1766 Datasheet HTML 24Page - STMicroelectronics UM1766 Datasheet HTML 25Page - STMicroelectronics UM1766 Datasheet HTML 26Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 22 / 29 page
background image
DocID026352 Rev 8
22/29
UM1766
Getting started with STM32CubeF3
28
4.2.2
LL application
This section describes the steps needed to create your own LL application using
STM32CubeF3.
1.
Create your project
To create a new project you can either start from the Templates_LL project provided for
each board under \Projects\<STM32xxx_yyy>\Templates_LL or from any available
project under \Projects\<STM32xxy_yyy>\Examples_LL (<STM32xxx_yyy> refers to
the board name, such as NUCLEO-F334R8).
The Template project provides an empty main loop function, however it is a good
starting point to get familiar with project settings for STM32CubeF3.
Template main characteristics are the following:
–
It contains the source codes of the LL and CMSIS drivers which are the minimal
components needed to develop code on a given board.
–
It contains the include paths for all the required firmware components.
–
It selects the supported STM32F3 device and allows to configure the CMSIS and
LL drivers accordingly.
–
It provides ready-to-use user files, that are pre-configured as follows:
main.h : LED & USER_BUTTON definition abstraction layer.
main.c : System clock configuration for maximum frequency.
2.
Port an existing project to another board
To port an existing project to another target board, start from the Templates_LL project
provided for each board and available under
\Projects\<STM32xxx_yyy>\Templates_LL:
a)
Select a LL example
To find the board on which LL examples are deployed, refer to the list of LL
examples STM32CubeProjectsList.html, to Table 3: Number of examples
available for each board or to application note “STM32Cube firmware examples
for STM32F3 Series” (AN4734)
b)
Port the LL example
–
Copy/paste the Templates_LL folder - to keep the initial source - or directly update
existing Templates_LL project.
–
Then porting consists principally in replacing Templates_LL files by the
Examples_LL targeted project.
–
Keep all board specific parts. For reasons of clarity, board specific parts have been
flagged with specific tags:
/* ==============
BOARD SPECIFIC CONFIGURATION CODE BEGIN
============== */
/* ==============
BOARD SPECIFIC CONFIGURATION CODE END
============== */
Thus the main porting steps are the following:
–
Replace the stm32F3xx_it.h file
–
Replace the stm32F3xx_it.c file
–
Replace the main.h file and update it: Keep the LED and user button definition of
the LL template under "BOARD SPECIFIC CONFIGURATION" tags.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com