![](http://datasheet.mmic.net.cn/320000/UPD30102_datasheet_16362875/UPD30102_691.png)
APPENDIX A DIFFERENCES BETWEEN V
R
4102 AND V
R
4101
691
A.2.10 AIU
(1) Audio Output Mode
The PCM output is employed in the V
R
4102 as an audio output mode. In the V
R
4101, Buzzer or PWM output is
selectable.
(2) Audio Input Mode
The V
R
4102 has an analog audio input which is connected to the on-chip A/D converter. The V
R
4101 does not
support any audio inputs.
(3) Audio Data Transfer
The V
R
4102 uses DMA transfer to prepare PCM data in the output operation and to store sampled data in the
input operation. In the V
R
4101, output frequency and period for the Buzz mode are set in the AIU registers, or
output high level and low level width for the PWM mode are prepared with DMA transfer.
(4) Volume Control
Volume of the audio outputs is controlled by an external circuit or by shifting data input to D/A converter in the
V
R
4102. In the V
R
4101, four steps of audio output volume can be set in the AIUMUTEREG register and are
controlled by an external circuit based on the settings in the register.
A.2.11 KIU
(1) Number of Keys Supported
In the V
R
4102, the number of scan lines used is selectable among 8, 10, and 12 by setting the SCANLINE
register, which determines the number of keys enabled to either of 64, 80, or 96. The V
R
4102 can detect when
any of enabled keys are pressed using selected scan lines and 8 detection lines. The V
R
4101 can detect when
any of 64 keys are pressed using 8 scan lines and 8 detection lines.
When the V
R
4102 uses only 8 or 10 scan lines, the unused scan lines can be used as general-purpose output
ports. When the KIU is disabled in the V
R
4102, all the scan lines (KSCAN[11..0] pins) can be used as general-
purpose outputs (GPIO[43..32]).
(2) LCD Brightness Control
The V
R
4101 has LCD brightness control pins which are alternately used as KCSAN[1..0] pins and indicate the
contents of EVVOLREG register to specify brightness. The V
R
4102 has no pins for LCD brightness control.
(3) KIU Data Transfer
The V
R
4102 transfers KIU data by reading data buffers when an interrupt occurs, while the V
R
4101 transfers with
DMA.