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

X  

AN3422 数据表(PDF) 23 Page - STMicroelectronics

部件名 AN3422
功能描述  Migration of microcontroller applications from STM32F1 to STM32L1 series
PDF  52 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN3422 数据表(HTML) 23 Page - STMicroelectronics

Back Button AN3422 Datasheet HTML 19Page - STMicroelectronics AN3422 Datasheet HTML 20Page - STMicroelectronics AN3422 Datasheet HTML 21Page - STMicroelectronics AN3422 Datasheet HTML 22Page - STMicroelectronics AN3422 Datasheet HTML 23Page - STMicroelectronics AN3422 Datasheet HTML 24Page - STMicroelectronics AN3422 Datasheet HTML 25Page - STMicroelectronics AN3422 Datasheet HTML 26Page - STMicroelectronics AN3422 Datasheet HTML 27Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 23 / 52 page
background image
AN3422
Peripheral migration
Doc ID 018976 Rev 2
23/52
3.
Peripheral access configuration: since the address mapping of some peripherals has
been changed in L1 series vs. F1 series, you need to use different registers to
[enable/disable] or [enter/exit] the peripheral [clock] or [from reset mode].
To configure the access to a given peripheral you have first to know to which bus this
peripheral is connected, refer to Table 4 on page 15, then depending on the action needed
you have to program the right register as described in Table 8 above. For example, USART1
is connected to APB2 bus, to enable the USART1 clock you have to configure 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;
4.
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)
USB: The USB 48 MHz clock is derived from the PLL VCO clock which should be
at 96MHz
b)
SIDO: The SDIO clock (SDIOCLK) is derived from the PLL VCO clock and is equal
to PLLVCO / 2
c)
LCD: The LCD Glass clock shares the same clock source as the RTC
d)
ADC: in STM32L1 series the ADC features two clock schemes:
Clock for the analog circuitry: ADCCLK. This clock is always the HSI oscillator
clock. A divider by 1, 2 or 4 allows to adapt the clock frequency to the device
operating conditions. This configuration is done using ADC_CCR[ADCPRE] bits.
The ADC Clock depends also on the voltage range VCORE. When product voltage
Table 8.
RCC registers used for peripheral access configuration
Bus
Register
Comments
AHB
RCC_AHBRSTR
Used to [enter/exit] the AHB peripheral from reset
RCC_AHBENR
Used to [enable/disable] the AHB peripheral clock
RCC_AHBLPENR
Used to [enable/disable] the AHB 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


链接网址



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