数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

STM32U545CEU6 数据表(PDF) 20 Page - STMicroelectronics

部件名 STM32U545CEU6
功能描述  Getting started with STM32CubeU5 for STM32U5 series
PDF  30 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

STM32U545CEU6 数据表(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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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