Home

AN4731 - STMicroelectronics

image

Contents

1. IAP_Main This directory contains a set of source files and pre configured projects that describes how to build an application to be loaded into the Flash memory using In Application Programming IAP through USART LibJPEG LibJPEG_Decoding This application demonstrates how to read jpeg file from SD card memory decode it and display the final BMP image on the LCD LibJPEG_Encoding This example demonstrates how to read BMP file from micro SD encode it save the jpeg file in the SD card memory then decode the jpeg file and display the final BMP image on the LCD LwIP LwIP_HTTP_Server_Netconn_RT OS This application guides STM32Cube HAL API users to run a http server application based on Netconn API of LwIP TCP IP stack The communication is done with a web browser application in a remote PC LwIP_HTTP_Server_Raw This application guides STM32Cube HAL API users to run a http server application based on Raw API of LwIP TCP IP stack The communication is done with a web browser application in a remote PC LELYNY s jdwex ZJ qQNOZENWNLS YZI z A8Y 9E 08Zz0dI90q Table 1 STM32CubeF7 firmware examples continued Level Applications Module Name LwIP Project Name LwIP_HTTP_Server_Socket_RTO S Description This application guides STM32Cube HAL API users to run a http server application based on Socket API of LwIP TCP IP stack The communic
2. AN4731 ky a TEn 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 Evaluation boards Discovery boards Nucleo boards Board Demonstrations Middleware level examples Networking LwiP TCP IP amp Polar SSL Graphics STemWin US Host amp Device File system RTOS FATFS FreeRTOS HAL level examples Hardware Abstraction Layer APIs Boards Support Packages Drivers Reference documents The reference documents are available on www st com stm32cube e Latest release of STM32CubeF7 firmware package e Getting started with the STM32CubeF7 firmware package for STM32F7 Series user manual UM1891 e Description of STM32F7xx HAL drivers user manual UM1905 e Developing Applications on STM32Cube with RTOS user manual UM1722 e STM32Cube USB Device library UM1734 e Developing applications on STM32Cube with FatFs UM1721 G 1 24 www st com November 2015 DoclD028035 Rev 2 STM32CubeF7 examples AN4731 STM32CubeF7 examples Note 2 24 The examples are classified depending on the STM32Cube level they apply to They are named as follows e Examples the examples us
3. ECB CBC CTR and all key size 128 192 256 algorithms CRYP_AES_CCM This example provides a short description of how to use the CRYPTO peripheral to encrypt data using AES with Combined Cipher Machine CCM CRYP_AES_DMA This example provides a short description of how to use the CRYPTO peripheral to encrypt and decrypt data using AES 128 algorithm with ECB chaining mode CRYP_AES_GCM This example provides a description of how to use the CRYPTO peripheral to encrypt and decrypt data using AES with Galois Counter Mode GCM CRYP_DESTDESmodes This example provides a short description of how to use the CRYPTO peripheral to encrypt and decrypt data using DES and TDES in all mode ECB CBC algorithm CRYP_TDES_DMA This example provides a short description of how to use the CRYPTO peripheral to encrypt data using TDES algorithm s jdwex Z4J qQN ZENWNLS LeZyNV z A8Y GEN8ZOdI90d vels Table 1 STM32CubeF7 firmware examples continued Level Examples Module Name Cortex Project Name CORTEXM_MPU Description This example presents the MPU feature The example purpose is to configure a memory region as privileged read only region and tries to perform read and write operation in different mode STM32746G Discovery STM32F746ZG Nucleo STM32756G EVAL CORTEXM_ModePrivilege This example shows how to modify Cortex M7 thread mode p
4. as code execution memory FMC_SRAM This example guides the user through the different configuration steps by means of the HAL API to configure the FMC controller to access the IS61WV102416BLL 10MLI SRAM memory mounted on STM327x6G EVAL revB evaluation board FMC_SRAM_DataMemory This example guides the user through the different configuration steps by means of the HAL API to configure the FMC controller to access the IS61WV102416BLL 10MLI SRAM memory mounted on STM327x6G EVAL revB evaluation board including heap and stack GPIO GPIO_EXTI This example shows how to configure external interrupt lines GPIO_lOToggle This example describes how to configure and use GPIOs through the HAL API HAL HAL_TimeBase This example describes how to customize the HAL time base using a general purpose timer instead of Systick as main source of time base HASH HASH_HMAC_SHA1MD5 This example provides a short description of how to use the HASH peripheral to hash data using HMAC SHA 1 and HMAC MD5 algorithms HASH_SHA1MD5 This example provides a short description of how to use the HASH peripheral to hash data using SHA 1 and MD5 algorithms LeZVNV s jdwex 7 49qnOZEWLS v s z A8Y GEN8ZOdI90d Table 1 STM32CubeF7 firmware examples continued Level Examples Module Project Name Description STM32746G STM32F746ZG STM
5. an application that uses semaphore from ISR with CMSIS RTOS API This application creates a thread that toggles LED through semaphore given from ISR FreeRTOS_ Signal This directory contains a set of source files that implement thread signaling example using CMSIS RTOS API s jdwex 49qnOZEWLS LeZyNV z A8Y GEN8ZOdI90d Vell Table 1 STM32CubeF7 firmware examples continued Level Applications Module Name Free RTOS Project Name FreeRTOS_SignalFromlSR Description This directory contains a set of source files that implement a thread signalling from an interrupt example using CMIS RTOS API STM32746G Discovery STM32F746ZG Nucleo STM32756G EVAL FreeRTOS_ThreadCreation This directory contains a set of source files that implement a thread creation example using CMSIS RTOS API This example creates two threads with the same priority which execute in a periodic cycle of 15 seconds FreeRTOS_ Timers This directory contains a set of source files that implement an application that uses timers of CMSIS RTOS API This application creates a thread that toggles LED2 every 400 ms and a periodic timer that calls a callback function every 200 ms to toggle the LED1 IAP IAP_Binary_Template This directory contains a set of sources files that build the application to be loaded into Flash memory using In Application Programming IAP through USART
6. 32756G Name J P Discovery Nucleo EVAL This example provides a short description of how to use the HASH_SHA1MD5_DMA HASH peripheral to hash data using SHA 1 and MD5 X algorithms HASH This example provides a short description of how to use the HASH_SHA224SHA256_DMA HASH peripheral to hash data using SHA224 and SHA256 X algorithms 2C EEPROM This example describes how to perform I2C data buffer 7 a x transmission reception via DMA This example describes how to perform 12C data buffer I2C_TwoBoards_AdvComlT transmission reception between two boards using an interrupt X 12C 12C TwoBoards ComDMA This example describes how to perform I2C data buffer x 7 transmission reception between two boards via DMA I2C TwoBoards ComIT This example describes how to perform I2C data buffer x R 7 transmission reception between two boards using an interrupt I2C_TwoBoards_ComPolling This example describes how to perform I2C data buffer x 7 transmission reception between two boards in Polling mode This example describes how to reload the IWDG counter and IWDG IWDG_Example to simulate a software fault by generating an MCU IWDG reset X X when a programmed time period has elapsed LTDC_ColorKeying This example describes how to enable and use the LTDC color B x keying functionality This example provides a description of how to configure LTDC LTDC LTDC_Display_1Layer peripheral to display BMP image of size 480x272 and format X X
7. 32F756xx STM32F746xx devices using STM32CubeF7 X X X Templates HAL and running on NUCLEO F746ZG Rev B board from STMicroelectronics Total number of templates 3 1 1 1 2 BSP The BSP examples detects the presence of Adafruit 1 8 TFT x x x shield with joystick and uSD This example provides a short description of how to use the ADC_DualModelnterleaved ADC peripheral to convert a regular channel in dual interleaved X mode This example describes how to interrupt continuous ADC3 F regular ADC_CHANNEL_8 conversion using ADC3 injected E ADC_InjectedConversion_Interrupt ADC CHANNEL_12 and how to get the converted value of this X conversion This example describes how to use the ADC3 and DMA to ADG Regularconversion DMA transfer continuously converted data from ADC3 to memory X x x ADC This example describes how to use the ADC in interrupt mode ADC_RegularConversion_Interrupt to convert data through the HAL API X X Examples This example describes how to use the ADC3 with channel ADC_RegularConversion_Polling ADC CHANNEL 8 in Polling mode to convert data i a This example describes how to use the ADC3 and TIM2 to ADC_TriggerMode convert continuously data from ADC3 with channel X ADC_CHANNEL_8 This example provides a short description of how to use the ADC_TripleModelnterleaved ADC peripheral to convert a regular channel in triple X interleaved mode This example provides a description of how to set a GAN Loopback communicat
8. 746G STM32F746ZG STM32756G J P Discovery Nucleo EVAL This example shows how to configure the TIM1 peripheral to f generate three complementary TIM1 signals to insert a MM ComplementarySignals defined dead time value to use the break feature and to lock X the desired parameters This example provides a description of how to use DMA with TIM_DMA TIMER update request to transfer Data from memory to TIMER X X Capture Compare Register 3 CCR3 This example shows how to update the TIM2 channel1 period TIM DMABurst and the duty cycle using the TIM2 DMA burst feature 7 E X TIM_ExtTriggerSynchro This example shows how to synchronize TIM peripherals in x cascade mode with an external trigger TIM_InputCapture This example shows how to use the TIM peripheral to measure 7 x x the frequency of an external signal This example shows how to configure the TIM peripheral in TIM OCActive Output Compare Active mode when the counter matches the E x x capture compare register the concerned output pin is set to its active state This example shows how to configure the TIM peripheral in TIM_OCInactive Output Compare Inactive mode with the corresponding X Interrupt requests for each channel This example shows how to configure the TIM peripheral to TIM_OCToggle generate four different signals with four different frequencies X x This example shows how to use the TIM peripheral to generate TIM_OnePulse a One pulse mode after a Rising edge of an exter
9. AT file system module in order to develop an application exploiting FatFs offered features with RAM disk SDRAM drive in RTOS mode configuration s jdwex 49qnOZEWLS LeZyNV z A8Y GEN8ZOdI90d YZS h Table 1 STM32CubeF7 firmware examples continued Level Applications Module Name FatFs Project Name FatFs_USBDisk Description This application provides a description on how to use STM32Cube firmware with FatFs middleware component as a generic FAT file system module and STM32 USB On The Go OTG host library in High Speed HS modes configured in FS in order to develop an application exploiting FatFs offered features with USB disk drive configuration STM32746G Discovery STM32F746ZG Nucleo STM32756G EVAL FatFs_ USBDisk_MultipleAccess_ RTOS This application provides a description on how to use STM32Cube firmware with FatFs middleware component as a generic FAT file system module FreeRTOS as an RTOS module based on using CMSIS OS wrapping layer common APIs and also STM32 USB On The Go OTG host library in Full Speed FS High Speed HS and High Speed in Full Speed HS IN FS modes in order to develop an application exploiting FatFs offered features with USB disk drive in RTOS mode configuration FatFs_USBDisk RTOS This application provides a description on how to use STM32Cube firmware with FatFs middleware component as a generic FAT file system mod
10. D peripheral in Memory_to_Memory with blending transfer mode DMA2D_MemToMemWithLCD This example provides a description of how to configure DMAZ2D peripheral in Memory_to_Memory transfer mode and display the result on LCD LeZVNV s jdwex 49qnOZEWLS ve g z A8Y GEN8ZOdI90d Table 1 STM32CubeF7 firmware examples continued Level Examples Module Name DMA2D Project Name DMA2D_MemToMemWithPFC Description This example provides a description of how to configure DMA2D peripheral for transfer in Memory_to_Memory with Pixel Format Conversion PFC mode STM32746G Discovery STM32F746ZG Nucleo STM32756G EVAL DMA2D_MemoryToMemory This example provides a description of how to configure DMAZ2D peripheral in Memory_to_Memory transfer mode DMA2D_RegToMemWithLCD This example provides a description of how to configure DMA2D peripheral in Register_to_ Memory transfer mode and display the result on LCD FLASH FLASH_EraseProgram This application describes how to configure and use the FLASH HAL API to erase and program the internal FLASH memory FLASH_WriteProtection This example guides the user through the different configuration steps by means of the HAL API how to enable and disable the write protection for the internal FLASH memory integrated within STM32F7xx devices mounted on STM327x6G EVAL board revB FMC FMC_NOR This examp
11. F7 firmware examples adding the list of examples provided with STM32F746ZG Nucleo board 26 Nov 2015 2 3 DocID028035 Rev 2 23 24 AN4731 IMPORTANT NOTICE PLEASE READ CAREFULLY STMicroelectronics NV and its subsidiaries ST reserve the right to make changes corrections enhancements modifications and improvements to ST products and or to this document at any time without notice Purchasers should obtain the latest relevant information on ST products before placing orders ST products are sold pursuant to ST s terms and conditions of sale in place at the time of order acknowledgement Purchasers are solely responsible for the choice selection and use of ST products and ST assumes no liability for application assistance or the design of Purchasers products No license express or implied to any intellectual property right is granted by ST herein Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product ST and the ST logo are trademarks of ST All other product or service names are the property of their respective owners Information in this document supersedes and replaces information previously supplied in any prior versions of this document 2015 STMicroelectronics All rights reserved 3 24 24 DocID028035 Rev 2
12. IS RTOS API This application creates two threads FreeRTOS_Mail This directory contains a set of source files that implement an example that uses mail queues with CMSIS RTOS API This example creates two threads that send and receive mail The mail to send receive is a structure that holds three variables var1 and var2 are uint32 var3 is a uint8 One thread acts as a producer and the other as the consumer FreeRTOS_Mutexes This directory contains a set of source files that implement an application that uses mutexes with CMSIS RTOS API This application creates three threads with different priorities and access the same mutex MutexHighPriorityThread has the highest priority so executes first and grabs the mutex and sleeps for a short period to let the lower priority threads execute When it has completed its demo functionality it gives the mutex back before suspending itself FreeRTOS_Queues This directory contains a set of source files that implement an application that uses message queues with CMSIS RTOS API This application creates two threads that send and receive an incrementing number to from a queue FreeRTOS_Semaphore This directory contains a set of source files that implement an application that uses semaphores with CMSIS RTOS API This application creates two threads that toggle LEDs through a shared semaphore FreeRTOS_SemaphoreFromlSR This directory contains a set of source files that implement
13. Library package using STM32Cube firmware It describes how to use USB host application based on the Audio OUT class on the STM32F7xx devices STM32746G Discovery STM32F746ZG Nucleo STM32756G EVAL CDC_Standalone This application is a part of the USB Host Library package using STM32Cube firmware It describes how to use USB host application based on the Communication Class CDC on the STM32F7xx devices DualCore_Standalone This application is a part of the USB Host Library package using STM32Cube firmware It describes how to use USB host application based on the STM32F7x6 multi core support feature integrating Mass Storage MSC and Human Interface HID in the same project DynamicSwitch_Standalone This application is a part of the USB Host Library package using STM32Cube firmware It describes how to use dynamically switch on the same port between available USB host applications on the STM32F 7x6 devices FWupgrade_ Standalone This application is a part of the USB Host Library package using STM32Cube firmware It describes how to use USB host application based on the In Application programming IAP on the STM32F7x6 devices HID_RTOS This application is a part of the USB Host Library package using STM32Cube firmware It describes how to use USB host application based on the Human Interface Class HID on the STM32F7x6 devices LeZVNV s jdwex 49qnOZEWLS ve
14. M32Cube firmware It describes how to use USB device application based on the Custom HID Class on the STM32F7xx devices DFU_Standalone This application is a part of the USB Device Library package using STM32Cube firmware It describes how to use USB device application based on the Device Firmware Upgrade DFU on the STM32F746ZG devices DualCore_Standalone This application is a part of the USB Device Library package using STM32Cube firmware It describes how to use USB device application based on the STM32F7x6 multi core support feature integrating the Device Communication Class CDC and Human Interface HID in the same project HID_LPM_Standalone The STM32F7x6 devices support the USB Link Power Management Protocol LPM L1 and complies with the USB 2 0 LPM L1 ECN The hpcd Init lpm_enable in the usbd_conf c should be set to 1 to enable the support for LPM L1 protocol in the USB stack HID_Standalone This application shows how to use the USB device application based on the Humain Interface HID MSC_Standalone This application shows how to use the USB device application based on the Mass Storage Class MSC s jdwex 49qnOZEWLS LeZyNV z A8Y GEN8ZOCI90d valle Table 1 STM32CubeF7 firmware examples continued Level Applications Module Name USB_ Host Project Name AUDIO_ Standalone Description This application is a part of the USB Host
15. RGB888 24 bits pixel on LCD using only one layer LTDC_Display_2Layers This example describes how to configure the LTDC peripheral x z x to display two layers at the same time s jdwex 49qnOZEWLS LeZyNV z A8Y GEN8ZOdI90d vc 6 Table 1 STM32CubeF7 firmware examples continued Level Examples Module Name PWR Project Name PWR_CurrentConsumption Description This example shows how to configure the STM32F7xx system to measure different Low power mode current consumption The Low power modes are Sleep mode Stop mode with RTC Standby mode without RTC and BKPSRAM Standby mode with RTC Standby mode with RTC and BKPSRAM To run this example the user has to follow the following steps 1 Select the Low power modes to be measured by uncommenting the corresponding line inside the stm32f7xx_lp_modes h file STM32746G Discovery STM32F746ZG Nucleo STM32756G EVAL PWR_STANDBY This example shows how to enter the system to Standby mode and wake up from this mode using external RESET RTC Alarm A or WKUP pin PWR_STOP This example shows how to enter the system to Stop mode and wake up from this mode using RTC Wakeup Timer Event connected to EXTI_Line22 or by pressing Tamper pushbutton connected to EXTI15_10 QSPI QSPI_ExecutelnPlace This example describes how to configure and use QPSI through the STM32F7xx HAL API QSPI_MemoryMapped Thi
16. RTC_TimeStamp This example guides the user through the different configuration steps by means of the HAL API to ensure Time Stamp configuration using the RTC peripheral SAI SAI_Audio This example provides basic implementation of audio features using BSP_AUDIO SAI_AudioPlay This example shows how to play an audio file using the DMA circular mode and how to handle the buffer update SPI SPI_FullDuplex_ComDMA This example shows how to perform SPI data buffer transmission reception between two boards via DMA SPI_FullDuplex_ComIT This example shows how to ensure SPI data buffer transmission reception between two boards by using an interrupt SPI_FullDuplex_ComPolling This example shows how to ensure SPI data buffer transmission reception in Polling mode between two boards TIM TIM_6Steps This example shows how to configure the TIM1 peripheral to generate 6 Steps TIM_7PWMOutput This example shows how to configure the TIM1 peripheral to generate 7 PWM signals with 4 different duty cycles 50 37 5 25 and 12 5 TIM_CascadeSynchro This example shows how to synchronize TIM2 and Timers TIM3 and TIM4 in cascade mode s jdwex 49qnOZEWLS LeZyNV z A8Y GEN8ZOCI90d vel Table 1 STM32CubeF7 firmware examples continued Level Examples Module Name TIM Project Name HascHation STM32
17. TM32CubeF7 firmware examples continued velvl Level Applications z A8Y GEN8ZOCI90d Module Name Display Project Name LTDC_AnimatedPictureFromSDCa rd Description This application describes how to display an animated picture on LCD saved under microSD STM32746G Discovery STM32F746ZG Nucleo STM32756G EVAL X LTDC_Paint This application describes how to configure LCD touch screen and attributes an action related to configured touch zone and how to save BMP picture in USB Disk LTDC_PicturesFromSDCard This application describes how to display pictures on LCD saved under SD card EEPROM EEPROM_Emulation This application shows how to emulate EEPROM on internal Flash memory FatFs FatFs_MultiDrives This application provides a description on how to use STM32Cube firmware with FatFs middleware component as a generic FAT file system module in order to develop an application exploiting FatFs offered features with multidrives RAMDisk uSD configuration FatFs_RAMDisk This example provides a description on how to use STM32Cube firmware with FatFs middleware component as a generic FAT file system module in order to develop an application exploiting FatFs offered features with RAM disk SDRAM drive configuration FatFs_RAMDisk_RTOS This application provides a description on how to use STM32Cube firmware with FatFs middleware component as a generic F
18. ation is done with a web browser application in a remote PC STM32746G Discovery STM32F746ZG Nucleo STM32756G EVAL LwIP_IAP This application guides STM32Cube HAL API users to run In Application Programming IAP over Ethernet LwIP_TCP_Echo_Client This application guides STM32Cube HAL API users to run TCP Echo Client application based on Raw API of LwIP TCP IP stack To run this application on the remote PC open a command prompt window LwIP_TCP_Echo_Server This application guides STM32Cube HAL API users to run TCP Echo Server application based on Raw API of LwIP TCP IP stack To run this application on the remote PC open a command prompt window LwIP_TFTP_Server This application guides STM32Cube HAL API users to run a tftp server application for STM32F7xx devices LwIP_UDPTCP_Echo_Server_Net conn_RTOS This application guides STM32Cube HAL API users to runa UDP TCP Echo Server application based on Netconn API of LwIP TCP IP stack To run this application on the remote PC open a command prompt window LwIP_UDP_Echo_ Client This application guides STM32Cube HAL API users to run a UDP Echo Client application based on Raw API of LwIP TCP IP stack To run this application on the remote PC open a command prompt window LwIP_UDP_Echo_Server This application guides STM32Cube HAL API users to run UDP Echo Server application based on Raw API of LwIP TCP IP stack To run this a
19. 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 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 pushbuttons 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 STM32CubeF7 firmware package DoclD028035 Rev 2 ky z A8Y GEN8ZOdI90d vele Table 1 STM32CubeF7 firmware examples Level Module Project Nam Description STM32746G STM32F746ZG STM32756G Name J P Discovery Nucleo EVAL This directory provides a reference template project that can be used to build any firmware application for Starter project STM
20. e 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 e 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 e Demonstrations the demonstrations aim to integrate and run the maximum number of peripherals and middleware stacks to showcase the product features and performance e 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 e Inc folder containing all header files e Src folder containing the sources code e EWARM MDK ARM and SW4STM32 folders containing the preconfigured project for each toolchain e readme txt file
21. er through the different configuration steps by means of the HAL API to ensure UART Data buffer transmission and reception with interrupt UART_Printf This example shows how to reroute the C library printf function to the UART It outputs a message sent by the UART on the HyperTerminal UART_TwoBoards_ComDMA This example describes a UART transmission transmit receive in DMA mode between two boards UART_TwoBoards_ComlIT This example describes a UART transmission transmit receive in interrupt mode between two boards UART_TwoBoards_ComPolling This example describes a UART transmission transmit receive in polling mode between two boards WWDG WWDG_Example This example guides the user through the different configuration steps by means of the HAL API to perform periodic WWDG counter update and simulate a software fault that generates an MCU WWDG reset when a predefined time period has elapsed Total number of examples 143 28 25 90 s jdwex 49qnOZEWLS LeZyNV z A8Y GEN8ZOCI90d veel Table 1 STM32CubeF7 firmware examples continued Level Demonstration Module Name Project Name Demo Description The provided demonstration firmware based on STM32Cube helps the user to discover STM32 Cortex M devices that can be plugged on a NUCLEO F746ZG board STM32746G Discovery STM32F746ZG Nucleo STM32756G EVAL Total number o
22. f demonstration 1 Demonstrations 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 Total num ber of demonstrations 2 Applications Audio Audio_playback_and_record This application shows how to use the different functionalities of audio device and ST MEMS microphones MP45DT02 three different menus are available To switch between them use the joystick button Explorer Audio File menu Start Audio Player menu and Start Audio Recorder menu Camera Camera_To_USBDisk This application provides a short description of how to use the DCMI to interface with the camera module and display in continuous mode the picture on LCD and to save a picture in USB device LeZVNV s jdwex 7 49qnOZEWLS Table 1 S
23. ion with the CAN in loopback mode 5 X CAN This example shows how to configure the CAN peripheral to CAN _Networking send and receive CAN frames in normal mode The sent 7 x frames are used to control LEDs by pressing Tamper pushbutton LeZVNV s jdwex 7 49qnOZEWLS velv z A8Y GEN8ZOdI90d Table 1 STM32CubeF7 firmware examples continued Level Examples Module Name CEC Project Name CEC_DataExchange Description This example shows how to configure and use the CEC peripheral to receive and transmit messages STM32746G Discovery X STM32F746ZG Nucleo STM32756G EVAL X CRC CRC_Example This example guides you 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 CRC_UserDefinedPolynomial This example guides the user through the different configuration steps by means of the HAL API to ensure the use of the CRC Cyclic Redundancy Check calculation unit to get a CRC code of a given buffer of data word 32 bit based on a user defined generator polynomial In this example the polynomial is set manually to 0x9B CRYP CRYP_AESModes This example provides a short description of how to use the CRYPTO peripheral to encrypt and decrypt data using AES in chaining modes
24. le guides the user through the different configuration steps by means of the HAL API to configure the FMC controller to access the PC28F128M29EWLA NOR memory mounted on STM327x6G EVAL revB evaluation board FMC_SDRAM This example guides the user through the different configuration steps by means of the HAL API to configure the FMC controller to access the IS42S32800G SDRAM memory mounted on STM327x6G EVAL revB evaluation board FMC_SDRAM_DataMemory This example guides the user through the different configuration steps by means of the HAL API to configure the FMC controller to access the IS42S32800G SDRAM memory mounted on STM327x6G EVAL revB evaluation board including heap and stack s jdwex 49qnOZEWLS LeZyNV z A8Y GEN8ZOdI90d veil Table 1 STM32CubeF7 firmware examples continued Level Examples Module Name FMC Project Name FMC_SDRAM_LowPower Description This example guides the user through the different configuration steps by means of the HAL API to configure the FMC controller to access the IS42S32800G SDRAM memory mounted on STM327x6G EVAL revB evaluation board in low power mode SDRAM Self Refresh mode STM32746G Discovery STM32F746ZG Nucleo STM32756G EVAL FMC_SDRAM_MemRemap This example guides the user through the different configuration steps to use the 1S42S32800G SDRAM memory mounted on STM327x6G EVAL revB evaluation board
25. lec z A8Y GEN8ZOCI90d Table 1 STM32CubeF7 firmware examples continued Level Applications Module Name USB_ Host Project Name HID_Standalone Description This application is a part of the USB Host Library package using STM32Cube firmware It describes how to use USB host application based on the Human Interface Class HID on the STM32F746ZG devices STM32746G Discovery STM32F746ZG Nucleo STM32756G EVAL MSC_RTOS This application is a part of the USB Host Library package using STM32Cube firmware It describes how to use USB host application based on the Mass Storage Class MSC on the STM32F7x6 devices in RTOS mode configuration MSC_Standalone This application is a part of the USB Host Library package using STM32Cube firmware It describes how to use USB host application based on the Mass Storage Class MSC on the STM32F746ZG device MTP_Standalone This application is a part of the USB Host Library package using STM32Cube firmware It describes how to use USB host application based on the Media Transfer Protocol MTP on the STM32F7x6 devices Total number of applications 94 25 61 Total number of projects 243 55 35 153 s jdwex 49qnOZEWLS LeZyNV AN4731 Revision history 1 Revision history Table 2 Document revision history Date Revision Changes 07 Jul 2015 1 Initial release Updated Table 1 STM32Cube
26. nal signal is x X received in Timer Input pin TIM_PWMinput This example shows how to use the TIM peripheral to measure x x the frequency and duty cycle of an external signal This example shows how to configure the TIM peripheral in 7 TIMLPWMOutput PWM Pulse Width Modulation mode X x TIM_ParallelSynchro This example shows how to synchronize TIM2 and timers x TIM3 and TIM4 in parallel mode LeZVNV s jdwex 7 49qnOZEWLS velel z A8Y GEN8ZOdI90d Table 1 STM32CubeF7 firmware examples continued Level Examples Module Name TIM Project Name TIM_PrescalerSelection Description This example shows how to configure the TIM peripheral in PWM Pulse Width Modulation mode with clock prescaler selection feature activated using __HAL_RCC_TIMCLKPRESCALER which allow to double the output frequency STM32746G Discovery STM32F746ZG Nucleo STM32756G EVAL TIM_Synchronization This example shows how to synchronize TIM1 and Timers TIM3 and TIM4 in parallel mode TIM_TimeBase This example shows how to configure the TIM peripheral to generate a time base of one second with the corresponding Interrupt request UART UART_HyperTerminal_ DMA This example guides the user through the different configuration steps by means of the HAL API to ensure UART Data buffer transmission and reception with DMA UART_HyperTerminal_IT This example guides the us
27. pplication on the remote PC open a command prompt window s jdwex 49qnOZEWLS LeZyNV z A8Y GEN8ZOCI90d vc el Table 1 STM32CubeF7 firmware examples continued Level Applications Module Name PolarSSL Project Name SSL_Client Description This application guides STM32Cube HAL API users to run an SSL client application based on PolarSSL crypto library and LwIP TCP IP stack To off load the CPU from encryption decryption hash and RNG all these algorithms are implemented using the hardware acceleration AES 128 192 256 Triple DES MD5 SHA 1 and analog RNG through the STM32Cube HAL APIs In this application the client STM32756G EVAL sends a crypted message to the server test PC which will decrypt the message then reply to the client STM32746G Discovery STM32F746ZG Nucleo STM32756G EVAL SSL_Server This application guides STM32Cube HAL API users to run an SSL Server application based on PolarSSL crypto library and LwIP TCP IP stack To off load the CPU from encryption decryption hash and RNG all these algorithms are implemented using the hardware acceleration AES 128 192 256 Triple DES MD5 SHA 1 SHA2 2 and analog RNG through the STM32Cube HAL APIs The HTTP server STM32756G EVAL contains a html page dynamically refreshed every 1 s it shows the RTOS statistics in runtime The HyperTerminal can be used to debug messages exchanged between the client and
28. rivilege access and stack CORTEXM_SysTick This example shows how to use the default SysTick configuration with a 1 ms time base to toggle LEDs DAC DAC_SignalsGeneration This example provides a description of how to use the DAC peripheral to generate several signals using DMA controller DAC_SimpleConversion This example provides a short description of how to use the DAC peripheral to perform a simple conversion of the OxFF value in 8 bit right alignment mode The result of the conversion can be obtained by connecting PA4 DAC channel1 to an oscilloscope DCMI DCMI_CaptureMode This example provides a short description of how to use the DCMI to interface with a camera module and to display in continuous mode the picture on the LCD DCMI_SnapshotMode This example provides a short description of how to use the DCMI to interface with a camera module and to display in snapshot mode the picture on the LCD DMA DMA_FIFOMode This example provides a description of how to use a DMA stream to transfer a word data buffer from the Flash memory to embedded SRAM memory with FIFO mode enabled through the STM32F7xx HAL API DMA_FLASHToRAM This example provides a description of how to use a DMA stream to transfer a word data buffer from the Flash memory to embedded SRAM memory through the HAL API DMA2D DMA2D_MemToMemWithBlending This example provides a description of how to configure DMAZ2
29. s example describes how to configure and use QPSI through the STM32F7xx HAL API QSPI_ReadWrite_DMA This example describes how to configure and use QPSI through the STM32F7xx HAL API QSPI_ReadWrite_IT This example describes how to configure and use QPSI through the STM32F7xx HAL API RCC RCC_ClockConfig This example describes how to use the RCC HAL API to configure the system clock SYSCLK and modify the clock settings in run mode RNG RNG_MultiRNG This example guides the user through the different configuration steps by means of the HAL API to ensure RNG random 32 bit number generation LeZVNV s jdwex 7 48qnOZEWLS vc OL z A8Y GEN8ZOdI90d Table 1 STM32CubeF7 firmware examples continued Level Examples Module Name RTC Project Name RTC_Alarm Description This example guides the user through the different configuration steps by means of the HAL API to configure and generate an RTC alarm STM32746G Discovery STM32F746ZG Nucleo STM32756G EVAL RTC_Calendar This example guides the user through the different configuration steps by means of the HAL API to ensure Calendar configuration using the RTC peripheral RTC_Tamper This example guides the user through the different configuration steps by means of the RTC HAL API to write read data to from RTC Backup registers and demonstrate the Tamper detection feature
30. server QSPI QSPI_perfs This application describes how to display pictures stored on QSPI flash memory on LCD and measures data transfer performance between QSPI Flash and SDRAM memory STemWin STemWin_HelloWorld This directory contains a set of source files that implement a simple Hello World application based on STemWin for STM32F7x6 devices STemWin_SampleDemo This directory contains a set of source files that implement a sample demonstration application allowing to show some of the STemWin Library capabilities on STM32F7x6 devices LeZVNV s jdwex 7 49qnOZEWLS LATA z A8Y 9E08Z0AI90q Table 1 STM32CubeF7 firmware examples continued Level Applications Module Name USB_ Device Project Name AUDIO_Standalone Description This application is a part of the USB Device Library package using STM32Cube firmware It describes how to use USB device application based on the AUDIO Class implementation of an audio streaming Out Speaker Headset capability on the STM32F7xx devices STM32746G Discovery STM32F746ZG Nucleo STM32756G EVAL CDC_Standalone This application shows how to use the USB device application based on the Device Communication Class CDC compliant with the PSTN subprotocol The USB Device and UART peripherals are used CustomHID_ Standalone This application is a part of the USB Device Library package using ST
31. ule FreeRTOS as an RTOS module based on using CMSIS OS wrapping layer common APIs and also STM32 USB On The Go OTG host library in Full Speed FS High Speed HS and High Speed in Full Speed HS IN FS modes in order to develop an application exploiting FatFs offered features with USB disk drive in RTOS mode configuration FatFs_uSD This example provides a description on how to use STM32Cube firmware with FatFs middleware component as a generic FAT file system module The objective is to develop an application making the most of the features offered by FatFs to configure a microSD drive FatFs_uSD_RTOS This application provides a description on how to use STM32Cube firmware with FatFs middleware component as a generic FAT file system module in order to develop an application exploiting FatFs offered features with microSD drive in RTOS mode configuration LeZVNV s jdwex 7 49qnOZENWLS ZAR z A8Y GEN8ZOdI90d Table 1 STM32CubeF7 firmware examples continued Level Applications Module Name Free RTOS Project Name FreeRTOS_DelayUntil Description This directory contains a set of source files that implement thread delaying using osDelayUntil function STM32746G Discovery X STM32F746ZG Nucleo STM32756G EVAL X FreeRTOS_LowPower This directory contains a set of source files that implement an application that uses message queues with CMS

Download Pdf Manuals

image

Related Search

Related Contents

Inhalt R47S - Operator`s Manual  KOHLER K-2381-8-0 Installation Guide  Operating Instructions Troubleshooting Tips  De la naissance à l`âge adulte : découvrez nos nombreux avantages  Instructions d`Emploi et Entretien    35073_new_old_MINI ALFA -D_ver1_multi.indd  importante  携帯用拡散式 酸素・硫化水素  

Copyright © All rights reserved.
Failed to retrieve file