Electronic Components Datasheet Search |
|
PMS171B Datasheet(PDF) 32 Page - PADAUK Technology. |
|
PMS171B Datasheet(HTML) 32 Page - PADAUK Technology. |
32 / 92 page PMS171B 8bit OTP MCU with 8-bit ADC ©Copyright 2020, PADAUK Technology Co. Ltd Page 32 of 92 PDK-DS-PMS171B-EN_V103 – Sep. 2, 2020 (5) .ADJUST_IC SYSCLK=IHRC/32, IHRC=16MHz, VDD=5V After boot up, CLKMD = 0x7C: IHRC frequency is calibrated to 16MHz@VDD=5V and IHRC module is enabled System CLK = IHRC/32 = 500KHz Watchdog timer is disabled, ILRC is enabled, PA5 is in input mode (6) .ADJUST_IC SYSCLK=ILRC, IHRC=16MHz, VDD=5V After boot up, CLKMD = 0XE4: IHRC frequency is calibrated to 16MHz@VDD=5V and IHRC module is disabled System CLK = ILRC Watchdog timer is disabled, ILRC is enabled, PA5 is input mode (7) .ADJUST_IC DISABLE After boot up, CLKMD is not changed (Do nothing): IHRC is not calibrated and IHRC module is disabled System CLK = ILRC or IHRC/64 Watchdog timer is enabled, ILRC is enabled, PA5 is in input mode 5.4.4. External Crystal Oscillator If crystal oscillator is used, a crystal or resonator is required between X1 and X2. Fig. 2 shows the hardware connection under this application; the range of operating frequency of crystal oscillator can be from 32 KHz to 4MHz, depending on the crystal placed on; higher frequency oscillator than 4MHz is NOT supported. Fig. 2: Connection of crystal oscillator Besides crystal, external capacitor and options of PMS171B should be fine tuned in eoscr (0x0b) register to have good sinusoidal waveform. The eoscr.7 is used to enable crystal oscillator module, eoscr.6 and eoscr.5 are used to set the different driving current to meet the requirement of different frequency of crystal oscillator: eoscr.[6:5]=01 : Low driving capability, for lower frequency, ex: 32KHz crystal oscillator eoscr.[6:5]=10 : Middle driving capability, for middle frequency, ex: 1MHz crystal oscillator eoscr.[6:5]=11 : High driving capability, for higher frequency, ex: 4MHz crystal oscillator PA7/X1 PA6/X2 The values of C1 and C2 should depend on the specification of crystal. C1 C2 eoscr.7 (Enable crystal oscillator) eoscr[6:5] (Select driving current for oscillator) System clock = EOSC PA7/X1 PA6/X2 System clock = EOSC PA7/X1 PA6/X2 The values of C1 and C2 should depend on the specification of crystal. C1 C2 eoscr.7 (Enable crystal oscillator) eoscr[6:5] (Select driving current for oscillator) System clock = EOSC PA7/X1 PA6/X2 System clock = EOSC |
Similar Part No. - PMS171B |
|
Similar Description - PMS171B |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.COM |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | Contact us | Privacy Policy | Link Exchange | Manufacturer List 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 |