Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

SN8A1702AX Scheda tecnica(PDF) 75 Page - SONiX Technology Company

Il numero della parte SN8A1702AX
Spiegazioni elettronici  8-Bit Micro-Controller
PDF  112 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  SONIX [SONiX Technology Company]
Homepage  http://www.sonix.com.tw
Logo SONIX - SONiX Technology Company

SN8A1702AX Scheda tecnica(HTML) 75 Page - SONiX Technology Company

Back Button SN8A1702AX Datasheet HTML 71Page - SONiX Technology Company SN8A1702AX Datasheet HTML 72Page - SONiX Technology Company SN8A1702AX Datasheet HTML 73Page - SONiX Technology Company SN8A1702AX Datasheet HTML 74Page - SONiX Technology Company SN8A1702AX Datasheet HTML 75Page - SONiX Technology Company SN8A1702AX Datasheet HTML 76Page - SONiX Technology Company SN8A1702AX Datasheet HTML 77Page - SONiX Technology Company SN8A1702AX Datasheet HTML 78Page - SONiX Technology Company SN8A1702AX Datasheet HTML 79Page - SONiX Technology Company Next Button
Zoom Inzoom in Zoom Outzoom out
 75 / 112 page
background image
Preliminary
SN8P1702A/SN8P1703A
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 75
Revision 0.5
PWM FUNCTION DESCRIPTION
OVERVIEW
PWM function is generated by TC0/TC1 timer counter and output the PWM signal to PWM0OUT pin (P5.4)/
PWM1OUT pin (P5.3). When code option TC0/TC1_Counter= 8-bit, the counter counts modulus 256, from 0-255,
inclusive. The value of the 8-bit counter is compared to the contents of the reference register (TC0R/TC1R). When the
reference register value (TC0R/TC1R) is equal to the counter value (TC0C/TC1C), the PWM output goes low. When
the counter reaches zero, the PWM output is forced high. Following table listed the low-to-high ratio (duty) of the
PWM0/PWM1 output.
For example, TC0_Counter=8-bit, all PWM outputs remain inactive during the first 256 input clock signals. Then, when
the counter value (TC0C/TC1C) changes from FFH back to 00H, the PWM output is forced to high level. The pulse
width ratio (duty cycle) is defined by the contents of the reference register (TC0R/TC1R) and is programmed in
increments of 1:256. The 8-bit PWM data register TC0R/TC1R is write-only register. Different code option of
TC0_Counter/TC1_Counter will cause different PWM Duty, so user can generate different PWM output by selection
different TC0_Counter/TC1_Counter.
PWM output can be held at low level by continuously loading the reference register with 00H. Under PWM operating, to
change the PWM’s duty cycle is to modify the TC0R/TC1R.
TC0X8/TC1X8
PWM0 Frequency
PWM1 Frequency
0
Fosc/(2
10-TC0RATE)/N
Fosc/(2
10-TC1RATE)/N
1
Fosc/(2
7-TC0RATE) /N
Fosc/(2
7-TC1RATE) /N
The value of N depend on code option TC0_Counter/TC1_Counter
TC0_Counter/TC1_Counter
N
PWM Duty Cycle
8-bit
256
0/256 ~ 255/256
6-bit
64
0/64 ~ 63/64
5-bit
32
0/32 ~ 31/32
4-bit
16
0/16 ~ 15/16
Table 8-6. The PWM Frequency Calculation Formula
TC0X8
TC1X8
TC0_Counter
TC1_Counter
TC0 Overflow
boundary
TC1 Overflow
boundary
PWM Duty Cycle
Max PWM Frequency
(Fosc = 4MHz)
Note
0
8-bit
FFh to 00h
0/256 ~ 255/256
1.953125K
Overflow per 256 count
0
6-bit
3Fh to 40h
0/64 ~ 63/64
7.8125K
Overflow per 64 count
0
5-bit
1Fh to 20h
0/32 ~ 31/32
15.625K
Overflow per 32 count
0
4-bit
0Fh to 10h
0/16 ~ 15/16
31.25K
Overflow per 16 count
1
8-bit
FFh to 00h
0/256 ~ 255/256
15.625
Overflow per 256 count
1
6-bit
3Fh to 40h
0/64 ~ 63/64
62.5K
Overflow per 64 count
1
5-bit
1Fh to 20h
0/32 ~ 31/32
125K
Overflow per 32 count
1
4-bit
0Fh to 10h
0/16 ~ 15/16
250K
Overflow per 16 count
Table 8-7. The Maximum PWM Frequency Example (TC0RATE/TC1RATE = 111)



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


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
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