HMC6352 Honeywell, HMC6352 Datasheet - Page 4

no-image

HMC6352

Manufacturer Part Number
HMC6352
Description
Manufacturer
Honeywell
Datasheet

Specifications of HMC6352

Lead Free Status / Rohs Status
Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HMC6352
Manufacturer:
honeywell
Quantity:
12 800
Part Number:
HMC6352
Manufacturer:
HITTITE
Quantity:
20 000
Company:
Part Number:
HMC6352
Quantity:
3 448
Company:
Part Number:
HMC6352
Quantity:
3 448
Part Number:
HMC6352-TR
Manufacturer:
HIROSE
Quantity:
670
HMC6352
All bus transactions begin with the master device issuing the start sequence followed by the slave address byte. The
address byte contains the slave address; the upper 7 bits (bits7-1), and the Least Significant bit (LSb). The LSb of the
address byte designates if the operation is a read (LSb=1) or a write (LSb=0). At the 9
device will issue the ACK (or NACK). Following these bus events, the master will send data bytes for a write operation, or
the slave will transmit back data for a read operation. All bus transactions are terminated with the master issuing a stop
sequence.
The following timing diagram shows an example of a master commanding a HMC6352 (slave) into sleep mode by sending
the “S” command. The bottom two traces show which device is pulling the SDA line low.
I
SDA and SCL lines as appropriate to allow the slave device to manipulate these lines. In a software implementation, care
must be taken to perform these tasks in code.
Command Protocol
The command protocol defines the content of the data (payload) bytes of I
device (HMC6352).
After the master device sends the 7-bit slave address, the 1-bit Read/Write, and gets the 1-bit slave device acknowledge
bit returned; the next one to three sent data bytes are defined as the input command and argument bytes. To conserve
data traffic, all response data (Reads) will be context sensitive to the last command (Write) sent. All write commands shall
have the address byte least significant bit cleared (factory default 42(hex)). These commands then follow with the ASCII
command byte and command specific binary formatted argument bytes in the general form of:
(Command ASCII Byte) (Argument Binary MS Byte) (Argument Binary LS Byte)
The slave (HMC6352) shall provide the acknowledge bits between each data byte per the I
reads are done by sending the address byte (factory default 43(hex)) with the least significant bit set, and then clocking
back one or two response bytes, last command dependant. For example, an “A” command prompts the HMC6352 to
make a sensor measurement and to route all reads for a two byte compass heading or magnetometer data response.
Then all successive reads shall clock out two response bytes after sending the slave address byte. Table 1 shows the
HMC6352 command and response data flow.
4
2
C bus control can be implemented with either hardware logic or in software. Typical hardware designs will release the
M_SDA
M_SDA
S_SDA
S_SDA
SDA
SDA
SCL
SCL
START
START
START
Write to This I
0
0
0
1
1
1
42(hex)
0
0
0
2
0
0
0
C Address
0
0
0
0
0
0
1
1
1
0
0
0
ACK
ACK
ACK
0
0
0
1
1
1
0
0
0
2
C protocol sent by the master, and the slave
Command
1
1
1
“S”
0
0
0
th
0
0
0
clock pulse, the recieving slave
2
1
1
1
C protocol. Response byte
1
1
1
www.honeywell.com
ACK
ACK
ACK
STOP
STOP
STOP

Related parts for HMC6352