
5/20
MTU429B Revision 3.0 28/Oct/1999
MTU429B
(Preliminary)
MYSON
TECHNOLOGY
4.0 FUNCTIONAL DESCRIPTION
4.1 SRAM
The 256 x 4 bits index SRAM and 128 x 4 bits data SRAM are 2 separate regions.
4.2 Index ROM
The 256 x 8 bits index ROM can be used as a 4-bit mode or an 8-bit mode.
4.3 I/O Ports
The IOA port can be selected by software separately as input or output, and with/without internal pull-low and
different chattering clocks in order for HALT release/ interrupt trigger to reduce the bounce of key_scan:
PH6: 512Hz
PH8:128Hz
PH10: 32Hz
The pull-low of the IOA will be masked off for those pins defined as output pins.
The IOA port can be used as a pseudo serial output port.
The IOB port can be selected by software separately as input or output.
The IOC port can be selected by software separately as input or output, and with/without internal pull-low and
different chattering clocks in order for HALT release/ interrupt trigger to reduce the bounce of key_scan.
The IOD port can be selected by software separately as input or output.
The IOD port can be used as a pseudo serial output port.
The initial state of all I/O ports is standard input state and IOA, C have pull-low device.
Before setting some pins from input to output, you can execute the output function to ensure their output
value. The S ports are input pins that contain pull_low. The L_L_H resistor can be selected by mask option
and different chattering clocks in the same manner as the IOA, C ports.
4.4 Resistor-to-Frequency Converter
We use an RC oscillation circuit and a 16-bit counter to calculate the relative resistance of temperature and
humidity sensor. The diagram is shown as Figure 1.
There are two types of methodology for measuring the input frequency: first, set FIN (i.e. CX) as the clock
input, using timer 2 as interval control or using software to directly control the interval. Second, if the FIN (CX)
frequency is too low, either because of a poor resolution for a fixed interval or a longer interval for better reso-
lution but with a longer read-out rate (for example: 10 seconds per read-out), you can switch the measure
mode in order to set FIN (CX) as interval control (it will enable the counter from first FIN rising edge to the next
KI1~4
RFC CC
I
I
Key scan input, this port shares pins with IOC1~4 and is set by mask option.
1 input pin and 3 output pins for RFC application.
This port shares pins with SEG35~38 and is set by mask option.
This port shares pins with IOA1~4 and is set by mask option.
RR
RT
RH
O
O
O
EL ELC
ELP
O
O
Output port for EL-light.
This port shares pins with SEG31, 32 and is set by mask option.
This port shares pins with IOB1, 2 and is set by mask option.
Output port for alarm, frequency or melody generator.
This port shares pins with IOB3, 4 and is set by mask option.
6/8-bit PWM output; set by mask option.
Negative supply voltage.
ALM BZB
BZ
O
O
O
PWM1, 2
GND
Name
I/O
Description