| 전자부품 데이터시트 검색엔진 |
|
AN4228 데이터시트(PDF) 37 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4228 데이터시트(HTML) 37 Page - STMicroelectronics |
|
37 / 90 page ![]() DocID024110 Rev 5 37/90 AN4228 Firmware migration using the library 89 used to configure the microcontroller system at start-up and before branching to the main() program. Note: For STM32F3xx, you can use the clock configuration tool, STM32F3xx_Clock_Configuration.xls, to generate a customized SystemInit() function depending on your application requirements. For more information, refer to AN4152 “Clock configuration tool for STM32F30xx microcontrollers” and to AN4132 Clock configuration tool for STM32F37xx microcontrollers”. 4.2.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 the peripheral clock or enter/exit from reset mode. As an example, GPIOA is mapped on AHB bus on STM32F3 series (APB2 bus on STM32F1 series). To enable its clock in the STM32F1 series, use _AHBPeriphClockCmd(_AHBPeriph_GPIOA, ENABLE) instead of: _APB2PeriphClockCmd(_APB2Periph_GPIOA, ENABLE); Refer to Table 8 for the peripheral bus mapping changes between STM32F3 and STM32F1 series. 4.2.3 Peripheral clock configuration Some STM32F3xx peripherals support dual clock features. The table below summarizes the clock sources for these IPs in comparison with STM32F10x peripherals. Table 19. STM32F10x and STM32F3xx clock source API correspondence Peripherals Source clock in STM32F10x Source clock in STM32F3xx 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 I2C can be clocked with: – System clock –HSI SPI/I2S System clock – APB clock – External clock for I2S clock source(1) 1. It is applicable only for STM32F30xx devices. USART – USART1 can be clocked by PCLK2 (72 MHz Max) – Other USARTs can be clocked by PCLK1 (36 MHz Max) USART can be clocked with: – system clock – LSE clock – HSI clock – APB clock (PCLK) |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |