поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

AN4088 датащи(PDF) 17 Page - STMicroelectronics

номер детали AN4088
подробное описание детали  Migrating between STM32F1 and STM32F0 series microcontrollers
PDF  71 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4088 датащи(HTML) 17 Page - STMicroelectronics

Back Button AN4088 Datasheet HTML 13Page - STMicroelectronics AN4088 Datasheet HTML 14Page - STMicroelectronics AN4088 Datasheet HTML 15Page - STMicroelectronics AN4088 Datasheet HTML 16Page - STMicroelectronics AN4088 Datasheet HTML 17Page - STMicroelectronics AN4088 Datasheet HTML 18Page - STMicroelectronics AN4088 Datasheet HTML 19Page - STMicroelectronics AN4088 Datasheet HTML 20Page - STMicroelectronics AN4088 Datasheet HTML 21Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 17 / 71 page
background image
DocID023072 Rev 3
17/71
AN4088
Peripheral migration
70
2.
Peripheral access configuration: since the address mapping of some peripherals has
been changed in STM32F0 series versus STM32F1 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 8 then, depending on the action needed, program
the right register as described in Table 11 above. For example, if USART1 is connected to
the APB2 bus, to enable the USART1 clock you have to configure APB2ENR register as
follows:
RCC->APB2ENR |= RCC_APB2ENR_USART1EN;
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)
ADC: in STM32F0 series, the ADC features two possible clock sources:
–
The first one is based on the PCLK; a prescaler allows you to reduce the ADC
input frequency by a factor 2 or 4 before getting to the ADC.
–
The other one is a completely new feature on stingray; a dedicated 14 MHz
oscillator (HSI14) is integrated on the chip and can be used for the ADC input
frequency.
b)
RTC: in STM32F0 series, the RTC features three possible clock sources:
–
The first one is based on the HSE Clock; a prescaler divides its frequency by 32
before going to the RTC.
–
The second one is the LSE oscillator.
–
The third clock source is the LSI RC with a value of 40 KHz.
c)
USB: in STM32F0x2 family, the USB may take benefit of different clock sources to
have the necessary 48 MHz:
–
The first source is the sysclk to get for example the PLL associated to a precise
HSE crystal providing an accurate 48 MHz to the peripheral.
–
The second source is the internal HSI48 associated to the CRS peripheral that
allows the HSI48 to be trimmed in run time on a precise reference clock, that is the
start of frame signal, making the USB usable without crystal.
Table 11. 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
APB1
RCC_APB1RSTR
Used to [enter/exit] the APB1 peripheral from reset
RCC_APB1ENR
Used to [enable/disable] the APB1 peripheral clock
APB2
RCC_APB2RSTR
Used to [enter/exit] the APB2 peripheral from reset
RCC_APB2ENR
Used to [enable/disable] the APB2 peripheral clock



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 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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