DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

MTV212AN32 View Datasheet(PDF) - Myson Century Inc

Part Name
Description
Manufacturer
MTV212AN32 Datasheet PDF : 23 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
MYSON
TECHNOLOGY
MTV212A32
(Rev. 1.2)
and IICpass flag is set, the host may access the EEPROM directly. Software can test the HSCL condition by
reading the Hbusy flag, which is set in case of HSCL=0, and keeps high for 100uS after the HSCL's rising
edge. S/W can launch the master IIC transmit/receive by clearing the P bit. Once P=0, MTV212A32 will hold
HSCL low to isolate the host's access to EEPROM. A summary of master IIC access is illustrated as follows.
7.4.1. To write IIC Device
1. Write MBUF the Slave Address.
2. Set S bit to Start.
3. After the MTV212A32 transmit this byte, a MbufI interrupt will be triggered.
4. Program can write MBUF to transfer next byte or set P bit to stop.
* Please see the attachments about "Master IIC Transmit Timing".
7.4.2. To read IIC Device
1. Write MBUF the Slave Address.
2. Set S bit to Start.
3. After the MTV212A32 transmit this byte, a MbufI interrupt will be triggered.
4. Set or reset the MAckO flag according to the IIC protocol.
5. Read out MBUF the useless byte to continue the data transfer.
6. After the MTV212A32 receives a new byte, the MbufI interrupt is triggered again.
7. Read MBUF also trigger the next receive operation, but set P bit before read can terminate the operation.
* Please see the attachments about "Master IIC Receive Timing".
Reg name
IICCTR
IICSTUS
IICSTUS
INTFLG
INTFLG
INTEN
MBUF
RCABUF
TXABUF
SLVAADR
RCBBUF
TXBBUF
SL VB ADR
DBUF
addr
00h (r/w)
01h (r)
02h (r)
03h (r)
03h (w)
04h (w)
05h (r/w)
06h (r)
06h (w)
07h (w)
08h (r)
08h (w)
09h (w)
0Ah (w)
bit7
DDC2
WadrB
MAckIn
TXBI
ETXBI
ENSlvA
ENSlvB
bit6
WadrA
Hifreq
RCBI
ERCBI
bit5
bit4
bit3
bit2
bit1
bit0
MAckO P
S
SlvRWB SAckIn SLVS
SlvAlsb1 SlvAlsb0
Hbusy
SlvBMI TXAI RCAI SlvAMI DbufI MbufI
SlvBMI
SlvAMI
MbufI
ESlvBMI ETXAI ERCAI ESlvAMI EDbufI EMbufI
Master IIC receive/transmit data buffer
Slave A IIC receive buffer
Slave A IIC transmit buffer
Slave A IIC address
Slave B IIC receive buffer
Slave B IIC transmit buffer
Slave B IIC address
DDC1 transmit data buffer
IICCTR (r/w) : IIC interface control register.
DDC2 = 1 MTV212A32 is in DDC2 mode, write "0" can clear it.
= 0 MTV212A32 is in DDC1 mode.
MAckO = 1 In master receive mode, NACK is returned by MTV212A32.
= 0 In master receive mode, ACK is returned by MTV212A32.
S, P = , 0 Start condition when Master IIC is not during transfer.
= X, ↑ → Stop condition when Master IIC is not during transfer.
= 1, X Will resume transfer after a read/write MBUF operation.
= X, 0 Force HSCL low and occupy the master IIC bus.
* A write/read MBUF operation can be recognized only after 10us of the MbufI flag's rising edge.
IICSTUS (r) : IIC interface status register.
WadrB = 1 The data in RCBBUF is word address.
WadrA = 1 The data in RCABUF is word address.
SlvRWB = 1 Current transfer is slave transmit
Revision 1.2
- 16 -
2000/07/04

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]