поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

M68HC08 датащи(PDF) 84 Page - Freescale Semiconductor, Inc

номер детали M68HC08
подробное описание детали  Microcontrollers
PDF  188 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  FREESCALE [Freescale Semiconductor, Inc]
домашняя страница  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

M68HC08 датащи(HTML) 84 Page - Freescale Semiconductor, Inc

Back Button M68HC08 Datasheet HTML 80Page - Freescale Semiconductor, Inc M68HC08 Datasheet HTML 81Page - Freescale Semiconductor, Inc M68HC08 Datasheet HTML 82Page - Freescale Semiconductor, Inc M68HC08 Datasheet HTML 83Page - Freescale Semiconductor, Inc M68HC08 Datasheet HTML 84Page - Freescale Semiconductor, Inc M68HC08 Datasheet HTML 85Page - Freescale Semiconductor, Inc M68HC08 Datasheet HTML 86Page - Freescale Semiconductor, Inc M68HC08 Datasheet HTML 87Page - Freescale Semiconductor, Inc M68HC08 Datasheet HTML 88Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 84 / 188 page
background image
Internal Clock Generator Module (ICG)
Data Sheet
MC68HC908RF2 — Rev. 4.0
84
Internal Clock Generator Module (ICG)
MOTOROLA
Figure 6-9. Code Example for Writing DDIV and DSTG
6.4.8 Trimming Frequency on the Internal Clock Generator
The unadjusted frequency of the low-frequency base clock (IBASE), when the
comparators in the frequency comparator indicate zero error, will vary as much as
±25 percent due to process, temperature, and voltage dependencies. These
dependencies are in the voltage and current references, the offset of the
comparators, and the internal capacitor. The voltage and temperature
dependencies have been designed to be a maximum of approximately
±1 percent
error. The process dependencies account for the rest.
Fortunately, for an individual part, the process dependencies are constant. An
individual part can operate at approximately
±2 percent variance from its
unadjusted operating point over the entire specification range of the application. If
the unadjusted operating point can be changed, the entire variance can be limited
to
±2 percent.
;DDIV and DSTG modification code example
;Changes DDIV and DSTG according to the initial and
; desired clock period values
;Requires ICGON to be clear (disabled)
;User must previously calculate DVFACT and STFACT by
; the equations listed in the specification
;Modifies X and A registers
start
lda
icgcr
;Verify ICGON clear (this will require
cmp
#13
; CMIE,CMF,CMON,ICGON,ICGS clear and CS,ECGON,ECGS set)
lda
#dvfact ;Add the DDIV factor (calculated before
add
icgdvr
; coding by the DDIV2 equation)
sta
icgdvr
lda
#stfact ;Load the DSTG factor (calculated before coding and
; multiplied by 128 to make it 0-255 for maximum precision
ldx
icgdsr
;Load current stage register contents
mul
;Multiply factor times current value
rola
;Since factor was multiplied by 128,
rolx
; result is x6-x0:a7, so put it all in X
bcc
store
;If result is >255, rolx will set carry
rorx
; so divide result by two and
inc
; add one to DDIV
store
stx
icgdsr
;Store value
lda
icgdvr
;Test to see if DDIV too high or low
cmp
#09
;Valid range 0-9; too low is FF/FE; too high is 0A/0B
bhi
exit
;If DDIV is 0-9, you’re almost done
lda
#09
;Otherwise, maximize period and execute error code
sta
icgdvr
jmp
error
exit
jmp
enable
;Jump to code which turns on desired
;clock, clock monitor, interrupts, etc.
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com



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 93 94 95 96 97 98 99 100  ...More


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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