Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

Preview PDF HTML

27E65 Marking, SN8F27E64LSG Datasheet(PDF) 102 Page - SONiX Technology Company

Part # SN8F27E64LSG
Description  8-Bit Flash Micro-Controller with Embedded ICE and ISP
PDF  192 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SONIX [SONiX Technology Company]
Direct Link  http://www.sonix.com.tw
Logo SONIX - SONiX Technology Company

SN8F27E64LSG Datasheet(HTML) 102 Page - SONiX Technology Company

Back Button SN8F27E64LSG Datasheet HTML 98Page - SONiX Technology Company SN8F27E64LSG Datasheet HTML 99Page - SONiX Technology Company SN8F27E64LSG Datasheet HTML 100Page - SONiX Technology Company SN8F27E64LSG Datasheet HTML 101Page - SONiX Technology Company SN8F27E64LSG Datasheet HTML 102Page - SONiX Technology Company SN8F27E64LSG Datasheet HTML 103Page - SONiX Technology Company SN8F27E64LSG Datasheet HTML 104Page - SONiX Technology Company SN8F27E64LSG Datasheet HTML 105Page - SONiX Technology Company SN8F27E64LSG Datasheet HTML 106Page - SONiX Technology Company Next Button
Zoom Inzoom in Zoom Outzoom out
 102 / 192 page
background image
SN8F27E60 Series
8-Bit Flash Micro-Controller with Embedded ICE and ISP
SONiX TECHNOLOGY CO., LTD
Page 102
Version 1.4
8.4.5 TC1R AUTO-RELOAD REGISTER
TC1 timer builds in auto-reload function, and TC1R register stores reload data. When TC1C overflow occurs, TC1C
register is loaded data from TC1R register automatically. Under TC1 timer counting status, to modify TC1 interval time
is to modify TC1R register, not TC1C register. New TC1C data of TC1 interval time will be updated after TC1 timer
overflow occurrence, TC1R loads new value to TC1C register. But at the first time to setup T0M, TC1C and TC1R must
be set the same value before enabling TC1 timer. TC1 is double buffer design. If new TC1R value is set by program,
the new value is stored in 1
st buffer. Until TC1 overflow occurs, the new value moves to real TC1R buffer. This way can
avoid any transitional condition to affect the correctness of TC1 interval time and PWM output signal.
0BAH
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
TC1R
TC1R7
TC1R6
TC1R5
TC1R4
TC1R3
TC1R2
TC1R1
TC1R0
Read/Write
W
W
W
W
W
W
W
W
After reset
0
0
0
0
0
0
0
0
The equation of TC1R initial value is as following.
TC1R initial value = 256 - (TC1 interrupt interval time * TC1 clock rate)
Example: To calculation TC1C and TC1R value to obtain 10ms TC1 interval time. TC1 clock source is
Fcpu = 16MHz/16 = 1MHz. Select TC1RATE=000 (Fcpu/128).
TC1 interval time = 10ms. TC1 clock rate = 16MHz/16/128
TC1C/TC1R initial value = 256 - (TC1 interval time * input clock)
= 256 - (10ms * 16MHz / 16 / 128)
= 256 - (10-2 * 16 * 106 / 16 / 128)
= B2H
8.4.6 TC1D PWM DUTY REGISTER
TC1D register
’s purpose is to decide PWM duty. In PWM mode, TC1R controls PWM’s cycle, and TC1D controls the
duty of PWM. The operation is base on timer counter value. When TC1C = TC1D, the PWM high duty finished and
exchange to low level. It is easy to configure TC1D to choose the right PWM
’s duty for application.
0BBH
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
TC1D
TC1D7
TC1D6
TC1D5
TC1D4
TC1D3
TC1D2
TC1D1
TC1D0
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
After Reset
0
0
0
0
0
0
0
0
The equation of TC1D initial value is as following.
TC1D initial value = TC1R + (PWM high pulse width period / TC1 clock rate)
Example: To calculate TC1D value to obtain 1/3 duty PWM signal. The TC1 clock source is Fcpu =
16MHz/16 = 1MHz. Select TC1RATE=000 (Fcpu/128).
TC1R = B2H. TC1 interval time = 10ms. So the PWM cycle is 100Hz. In 1/3 duty condition, the high pulse width is
about 3.33ms.
TC1D initial value = B2H + (PWM high pulse width period / TC1 clock rate)
= B2H + (3.33ms * 16MHz / 16 / 128)
= B2H + 1AH
= CCH



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


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