| 전자부품 데이터시트 검색엔진 |
|
AN4253 데이터시트(PDF) 27 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4253 데이터시트(HTML) 27 Page - STMicroelectronics |
|
27 / 44 page ![]() DocID024255 Rev 2 27/44 AN4253 HW resource initialization Wait for FMPLL0 lock Before FMPLL0 can be used as a system clock it is necessary to wait for the PLL lock event. CR register in the FMPLL0 block contains S_LOCK bit that tells the LOCK status: • 0 = FMPLL unlocked • 1 = FMPLL locked Usual lock time delay is around 200 µs. Code sequence 1. Read FMPLL0 CR register 2. Test s_lock bit 3. If ‘0’ > wait loop to step 1 Enable peripherals needed in the startup There is a set of peripherals that are clock gated (all peripherals having PCTL configuration register inside mode entry module). Each peripheral within this group has to be explicitly configured to run in dedicated mode. This configuration is done via pair of registers, ME_RUN_PC0-7 and ME_PCTLx. ME_RUN_PC[0-7] registers indicate if the peripherals are active and when they are inactive (clock gated). The peripheral clock for a given mode transition must be configured by the user. Figure 13. Peripheral clock gating scheme Default reset state Note: Any change in ME_RUN_PC0 will be used by all peripherals if they are not reconfigured to use another ME_RUN_PCx register. Result can be that all peripherals, even peripherals that are not needed, are enabled if ME_RUN_PC0 is enabled for current device state mode. Good practice is not to use ME_RUN_PC0 register, but to configure one of the ME_RUN_PC[1-7] and configure needed peripherals accordingly. • ME_RUN_PCx No mode selected, no clock enabled to any gated peripheral • PCTLx They point to ME_RUN_PC0 |
|
링크 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 |