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

X  

PM0222 数据表(PDF) 8 Page - STMicroelectronics

部件名 PM0222
功能描述  Brain smart hub family
PDF  33 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

PM0222 数据表(HTML) 8 Page - STMicroelectronics

Back Button PM0222 Datasheet HTML 4Page - STMicroelectronics PM0222 Datasheet HTML 5Page - STMicroelectronics PM0222 Datasheet HTML 6Page - STMicroelectronics PM0222 Datasheet HTML 7Page - STMicroelectronics PM0222 Datasheet HTML 8Page - STMicroelectronics PM0222 Datasheet HTML 9Page - STMicroelectronics PM0222 Datasheet HTML 10Page - STMicroelectronics PM0222 Datasheet HTML 11Page - STMicroelectronics PM0222 Datasheet HTML 12Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 8 / 33 page
background image
Clock configurations
PM0222
8/33
DocID025476 Rev 1
3
Clock configurations
3.1
Peripheral clock gating
Brain provides a functional clock gating for each peripheral through the CRMU register
CCR2. This allows saving power consumption by activating the clock only when a peripheral
is in use. It is the role of the software to deactivate the clock of each peripheral as soon as
the peripheral is not in use. After a reset, all peripheral clocks are disabled. For more details,
see Brain reference manual, CRMU registers chapter, CRMU_CCR2 description.
3.2
CPU clock configuration
Changing the CPU clock also impacts the GPIO, SPI and Timer clocks, thus changing
data/count rates in these peripherals. For more details about clock generation logic, see
Brain reference manual, §5.2.1 - Generic description.
3.2.1
Flash wait states
When changing the CPU clock, the software must also change the Flash wait states
accordingly before the next Flash read access. Wait states and REGISTERED values to
program according to the CPU clock frequency are provided in a table in the Brain reference
manual, Embedded Flash memory chapter, CONFIG register description.
Executing from Flash
When executing from Flash, it is mandatory to adjust the number of wait states before
changing the CPU clock because Cortex-M0 continuously fetches instructions from Flash.
The correct sequence is:
Increase CPU clock frequency:
–
Set a number of wait states allowed for the new clock frequency by writing to the
FLASH.CONFIG register (see Brain reference manual, Embedded Flash memory
chapter, CONFIG register description)
–
Set the new higher clock frequency by writing to the CRMU.CCR0 register
Decrease CPU clock frequency:
–
Set the new lower clock frequency by writing to the CRMU.CCR0 register
–
Set a number of wait states allowed for the new clock frequency by writing to the
FLASH.CONFIG register (see Brain reference manual, Embedded Flash memory
chapter, CONFIG register description)
Executing from RAM
When executing from RAM, no Flash wait state adjustment is necessary when changing the
CPU clock until the software needs to read data from Flash in which case, it must:
–
either go back to a lower clock frequency compatible with the current wait state
configuration (FLASH.CONFIG register)
–
or set a wait state configuration compatible with the current clock frequency



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


数据表 下载

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