Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

PFS172 Datasheet(PDF) 34 Page - PADAUK Technology.

Part # PFS172
Description  8bit MTP Type MCU with 8-bit ADC
PDF  92 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  PADAUK [PADAUK Technology.]
Direct Link  http://www.padauk.com.tw/
Logo PADAUK - PADAUK Technology.

PFS172 Datasheet(HTML) 34 Page - PADAUK Technology.

Back Button PFS172 Datasheet HTML 30Page - PADAUK Technology. PFS172 Datasheet HTML 31Page - PADAUK Technology. PFS172 Datasheet HTML 32Page - PADAUK Technology. PFS172 Datasheet HTML 33Page - PADAUK Technology. PFS172 Datasheet HTML 34Page - PADAUK Technology. PFS172 Datasheet HTML 35Page - PADAUK Technology. PFS172 Datasheet HTML 36Page - PADAUK Technology. PFS172 Datasheet HTML 37Page - PADAUK Technology. PFS172 Datasheet HTML 38Page - PADAUK Technology. Next Button
Zoom Inzoom in Zoom Outzoom out
 34 / 92 page
background image
PFS172
8bit MTP MCU with 8-bit ADC
©Copyright 2020, PADAUK Technology Co. Ltd
Page 34 of 92
PDK-DS-PFS172-EN_V000-May 8, 2020
5.4.6. System Clock Switching
After IHRC calibration, user may want to switch system clock to a new frequency or may switch system clock
at any time to optimize the system performance and power consumption. Basically, the system clock of
PFS172 can be switched among IHRC, ILRC and EOSC by setting the clkmd register at any time; system
clock will be the new one after writing to clkmd register immediately. Please notice that the original clock
module can NOT be turned off at the same time as writing command to clkmd register. The examples are
shown as below and more information about clock switching, please refer to the “Application Note” -> “IC
Introduction” -> “Register Introduction” -> CLKMD”.
Case 1: Switching system clock from ILRC to IHRC/2
…
//
system clock is ILRC
CLKMD.4
=
1;
//
turn on IHRC first to improve anti-interference ability
CLKMD
=
0x34
;
//
switch to IHRC/2, ILRC CAN NOT be disabled here
//
CLKMD.2
=
0
;
//
if need, ILRC CAN be disabled at this time
…
Case 2: Switching system clock from ILRC to EOSC
…
//
system clock is ILRC
CLKMD
=
0xA6
;
//
switch to EOSC, ILRC CAN NOT be disabled here
CLKMD.2
=
0
;
//
ILRC CAN be disabled at this time
…
Case 3: Switching system clock from IHRC/2 to ILRC
…
//
system clock is IHRC/2
CLKMD
=
0xF4
;
//
switch to ILRC, IHRC CAN NOT be disabled here
CLKMD.4
=
0
;
//
IHRC CAN be disabled at this time
…
Case 4: Switching system clock from IHRC/2 to EOSC
…
//
system clock is IHRC/2
CLKMD
=
0XB0
;
//
switch to EOSC, IHRC CAN NOT be disabled here
CLKMD.4
=
0
;
//
IHRC CAN be disabled at this time
…
Case 5: Switching system clock from IHRC/2 to IHRC/4
…
//
system clock is IHRC/2, ILRC is enabled here
CLKMD
=
0X14
;
//
switch to IHRC/4
…
Case 6: System may hang if it is to switch clock and turn off original oscillator at the same time
…
//
system clock is ILRC
CLKMD
=
0x30
;
//
CAN NOT switch clock from ILRC to IHRC/2 and
turn off ILRC oscillator at the same time



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 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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