| Electronic Components Datasheet Search |
|
STM32U545CEU6 Datasheet(PDF) 18 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STM32U545CEU6 Datasheet(HTML) 18 Page - STMicroelectronics |
|
18 / 30 page ![]() • STM32CubeIDE 1. Open the STM32CubeIDE toolchain 2. Click file → switch workspace → other and browse to the STM32CubeIDE workspace directory 3. Click file → import, select General → existing projects into workspace and then click next 4. Browse to the STM32CubeIDE workspace directory and select the project 5. Rebuild all project files: select the project in the project explorer window then click the project → build project menu 6. Run program: Run → Debug (F11) 5.2 Developing a custom application Note: The instruction cache (ICACHE) must be enabled by software to get a zero wait-state execution from flash memory and external memories. It also reaches the maximum performance and a better power consumption. Note: The data cache (DCACHE) introduced on an S-AHB system bus of Cortex®-M33 processor to improve the performance of data traffic to/from external memories, must be enabled when using external memories. 5.2.1 Using STM32CubeMX to develop or update an application In the STM32CubeU5 MCU package, nearly all example projects are generated with the STM32CubeMX tool to initialize the system, peripherals, and middleware. The direct use of an existing example project from the STM32CubeMX tool requires STM32CubeMX 6.3.0 or higher: • After the installation of STM32CubeMX, open and if necessary update a proposed project. The simplest way to open an existing project is to double-click on the *.ioc file so that STM32CubeMX automatically opens the project and its source files. • The initialization source code of such projects is generated by STM32CubeMX; the main application source code is contained by the comments “USER CODE BEGIN” and “USER CODE END”. In case the IP selection and setting are modified, STM32CubeMX updates the initialization part of the code but preserves the main application source code. For developing a custom project in the STM32CubeMX, follow the step-by-step process: 1. Select the STM32 microcontroller that matches the required set of peripherals. 2. Configure all the required embedded software using a pinout-conflict solver, a clock-tree setting helper, a power consumption calculator, and the utility performing MCU peripheral configuration (such as GPIO or USART) and middleware stacks (such as USB). 3. Generate the initialization C code based on the selected configuration. This code is ready to use within several development environments. The user code is kept at the next code generation. For more information about STM32CubeMX, refer to the STM32CubeMX for STM32 configuration and initialization C code generation (UM1718). For a list of the available example projects for the STM32CubeU5, refer to the STM32Cube firmware examples for the STM32U5 series application note. 5.2.2 HAL application This section describes the steps required to create a custom HAL application using STM32CubeU5: UM2883 Getting started with STM32CubeU5 UM2883 - Rev 4 page 18/30 |
|
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 |
| 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 |