| поискавой системы для электроныых деталей |
|
AN4088 датащи(PDF) 41 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4088 датащи(HTML) 41 Page - STMicroelectronics |
|
41 / 71 page ![]() DocID023072 Rev 3 41/71 AN4088 Firmware migration using the library 70 used to configure the microcontroller system at start-up and before branching to the main() program. Note: For STM32F0xx, you can use the clock configuration tool, STM32F0xx_Clock_Configuration.xls, to generate a customized SystemInit() function depending on your application requirements. For more information, refer to AN4055 “Clock configuration tool for STM32F0xx microcontrollers”. 2. Peripheral access configuration: as presented in section 3.4: Reset and clock controller (RCC) interface, you need to call different functions to [enable/disable] or [enter/exit] the peripheral [clock] or [from reset mode]. For example, GPIOA is mapped on AHB bus on STM32F0 series (APB2 bus on STM32F1 series). To enable its clock, you have to use the RCC_AHBPeriphClockCmd(RCC_AHBPeriph_GPIOA, ENABLE); function instead of: RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA, ENABLE); in the STM32F1 series. Refer to Table 8 for the peripheral bus mapping changes between STM32F0 and STM32F1 series. 3. Peripheral clock configuration Some STM32F0xx peripherals support dual clock features. The table below summarizes the clock sources for those IPs in comparison with STM32F10xx peripherals. Table 20. STM32F10x and STM32F0xx source clock API correspondence Peripherals Source clock in STM32F10xx device Source clock in STM32F0xx device ADC APB2 clock with prescaler – HSI14: by default – APB2 clock/2 – APB2 clock/4 CEC APB1 clock with prescaler HSI/244: by default LSE APB clock: Clock for the digital interface (used for register read/write access). This clock is equal to the APB2 clock. I2C APB1 clock I2C1can be clocked with: – System clock –HSI I2C2 can be only clocked with: –HSI SPI/I2S System clock System clock USART USART1 can be clocked with – PCLK2 (72 MHz Max) Other USARTs can be clocked with – PCLK1 (36 MHz Max) USART1, USART2 and USART3 can be clocked with: – system clock – LSE clock – HSI clock – APB clock (PCLK) For STM32F051 devices, USART2 can be only clocked with system clock |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| 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 |