Electronic Components Datasheet Search
  English  ▼

X  

MPC82x52AS Datasheet(PDF) 44 Page - Megawin Technology Co., Ltd

Part # MPC82x52AS
Description  8-bit micro-controller
PDF  72 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MEGAWIN [Megawin Technology Co., Ltd]
Direct Link  http://www.megawin.com.tw/megawin_EN/Index.asp
Logo MEGAWIN - Megawin Technology Co., Ltd

MPC82x52AS Datasheet(HTML) 44 Page - Megawin Technology Co., Ltd

Back Button MPC82x52AS Datasheet HTML 40Page - Megawin Technology Co., Ltd MPC82x52AS Datasheet HTML 41Page - Megawin Technology Co., Ltd MPC82x52AS Datasheet HTML 42Page - Megawin Technology Co., Ltd MPC82x52AS Datasheet HTML 43Page - Megawin Technology Co., Ltd MPC82x52AS Datasheet HTML 44Page - Megawin Technology Co., Ltd MPC82x52AS Datasheet HTML 45Page - Megawin Technology Co., Ltd MPC82x52AS Datasheet HTML 46Page - Megawin Technology Co., Ltd MPC82x52AS Datasheet HTML 47Page - Megawin Technology Co., Ltd MPC82x52AS Datasheet HTML 48Page - Megawin Technology Co., Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 44 / 72 page
background image
44
MPC82x52A Data Sheet
MEGAWIN
High Speed Output Mode
In this mode the CEXn output (port latch) associated with the PCA module will toggle each
time a match occurs between the PCA counter and the module’s capture registers. To activate
this mode the TOGn, MATn, and ECOMn bits in the SFR CCAPMn must be set.
Pulse Width Modulator Mode
All of the PCA modules can be used as PWM outputs. The frequency of the output depends
on the PCA counter. All of the modules will have the same frequency of output because they
all share the PCA counter. The duty cycle of each module is independently variable using the
module’s capture register CCAPnL[7:0] and bits EPCnL in SFR PCAPWMn. When the value
of the SFR CL is less than the value in the module’s {EPCnL, CCAPnL [7:0]}, the output will
be low. When it is equal to or greater than, the output will be high. When CL overflows from
FFH to 00H, {EPCnL, CCAPnL [7:0]} is reloaded with the value in {EPCnH, CCAPnH [7:0]}.
That allows smoothly updating the PWM duty without glitches. The bits PWMn and ECOMn
bits in the CCAPMn must be set to enable the PWM mode.
SFR: PCAPWM0 (PCA PWM Mode Auxiliary Register 0 )
Bit-7
Bit-6
Bit-5
Bit-4
Bit-3
Bit-2
Bit-1
Bit-0
-
-
-
-
-
-
EPC0H
EPC0L
SFR: PCAPWM1 (PCA PWM Mode Auxiliary Register 1)
Bit-7
Bit-6
Bit-5
Bit-4
Bit-3
Bit-2
Bit-1
Bit-0
-
-
-
-
-
-
EPC1H
EPC1L
EPCnL: = concatenated with CCAPnL, used to control the duty of the PWM output
The bit EPCnL is going to be combined with CCAPnL to form a 9-bit data which will
be compared with PCA counter low byte CL, so to determine the duty of the module-n’s PWM
output.
If
{CL[7:0]}
<
{ EPCnL, CCAPnL[7:0]} , PWM output
LOW
else
PWM output
HIGH
EPCnH: = Reloaded value of EPCnL while CL [7:0] counts from FFH to 00H



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


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