
M44C510
TELEFUNKEN Semiconductors
Rev. A2, 13–Jan–98
35 (57)
Motor Chopping and Mask Options
In the counter auto reload mode (50% duty cycle), mask options are available for generating a 1 kHz or 2 kHz frequency
with duty cycles of 1/2, 3/8, 5/8 and 3/4. The resultant waveform is used as the chopping frequency for so called “motor
chopping”. This technique allows the use of low cost, low voltage clock motors in applications where only higher sup-
ply voltages are available. The resultant voltage waveforms are shown in figure 27. To obtain the required motor driver
waveforms on BP40 and BP41 as shown in figure 28, the user program must modulate the Timer 0 chopping frequency.
This is performed by preloading Port 4 data latches (P4DAT0 and P4DAT1) with ’0’ which sets the normal Port 4 direc-
tion register bits to output mode (P4DDR0 = P4DDR1 = ’0’) and switches the TCIO0 and TCIO1 register bits
alternately to ’0’ on every chopping burst. The timer chopping signals are thus transferred to the port outputs. In the
intermediate periods between bursts both TCIO0 and TCIO1 are set to ’1’ and the preloaded Port 4 data latch outputs
appear on the port outputs.
Timer
Clock
T0OUT1
(BP41)
Timer 0 configuration reload mode, 50% duty cycle,
Comparator value = ’3’hex (1 kHz) or ’7’hex (2 kHz)
Timer clock = 32 kHz (prescaler bypassed)
* = Mask Option
3/8*
1/2
5/8*
3/4*
96 11536
Figure 27. Motor chopping waveforms
BP41
BP40
Chopping
burst
96 11537
Figure 28. Motor driver output waveforms
Melody Mode (with/without Modulation)
The non-modulated melody mode is identical to the auto- reload counter (50% duty cycle) mode. The melody tone
frequency appearing on BP41 and/or BP40 is determined in exactly the same way as the value written into the
comparator register. In the modulated melody mode, the M44C510 generates two output signals, a melody tone and
an envelope pulse (see figure 29). The tone frequency output on BP41 is generated in exactly the same way as in the
simple melody mode. While the envelope pulse on BP40 is a single pulse, of a clock period in duration which appears
shortly after loading the compare value into the compare register. In this mode, an analog switch is activated between
the BP40 and BP41 outputs (see figure 30). With the external capacitor connected, the resultant signal on BP41 exhibits
a melody chime effect with an exponential decay.