
The fast clock is used to provide as PWM driver time base, and user shall set the PWMC[7]=’1’ and
VOC[2]=’1’ to enable the PWM output. When the system enters into sleep or idle mode, it will
automatically turn off the voice device by clearing VOC[2:0] to ”000”. In order to activate voice output
again when the system returns and enter into normal mode, the related bits of VOC register need to be set
again.
KING BILLION ELECTRONICS CO., LTD
駿
億
電
子
股
份
有
限
公
司
HE84760B
HE80004 Series
June 29, 2005
This specification is subject to change without notice. Please contact sales person for the latest version before use.
34
V1.0
Data=0x40h
Data=0x10h
Data=0x70h
subframe
PWM
When the DAC is used as sound generator, the bias & filter circuit is used for bias voltage setting and
waveform filter regulation and the DAC is output to the VO (Voice Output) pin and please see application
notes for detailed calculation example and application. The driving capability of DAC is shown below.
Condition
Min.
2.5
Typ.
3
Max.
Unit
mA
VO/DAO
V
DD
=3V;VO=0~2V;Data=7Fh
VDD
CPU
bias &
filter
circuit
VO(DAO)
SPEAKER
The
VOC
is a three bit voice control register in the 7-bit mode.
VOC
Field
Reset
PWM: ‘1’ PWM output enabled; ‘0’ PWM output disabled.
DAC: ‘1’ DAC enabled; ‘0’ DAC disabled.
OP: ‘1’ DAC uses DAO pin as output pin; ‘0’ DAC uses VO pin as output pin.
address
0x13
-
Bit 7
-
-
Bit 6
-
-
Bit 5
-
-
Bit 4
-
-
Bit 3
-
-
Bit 2
PWM
0
Bit 1
DAC
0
Bit 0
OP
0