MYSON
TECHNOLOGY
MTV230M
(Rev 1.0)
=0
P41oe = 1
=0
P40oe = 1
=0
P57oe = 1
=0
P56oe = 1
=0
P55oe = 1
=0
P54oe = 1
=0
P53oe = 1
=0
P52oe = 1
=0
P51oe = 1
=0
P50oe = 1
=0
→ P4.2 is input pin.
→ P4.1 is output pin.
→ P4.1 is input pin.
→ P4.0 is output pin.
→ P4.0 is input pin.
→ P5.7 is output pin.
→ P5.7 is input pin.
→ P5.6 is output pin.
→ P5.6 is input pin.
→ P5.5 is output pin.
→ P5.5 is input pin.
→ P5.4 is output pin.
→ P5.4 is input pin.
→ P5.3 is output pin.
→ P5.3 is input pin.
→ P5.2 is output pin.
→ P5.2 is input pin.
→ P5.1 is output pin.
→ P5.1 is input pin.
→ P5.0 is output pin.
→ P5.0 is input pin.
OPTION (w) : Chip option configuration (All are "0" in Chip Reset).
PWMF = 1 → Selects 94KHz PWM frequency.
= 0 → Selects 47KHz PWM frequency.
DIV253 = 1 → PWM pulse width is 253 step resolution.
= 0 → PWM pulse width is 256 step resolution.
SlvAbs1,SlvAbs0 : Slave IIC block A's slave address length.
= 1,0 → 5-bits slave address.
= 0,1 → 6-bits slave address.
= 0,0 → 7-bits slave address.
ENSCL = 1
→ Enables slave IIC block to hold HSCL pin low while MTV230M is not able to
catch-up the speed of external master.
Msel = 1 → Master IIC block connects to HSCL/HSDA pins.
= 0 → Master IIC block connecst to ISCL/ISDA pins.
MIICF1,MIICF0 = 1,1 → Selects 400KHz Master IIC frequency.
= 1,0 → Selects 200KHz Master IIC frequency.
= 0,1 → Selects 50KHz Master IIC frequency.
= 0,0 → Selects 100KHz Master IIC frequency.
4. I/O Ports
4.1 Port1
Port1 is a group of pseudo open drain pins. It can be use as general purpose I/O. The behavior Port is the
same as standard 8051.
4.2 P3.0-2, P3.4-5
If these pins are not set as IIC pins, Port3 can be used as general purpose I/O, interrupt, UART and Timer
pins. The behavior of Port3 is the same as standard 8051.
4.3 Port4, Port5 and Port6
Port4 and Port5 are used as general purpose I/O. S/W needs to set the corresponding P4(n)oe and P5(n)oe
Revision 1.0
- 7-
2000/11/15