
STV0680B Chipset; Camera Ref. Design Manual, Rev. 3.0, May 2001 STV0680B+VV6410/6411/6500
11
This version: STMicroelectronics (Imaging Division) internal use only
RDM_STV0680-410-500_contents.fm
4. Audio Hardware
4.1 Functional descri
tion
4.1.1 Recording
The STV0680B does not have an
analo
ue inputs. However, it is possible to implement a successive approximation Analo
ue
to Di
ital Converter
ADC
b
usin
the STV0680B analo
ue output and a discrete comparator.
The si
nal produced b
the Microphone M1 is inputted to the VV6410/6411 or VV6500 sensor pre-amplifier
sensor pin AIN
. The
pre-amplifier output
Sensor pin AOUT
is low pass filtered b
R75 and C46, and AC coupled b
C50 to the
-
Input of the
comparator U12. R77 and R78 set the DC level of this point to approx. 0.75v. The STV0680B analo
ue output, pin 82
DACOUT
is the output of an internal 8-bit Di
ital to Analo
ue Converter
DAC
which has a variable current output, with ran
e 0 - 10mA.
The output is converted to a volta
e b
connectin
a resistor R74 between pin DACOUT and
round. This volta
e is connected to
the
+
input of the comparator U12. R82 provides h
steresis to prevent output oscillations, and R83 is re
uired because the
comparator output is open collector.
Hence the (known) voltage derived from the STV0680B DAC compared with the (unknown) AC component of the pre-amplified
Microphone output. An STV0680B pin GPIO4 is used to read the output of the comparator, the status of this GPIO indicates
whether the known DAC output is higher or lower than the analogue input signal derived from the Microphone. STV0680B
firmware tests each of the 8 DAC bits in turn; a technique known as successive approximation. Eight comparisons are required
(one for each bit) for each sample taken.
Sound quality is limited by the 11kHz sample rate.
4.1.2 Playback
Sound pla
back involves amplif
in
the analo
ue output si
nal from the STV0680B and usin
it to drive a loudspeaker or other
external power amplifier
via a headphone socket, for example
. The firmware writes appropriate values into the STV0680B DAC
re
ister in a continuous loop.
4.2 Hardware re
uirements
4.2.1 Recording
T
picall
the si
nal which is to be recorded ori
inates from a microphone. Some pre-amplification will
enerall
be re
uired and
this can be provided b
the microphone pre-amplifier which is built into the VV6410/6411/6500.
Note that GPIO4 has been used to allow for backward compatabilit
. In a camera usin
STV0680B-001, or in a camera usin
STV0680B-003 without Audio recordin
, this pin should be tied low.
4.2.2 Playback
A power amplifier such as the LM386 is suitable. A simple low-pass filter on the analo
ue output of the STV0680B should be
used.
In order to pla
back sounds which have been recorded on the camera, it will be necessar
to switch off the power amplifier
durin
recordin
or else the successive approximatin
waveform will be heard. This can be achieved b
usin
the GPIO6 pin from
STV0680B to switch off the power to the amplifier
usin
a FET Q14
or b
usin
an amplifier with an enable si
nal.
The
eneral sound
ualit
pla
ed throu
h the loudspeaker is dependant on the speaker size and
ualit
, so it is recommended
that the OEM evaluates different sizes of speakers before decidin
on the plastics desi
n of the camera.
Note that GPIO6 has been used to allow for backward compatabilit
. In a camera usin
STV0680B-001, or in a camera usin
STV0680B-003 without Audio recordin
, this pin should be tied low.
4.3 Limitations
• If no ima
es are captured, then 16Mbit SDRAM would be able to store approx. 3 minutes 20 seconds of audio, 64Mbit = about
13 minutes.
• The feature is onl
supported on VV6410/6411/6500, but is not supported for VV6444
which has no Audio pre-amp
.
• Once sound has been recorded, and/or “custom sounds” have been downloaded and stored in the camera, the specification,
re
ardin
the number of ima
es which can be stored in SDRAM, is no lon
er valid. More sound means less ima
es.