Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Mexican  ▼
ALLDATASHEET.COM.MX

X  

STM32U545CEU6 Datasheet(PDF) 20 Page - STMicroelectronics

No. de pieza STM32U545CEU6
Descripción Electrónicos  Getting started with STM32CubeU5 for STM32U5 series
PDF  30 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  STMICROELECTRONICS [STMicroelectronics]
Página de inicio  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STM32U545CEU6 Datasheet(HTML) 20 Page - STMicroelectronics

Back Button STM32U545CEU6 Datasheet HTML 16Page - STMicroelectronics STM32U545CEU6 Datasheet HTML 17Page - STMicroelectronics STM32U545CEU6 Datasheet HTML 18Page - STMicroelectronics STM32U545CEU6 Datasheet HTML 19Page - STMicroelectronics STM32U545CEU6 Datasheet HTML 20Page - STMicroelectronics STM32U545CEU6 Datasheet HTML 21Page - STMicroelectronics STM32U545CEU6 Datasheet HTML 22Page - STMicroelectronics STM32U545CEU6 Datasheet HTML 23Page - STMicroelectronics STM32U545CEU6 Datasheet HTML 24Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 20 / 30 page
background image
5. Configure the system clock
The system clock configuration is done by calling the two APIs described below:
HAL_RCC_OscConfig(): this API configures the internal and/or external oscillators, as well as the PLL
source and factors. The user chooses to configure one or all oscillators. They can skip the PLL
configuration if there is no need to run the system at high frequency.
HAL_RCC_ClockConfig(): this API configures the system clock source, the flash memory latency, the
AHB prescalers, and the APB prescalers.
Initialize the peripheral
a. Write the peripheral HAL_PPP_MspInit function. Proceed as follows:
i. Enable the peripheral clock.
ii. Configure the peripheral GPIOs.
iii. Configure the DMA channel and enable DMA interrupt (if needed).
iv. Enable peripheral interrupt (if needed).
b. Edit stm32xxx_it.c to call the required interrupt handlers (peripheral and DMA), if needed.
c. Write the process complete callback functions if peripheral interrupt or DMA is going to be used.
d. In main.c, initialize the peripheral handle structure, then call the HAL_PPP_Init() function to initialize
the peripheral.
6. Develop an application
At this stage, the system is ready and the user application code development can start.
a. The HAL provides intuitive and ready-to-use APIs to configure the peripheral. It supports polling, interrupts,
and a DMA programming model, to accommodate any application requirements. For more details on how
to use each peripheral, refer to the rich example set provided in the STM32CubeU5 MCU package.
Caution:
In the default HAL implementation, a SysTick timer is used as timebase; it generates interrupts at regular time
intervals. If HAL_Delay() is called from the peripheral ISR process, make sure that the SysTick interrupt has a
higher priority (numerically lower) than the peripheral interrupt. Otherwise, the caller ISR process is blocked.
Functions affecting timebase configurations are declared as __weak to make an override possible in case of
other implementations in the user file (using a general purpose timer or other time source). For more details,
refer to the HAL_TimeBase example.
UM2883
Getting started with STM32CubeU5
UM2883 - Rev 4
page 20/30



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 30


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
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