Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

SMBP2501BPB Datasheet(PDF) 89 Page - SONiX Technology Company

Part # SMBP2501BPB
Description  8-Bit Micro-Controller
PDF  107 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

SMBP2501BPB Datasheet(HTML) 89 Page - SONiX Technology Company

Back Button SMBP2501BPB Datasheet HTML 85Page - SONiX Technology Company SMBP2501BPB Datasheet HTML 86Page - SONiX Technology Company SMBP2501BPB Datasheet HTML 87Page - SONiX Technology Company SMBP2501BPB Datasheet HTML 88Page - SONiX Technology Company SMBP2501BPB Datasheet HTML 89Page - SONiX Technology Company SMBP2501BPB Datasheet HTML 90Page - SONiX Technology Company SMBP2501BPB Datasheet HTML 91Page - SONiX Technology Company SMBP2501BPB Datasheet HTML 92Page - SONiX Technology Company SMBP2501BPB Datasheet HTML 93Page - SONiX Technology Company Next Button
Zoom Inzoom in Zoom Outzoom out
 89 / 107 page
background image
SN8P2501B
8-Bit Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 89
Version 2.1
8.4.3 PWM Duty with TC0R Changing
In PWM mode, the system will compare TC0C and TC0R all the time. When TC0C<TC0R, the PWM will output logic
“High”, when TC0C≧ TC0R, the PWM will output logic “Low”. If TC0C is changed in certain period, the PWM duty will
change in next PWM period. If TC0R is fixed all the time, the PWM waveform is also the same.
TC0C overflow
and TC0IRQ set
TC0C = TC0R
0xFF
TC0C Value
0x00
PWM0 Output
1
2
3
4
5
6
7
Period
Above diagram is shown the waveform with fixed TC0R. In every TC0
C overflow PWM output “High, when TC0C≧
TC0
R PWM output ”Low”. If TC0R is changing in the program processing, the PWM waveform will became as following
diagram.
1
1st PWM
2
Update PWM Duty
3
2nd PWM
4
Update PWM Duty
0xFF
TC0C Value
0x00
PWM0 Output
Period
5
3th PWM
TC0C overflow
and TC0IRQ set
Old TC0R
Old TC0R
New TC0R
New TC0R
Update New TC0R!
Old TC0R < TC0C < New TC0R
Update New TC0R!
New TC0R < TC0C < Old TC0R
TC0C > = TC0R
PWM High > Low
TC0C < TC0R
PWM Low > High
In period 2 and period 4, new Duty (TC0R) is set. TC0 is double buffer design. The PWM still keeps the same duty in
period 2 and period 4, and the new duty is changed in next period. By the way, system can avoid the PWM not
changing or H/L changing twice in the same cycle and will prevent the unexpected or error operation.



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