Electronic Components Datasheet Search
  English  ▼

X  

ATAM510 Datasheet(PDF) 47 Page - ATMEL Corporation

Part # ATAM510
Description  MARC4 4-bit MTP Universal Microcontroller
PDF  72 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATAM510 Datasheet(HTML) 47 Page - ATMEL Corporation

Back Button ATAM510 Datasheet HTML 43Page - ATMEL Corporation ATAM510 Datasheet HTML 44Page - ATMEL Corporation ATAM510 Datasheet HTML 45Page - ATMEL Corporation ATAM510 Datasheet HTML 46Page - ATMEL Corporation ATAM510 Datasheet HTML 47Page - ATMEL Corporation ATAM510 Datasheet HTML 48Page - ATMEL Corporation ATAM510 Datasheet HTML 49Page - ATMEL Corporation ATAM510 Datasheet HTML 50Page - ATMEL Corporation ATAM510 Datasheet HTML 51Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 47 / 72 page
background image
47
4711B–4BMCU–01/05
ATAM510
3.5.3.9
Timer 0 Pulse Width Modulation Mode
A pulse width modulated (PWM) signal exhibits a fixed repetition frequency and a variable mark
space ratio. It is often used as a simple method for D/A conversion, where the high period is pro-
portional to the digital value to be converted. Therefore by connecting a simple low-pass RC
network to the PWM signal, the analog value can be retrieved.
Timer 0 generates the PWM signal by comparing the state of the free running up counter with
the contents of the compare register (see Figure 3-18). If the result is less than the compare reg-
ister value, then the BP41 output is high. If the result is greater or equal to the compare register
value, then the BP41 output is set low. Thus, the high phase of the PWM signal is directly pro-
portional to the compare register contents. A total of 256 possible discrete mark space ratios can
be generated ranging from a continuous low signal over a variable pulse width signal to a contin-
uous high signal. The PWM signal has a repetition period of 256 clocks, an interrupt (if
unmasked) being generated on every overflow event. Care should be taken if the SYSCL clock
is used as the PWM clock source because it may stop if the CPU goes into SLEEP mode (see
section “Power-Down Modes”).
Figure 3-18. Timer 0 Pulse Width Modulation
3.5.3.10
Pulse Density Modulation Mode
Pulse density modulation (PDM) is also used for simple D/A conversion. Unlike the PWM signal
where the high and low signal phases are always continuous during a single repetition cycle, the
PDM distributes these evenly as a series of pulses (see Figure 3-19 on page 48). This has the
advantage that, if used together with an RC smoothing filter for D/A conversion, either the ripple
is less than the PWM, or, for a corresponding ripple error, the filter components can be smaller
or the clock frequency lower. To generate the PDM output on BP41, the pulse density is con-
trolled by the contents of the compare register in the same way as the PWM generation. Each of
the pulses has a width equal to the counter clock period.
Timer
Clock
T0OUT1
(BP41)
Overflow
Interrupt
Timer = compare register (= 4)
0
4
255
Timer
State
t_hi
t_low
t_hi = (comparator value)
× clock period
t_low = (255-comparator value)
× clock period
1
2
3
255
0
4
13
255
04
1
3



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