English
Language : 

MA101 Datasheet, PDF (10/30 Pages) Megawin Technology Co., Ltd – Low-speed USB Specification version 1.1 compliance
MEGAWIN
MAKE YOU WIN
MA101
Datasheet Version 1.02
When switch to TWSI Mode, the I/O configurations are allowed as follow:
PIN
Input/Output
CMOS/NMOS
Pull High Resistor
Enable/Disable
Output Buffer
P0.0
Output
CMOS
Disable
VCC
P0.1
Output
CMOS
Disable
TX/RX_LED
P0.2
Output
CMOS
Disable
USB_LED
P0.3
Output
CMOS
Disable
VCC
P0.4 ~ P0.7
User Control
User Control
User Control
User Control
P1.0 ~ P1.7
User Control
User Control
User Control
User Control
P2.0
User Control
Note
Note
User Control
P2.1 ~ P2.2
Note
Note
Note
Note
P2.3
User Control
Note
Note
User Control
P2.4 ~ P2.7
User Control
User Control
User Control
User Control
P3.0 ~ P3.3
User Control
User Control
User Control
User Control
P3.4
User Control
User Control
User Control
TWSI_SDA
P3.5 , P3.6
User Control
User Control
User Control
User Control
P3.7
User Control
User Control
User Control
TWS_SCL
P4.0 ~ P4.1
User Control
User Control
User Control
User Control
Note: If there is an EEPROM with Customer’s ID Data, user can’t change any setting on Port 2.1 and Port 2.2
by DLL Function Library. The setting includes Input/Out, CMOS/NMOS, Pull High Resistor
Enable/Disable and Output Value. On the contrary, if there is no EEPROM, Port 2.1 and Port 2.2 are
free to change by user.
5.2.3 TWSI Setting and Data Flow
User can use MA101_SetMode() function call in BridgeMini.DLL to change TWSI data rate setting as desired.
Parameter definition in TWSI
TWSI_Info
0 : Use TWSI_SDA / TWSI_SCL
1 : Use ID_SDA / ID_SCL
Device_Address 0x00~0x7F
Clock_Rate
0x00~0xFF for clock period
Note : EEPROM slave address must be 0x50.
This document information is the intellectual property of Megawin Technology Co., Ltd.
© Megawin Technology Co., Ltd. 2009 All rights reserved.
page10/30