没有合适的资源?快使用搜索试试~ 我知道了~
首页stm32F7的cube固件例程
STM32F7x2系列提供Cortex-M7内核性能(具有浮点单元),工作频率高达216 MHz,同时达到近似于STM32F427/429/437/439系列的较低静态功耗(停止模式)。 性能:得益于意法半导体的ART加速技术,STM32F7x2微控制器的CPU以216 MHz 的时钟运行,可实现零等待执行闪存程序,并获得1082 CoreMark / 462 DMIPS的佳绩。 FPU单元和DSP指令扩大了应用领域。 L1 Cache(一级高速缓存) (8 KB I-Cache + 8 KB D-Cache)的存在使得即使使用外部存储器而不让芯片性能打折。 能效:受益于ST的90 nm制造工艺、ART自适应实时加速器和动态功耗调节技术,在1.8 V电源、运行模式下从闪存执行程序代码,功耗为 7 CoreMark / mW。 在停止模式下,典型功耗为100 µA。
资源详情
资源评论
资源推荐
May 2016 DocID028035 Rev 3 1/29
29
AN4731
Application note
STM32Cube firmware examples for STM32F7 Series
Introduction
The STM32CubeF7 firmware package comes with a rich set of examples running on
STMicroelectronics boards. The examples are organized by board and provided with
preconfigured projects for the main supported toolchains (see Figure 1).
Figure 1. STM32CubeF7 firmware components
www.st.com
Reference documents AN4731
2/29 DocID028035 Rev 3
Reference documents
The reference documents are available on www.st.com/stm32cube:
• Latest release of STM32CubeF7 firmware package
• Getting started with STM32CubeF7 firmware package for STM32F7 Series user
manual (UM1891)
• STM32F7CubeF7 demonstration platform user manual (UM1906)
• Description of STM32F7xx HAL drivers user manual (UM1905)
• STM32Cube USB Device library user manual (UM1734)
• STM32Cube USB host library user manual (UM1720)
• Developing applications on STM32Cube with FatFs user manual (UM1721)
• Developing Applications on STM32Cube with RTOS user manual (UM1722)
• Developing Applications on STM32Cube with LwIP TCP/IP stack user manual
(UM1713)
• STM32Cube Ethernet IAP example user manual (UM1709)
DocID028035 Rev 3 3/29
AN4731 STM32CubeF7 examples
29
STM32CubeF7 examples
The examples are classified depending on the STM32Cube level they apply to. They are
named as follows:
• Examples: the examples use only the HAL and BSP drivers (middleware not used).
Their objective is to demonstrate the product/peripherals features and usage. They are
organized per peripheral (one folder per peripheral, e.g. TIM). Their complexity level
ranges from the basic usage of a given peripheral (e.g. PWM generation using timer) to
the integration of several peripherals (e.g. how to use DAC for signal generation with
synchronization from TIM6 and DMA). The usage of the board resources is reduced to
the strict minimum.
• Applications: the applications demonstrate the product performance and how to use
the available middleware stacks. They are organized either by middleware (a folder per
middleware, e.g. USB Host) or by product feature that require high-level firmware
bricks (e.g. Audio). The integration of applications that use several middleware stacks
is also supported.
• Demonstrations: the demonstrations aim to integrate and run the maximum number
of peripherals and middleware stacks to showcase the product features and
performance.
• Template project: the template project is provided to allow to quickly build a firmware
application on a given board.
The examples are located under STM32Cube_FW_STM32CubeF7_VX.Y.Z\Projects\. They
all have the same structure:
• \Inc folder containing all header files
• \Src folder containing the sources code
• \EWARM, \MDK-ARM and \SW4STM32 folders containing the preconfigured project for
each toolchain.
• readme.txt file describing the example behavior and the environment required to run
the example.
To run the example, proceed as follows:
1. Open the example using the preferred toolchain.
2. Rebuild all files and load the image into target memory.
3. Run the example by following the readme.txt instructions
Note: Refer to "Development toolchains and compilers" and "Supported devices and evaluation
boards" sections of the firmware package release notes to know more about the
software/hardware environment used for the firmware development and validation. The
correct operation of the provided examples is not guaranteed in other environments, for
example when using different compiler or board versions.
The examples can be tailored to run on any compatible hardware: simply update the BSP
drivers for your board, provided it has the same hardware functions (LED, LCD display,
push-buttons, etc.). The BSP is based on a modular architecture that can be easily ported to
any hardware by implementing the low-level routines.
Table 1 contains the list of examples provided within the STM32CubeF7 firmware package.
STM32CubeF7 examples AN4731
4/29 DocID028035 Rev 3
Table 1. STM32CubeF7 firmware examples
Level
Module
Name
Project Name Description
STM32756G
-EVAL
STM32746G
-Discovery
STM32F769I
-EVAL
STM32F746ZG
-Nucleo
STM32F767ZI
-Nucleo
STM32F769I
-Discovery
Templ at es
- Starter project
This projects provides a reference template that
can be used to build any firmware application.
XXX X X X
Total number of templates: 6 1 1 1 1 1 1
Demonstra-
tions
--
The STM32Cube demonstration platform comes on
top of the STM32Cube as a firmware package that
offers a full set of software components based on a
module architecture allowing re-using them
separately in standalone applications. All these
modules are managed by the STM32Cube
demonstration kernel allowing to dynamically
adding new modules and access to common
resources (storage, graphical components and
widgets, memory management, Real-Time
operating system). The STM32Cube demonstration
platform is built around the powerful graphical
library STemWin and the FreeRTOS real time
operating system and uses almost the whole
STM32 capability to offer a large scope of usage
based on the STM32Cube HAL BSP and several
middleware components.
XXX - - X
Total number of demonstrations: 4 1 1 1 0 0 1
Examples
-BSP
This example provides a description of how to use
the different BSP drivers.
XXX X - X
ADC
ADC_DualModeInterleaved
This example provides a short description of how to
use the ADC peripheral to convert a regular
channel in dual interleaved mode.
X-X - - -
ADC_InjectedConversion_
Interrupt
This example describes how to interrupt a
continuous ADC regular channel conversion using
ADC injected channels and how to get the
converted value of this conversion.
X-X - - -
ADC_RegularConversion_D
MA
This example describes how to use the ADC3 and
DMA to transfer continuously converted data from
ADC3 to memory.
XXX X X -
ADC_RegularConversion_
Interrupt
This example describes how to use the ADC in
interrupt mode to convert data through the HAL
API.
X-X X X -
ADC_RegularConversion_
Polling
This example describes how to use the ADC in
Polling mode to convert data through the HAL API.
X-X - X -
AN4731 STM32CubeF7 examples
DocID028035 Rev 3 5/29
Examples
ADC
ADC_TemperatureSensor
This example describes how to use the ADC1 and
the temperature sensor to calculate the junction
temperature of the device.
--X - - X
ADC_TriggerMode
This example describes how to use the ADC3 and
TIM2 to convert continuously data from ADC
channel. Each time an external trigger is generated
by TIM2 a new conversion is started by the ADC.
X-X - - -
ADC_TripleModeInterleaved
This example provides a short description of how to
use the ADC peripheral to convert a regular
channel in triple interleaved mode.
X-X - - -
CAN
CAN_Loopback
This example provides a description of how to set a
communication with the CAN in loopback mode.
X-X - - -
CAN_Networking
This example shows how to configure the CAN
peripheral to send and receive CAN frames in
normal mode.
X-X - - -
CEC CEC_DataExchange
This example shows how to configure and use the
CEC peripheral to receive and transmit messages.
XXX - - -
CRC
CRC_Bytes_Stream_7bit_C
RC
This example guides the user through the different
configuration steps by means of the HAL API. The
CRC (Cyclic Redundancy Check) calculation unit
computes 7-bit long CRC codes derived from
buffers of 8-bit data (bytes).
--X - XX
CRC_Example
This example guides the user through the different
configuration steps by means of the HAL API. The
CRC (Cyclic Redundancy Check) calculation unit
computes the CRC code of a given buffer of 32-bit
data words, using a fixed generator polynomial
(0x4C11DB7).
X-X X X X
CRC_UserDefinedPolynomi
al
This example guides the user through the different
configuration steps by means of the HAL API. The
CRC (Cyclic Redundancy Check) calculation unit
computes the 8-bit long CRC code of a given buffer
of 32-bit data words, based on a user-defined
generating polynomial.
X-X - X X
Table 1. STM32CubeF7 firmware examples (continued)
Level
Module
Name
Project Name Description
STM32756G
-EVAL
STM32746G
-Discovery
STM32F769I
-EVAL
STM32F746ZG
-Nucleo
STM32F767ZI
-Nucleo
STM32F769I
-Discovery
剩余28页未读,继续阅读
tinytool
- 粉丝: 127
- 资源: 13
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
- MW全能培训汽轮机调节保安系统PPT教学课件.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0