AT83EB5114 Atmel Corporation, AT83EB5114 Datasheet - Page 47

no-image

AT83EB5114

Manufacturer Part Number
AT83EB5114
Description
Manufacturer
Atmel Corporation
Datasheet

Specifications of AT83EB5114

Max. Operating Frequency
24 MHz
Cpu
8051-12C
Max I/o Pins
11
Adc Channels
6
Adc Resolution (bits)
10
Adc Speed (ksps)
50
Sram (kbytes)
0.25
Eeprom (bytes)
256
Operating Voltage (vcc)
3.0 to 3.6
Timers
4
Mask Rom (kbytes)
4
Watchdog
Yes
PWM Unit 1 (PWMU1)
PWMU1 Timer
4311C–8051–02/08
The PWM unit 1 allows to generate precise pulse width modulation with variable duty
cycle and frequency.
The PWMU1 consists of a dedicated 16 bits auto reload counter/timer which serves as a
time base for the generation of an independent PWM signal.
Its clock input can be programmed to count any one of the following signals:
The PWMU1 timer/counter shares two external I/O. These pins are listed below. If a port
is not used for the PWMU1, it can still be used for standard I/O.
The PWMU1 timer is a 16-bit timer (See Figure 20). The timer count source is deter-
mined from the W1CPS1 and W1CPS0 bits in the W1CON register (See Table 34) and
can be programmed to run at:
The output frequency depends on the timer source and also on the W1F Registers. The
timer/counter counts from zero up to a value loaded via SW1F registers. Each time the
counter is higher or equal to the SW1F shadow registers value, W1C registers are auto-
matically reloaded with zero. If the W1UP bit is set, the shadow SW1F registers is
reloaded with the contents of W1F registers when W1C overtakes. This allows to pre-
vent frequency drift (See Figure 20).
Note:
Peripheral clock, CkIdle
Timer 1 overflow
External input on W1CI (P4.2)
Peripheral clock, CkIdle
Timer 1 overflow
External input on W1CI (P4.2)
If the PWMU1 is Off (W1R bit in W1CON not set), the contents of W1FH and W1FL are
automatically copied on the shadow registers SW1FH and SW1FL. This allows to charge
the correct comparison values in order to have the desired frequency as soon as the
PWM is turned on.
PWMU1 Component
16-bit Module 0
16-bit Counter
External I/O Pin
W1M0 (P3.5)
W1CI (P4.2)
47

Related parts for AT83EB5114