English
Language : 

AMG-XB404 Datasheet, PDF (41/73 Pages) alpha microelectronics gmbh – Fully Integrated Single Motor Controller for Electrical Motors
AMG-XB404
Fully Integrated Single Motor Controller for Electrical Motors
After initiating a page write the EEPROM will not acknowledge requests for typically 5ms.
Consequently, waiting for the end of the write operation consists of sending a start condition
followed by a device address word, and evaluating the acknowledge non-acknowledge status. The
next write or read command may be sent after receiving an acknowledge signal from the
EEPROM.
DEVICE
ADDRESS
FIRST WORD SECOND WORD
ADDRESS n
ADDRESS n
DATA n
DATA (n+x)
SDA LINE
*
Note: *Don't CARE bits.
Figure 24: Write procedure
EEPROM Reads
As shown in figure 25 EEPROM reads consist of a dummy write operation, consisting of a “write”
device address word followed by a 16 bits wide start byte address, followed by a second start
condition and a “read” device address word.
Following this command sequence the EEPROM will return bytes starting at the specified address,
and increment the read address for every received acknowledge. The maximum byte address is
32767, after that the address will “roll over” to address 0. The sequential read operation is
terminated by sending a stop condition.
SDA LINE
DEVICE
ADDRESS
FIRST WORD SECOND WORD
ADDRESS n
ADDRESS n
*
DEVICE
ADDRESS
DATA n
DATA (n+x)
DUMMY WRITE
Note: *Don't CARE bits.
Figure 25: Read procedure
The serial bus' timing is shown in figure 26 below, while the timing values can be found in
chapter 8.3., p. 68.
AMG-XB404
Revision: A
2. Nov. 2012 © All rights reserved
Page 41 of 73