データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

AN3427 データシート(PDF) 21 Page - STMicroelectronics

部品番号 AN3427
部品情報  Migrating a microcontroller application from STM32F1 to STM32F2 series
PDF  52 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  STMICROELECTRONICS [STMicroelectronics]
ホームページ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3427 データシート(HTML) 21 Page - STMicroelectronics

Back Button AN3427 Datasheet HTML 17Page - STMicroelectronics AN3427 Datasheet HTML 18Page - STMicroelectronics AN3427 Datasheet HTML 19Page - STMicroelectronics AN3427 Datasheet HTML 20Page - STMicroelectronics AN3427 Datasheet HTML 21Page - STMicroelectronics AN3427 Datasheet HTML 22Page - STMicroelectronics AN3427 Datasheet HTML 23Page - STMicroelectronics AN3427 Datasheet HTML 24Page - STMicroelectronics AN3427 Datasheet HTML 25Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 52 page
background image
AN3427
Peripheral migration
Doc ID 019001 Rev 1
21/52
To configure the access to a given peripheral you have first to know to which bus this
peripheral is connected, refer to Table 3 on page 13, then depending on the action needed
you have to program the right register as described in Table 6. above. For example, USART1
is connected to APB2 bus, to enable the USART1 clock you have to configure the
APB2ENR register as follows:
RCC->APB2ENR |= RCC_APB2ENR_USART1EN;
to disable USART1 clock during Sleep mode (to reduce power consumption) you have to
configure APB2LPENR register as follows:
RCC->APB2LPENR |= RCC_APB2LPENR_USART1LPEN;
3.
Peripheral clock configuration: some peripherals have a dedicated clock source
independent from the system clock, and used to generate the clock required for their
operation::
a)
I2S: in the F2 series the I2S clock can be derived either from a specific PLL
(PLLI2S) or from an external clock mapped on the I2S_CKIN pin:
To use PLLI2S as I2S clock source: set RCC_CFGR[I2SSRC] bit to 1, configure
the PLLI2S parameters (using RCC_PLLI2SCFGR[PLLI2SR] and
RCC_PLLI2SCFGR[PLLI2SN] bits) then enable it (set RCC_CR[PLLI2SON] bit to
Table 6.
RCC registers used for peripheral access configuration
Bus
Register
Comments
AHB1
RCC_AHB1RSTR
Used to [enter/exit] the AHB1peripheral from reset
RCC_AHB1ENR
Used to [enable/disable] the AHB1 peripheral clock
RCC_AHB1LPENR
Used to [enable/disable] the AHB1 peripheral clock in low
power Sleep mode
AHB2
RCC_AHB2RSTR
Used to [enter/exit] the AHB2 peripheral from reset
RCC_AHB2ENR
Used to [enable/disable] the AHB2 peripheral clock
RCC_AHB2LPENR
Used to [enable/disable] the AHB2 peripheral clock in low
power Sleep mode
AHB3
RCC_AHB3RSTR
Used to [enter/exit] the AHB3 peripheral from reset
RCC_AHB3ENR
Used to [enable/disable] the AHB3 peripheral clock
RCC_AHB3LPENR
Used to [enable/disable] the AHB3 peripheral clock in low
power Sleep mode
APB1
RCC_APB1RSTR
Used to [enter/exit] the APB1 peripheral from reset
RCC_APB1ENR
Used to [enable/disable] the APB1 peripheral clock
RCC_APB1LPENR
Used to [enable/disable] the APB1 peripheral clock in low
power Sleep mode
APB2
RCC_APB2RSTR
Used to [enter/exit] the APB2 peripheral from reset
RCC_APB2ENR
Used to [enable/disable] the APB2 peripheral clock
RCC_APB2LPENR
Used to [enable/disable] the APB2 peripheral clock in low
power Sleep mode



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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52


データシート ダウンロード

Go To PDF Page


リンク URL



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