English
Language : 

MA101 Datasheet, PDF (9/30 Pages) Megawin Technology Co., Ltd – Low-speed USB Specification version 1.1 compliance
MEGAWIN
MAKE YOU WIN
MA101
Datasheet Version 1.02
5.1.4 Port Change Report
At UART mode, if Port 0.6 or Port 0.7 changes, it does not generate Port Change Report. It means it will not
detect 1 on the return value at Port 0.6 or Port 0.7 on the MA101_GetPortStatus() function.
5.2 TWSI Mode
5.2.1 Feature
MA101 support 2 interfaces of Two-Wire-Serial-Interface master. User can change data rate as desired. One
of interface for EEPROM access, another is for user application. User can use MA101_SetMode() function
call in BridgeMini.DLL to change TWSI data rate setting as desired. Recommend user use this interface in
single master system.
5.2.2 Initial and GPIO Setting
When switch to TWSI Mode, different number for bus will initial different bus. Initial setting is Output and
release HIGH on BUS.
Initial Table as follow, others unchanged:
Bus
No.
PIN
Function
Input/Output
P3.4 TWSI_SDA
0
P3.7 TWSI_SCL
Output
Output
P2.1
1
P2.2
ID_SCL
ID_SDA
Output
Output
CMOS/NMOS
Unchanged
Unchanged
Unchanged
Unchanged
Pull High Resistor
Enable/Disable
Unchanged
Unchanged
Unchanged
Unchanged
Output Buffer
High
High
High
High
User can use MA101_SetIO_T(), MA101_SetIO_M(), and MA101_SetIO_V() function call in BridgeMini.DLL
to change GPIO setting as desired. Beware that during the data transmission, it is recommend not to Set
Mode; otherwise data might be lost. Also, before any data transmission, be sure the corresponding circuit
environment is built up.
This document information is the intellectual property of Megawin Technology Co., Ltd.
© Megawin Technology Co., Ltd. 2009 All rights reserved.
page9/30