English
Language : 

7220 Datasheet, PDF (207/303 Pages) Renesas Technology Corp – 8-BIT SINGLE-CHIP MICROCOMPUTER
APPLICATION
5.5 Example of I2C-BUS control by software (M37220M3-XXXSP/FP)
5.5.5 Data setting according to key processing
Examples of the M52340SP settings, corresponding to each actual TV set key input, are described below.
(1) “Power ON/OFF key” input
When power supply is supplied to the
M52340SP by this input, the data is set to all
registers (at sub-addresses “0016” to “1316”).
(2) “Tuning and search-related keys” (CH
UP/DOWN key, CH direct selection key) input
When tuning, the color system data (refer to
“Table 5.5.10”) is set according to the
determination result of the color system by
the status data register (refer to “Table 5.5.1”).
Also, the corresponding data is set when the
color system search-related keys are input.
However, note that the above-mentioned setting
is valid only when setting AUTO (bit 5 at sub-
address 0616, write data) to “0.” When setting
to “1,” the data is automatically set inside the
M52340SP.
When tuning, the data is set as shown in Table
5.5.1.
Table 5.5.1 Data setting at tuning and searching
Sub-address
Bit
Data
0216
D5
TRAP
D4
DBF
D1
DFA
0616
D0, D1
DL TIME
(3) “Volume UP/DOWN key” input
When the volume up/down key is input, the
data is set as shown in Table 5.5.2.
Table 5.5.2 Data setting at “volume UP/DOWN key”
input
Sub-address
Bit
Data
0316
D0 to D6
AUDIO ATT
(4) “Screen-size-related keys” input
When the screen-related keys are input on
TVs with various screen sizes (wide aspect
TV, etc.), the screen size data and position
data is set as shown in Table 5.5.3. Also, the
data of each frequency (50 Hz or 60 Hz) is
occasionally held.
Table 5.5.3 Data setting at “screen-size-related
keys” input
Sub-address
Bit
Data
0916
D3 to D6
H PHASE
(5) “Picture data control key” and “Picture
memory switching key” input
When changing picture data, the data is set
to the corresponding write data register as
shown in Table 5.5.4.
Table 5.5.4 Data setting at “picture data control
key” and “picture memory switching
key” input
Sub-address
0416
0516
0716
0816
0A16
Bit
D0 to D5
D0 to D6
D0 to D6
D0 to D6
D0 to D6
Data
SHARPNESS
CONTRAST
TINT
COLOR
BRIGHT
5-34
7220 Group User’s Manual