Справочник Пользователя для Intel J1750 FH8065301562600
Модели
FH8065301562600
Datasheet
1091
PCU – System Management Bus (SMBus)
Quick Command
When programmed for a Quick Command, the Transmit Slave Address
(SMB_Mem_TSA) register is sent. The PEC byte is never appended to the Quick
Protocol. Software should force the SMB_Config_HCTL.PECEN bit to 0b when
performing the Quick Command. See section 5.5.1 of the System Management Bus
(SMBus) Specification, Version 2.0 for the format of the protocol.
(SMB_Mem_TSA) register is sent. The PEC byte is never appended to the Quick
Protocol. Software should force the SMB_Config_HCTL.PECEN bit to 0b when
performing the Quick Command. See section 5.5.1 of the System Management Bus
(SMBus) Specification, Version 2.0 for the format of the protocol.
Send Byte / Receive Byte
For the Send Byte command, the Transmit Slave Address (SMB_Mem_TSA) and Host
Command (SMB_Mem_HCMD) registers are sent. For the Receive Byte command, the
Transmit Slave Address (SMB_Mem_TSA) register is sent. The data received is stored in
the Data 0 (SMB_Mem_HD0) register.
Command (SMB_Mem_HCMD) registers are sent. For the Receive Byte command, the
Transmit Slave Address (SMB_Mem_TSA) register is sent. The data received is stored in
the Data 0 (SMB_Mem_HD0) register.
The Receive Byte is similar to a Send Byte, the only difference is the direction of data
transfer. See sections 5.5.2 and 5.5.3 of the System Management Bus (SMBus)
Specification, Version 2.0 for the format of the protocol.
transfer. See sections 5.5.2 and 5.5.3 of the System Management Bus (SMBus)
Specification, Version 2.0 for the format of the protocol.
Write Byte/Word
The first byte of a Write Byte/Word access is the command code. The next 1 or 2 bytes
are the data to be written. When programmed for a Write Byte/Word command, the
Transmit Slave Address (SMB_Mem_TSA), Host Command (SMB_Mem_HCMD), and
Data 0 (SMB_Mem_HD0) registers are sent. In addition, the Data 1 (SMB_Mem_HD1)
register is sent on a Write Word command. See section 5.5.4 of the System
Management Bus (SMBus) Specification, Version 2.0 for the format of the protocol.
are the data to be written. When programmed for a Write Byte/Word command, the
Transmit Slave Address (SMB_Mem_TSA), Host Command (SMB_Mem_HCMD), and
Data 0 (SMB_Mem_HD0) registers are sent. In addition, the Data 1 (SMB_Mem_HD1)
register is sent on a Write Word command. See section 5.5.4 of the System
Management Bus (SMBus) Specification, Version 2.0 for the format of the protocol.
Read Byte/Word
Reading data is slightly more complicated than writing data. First the processor must
write a command to the slave device. Then it must follow that command with a
repeated start condition to denote a read from that device's address. The slave then
returns 1 or 2 bytes of data.
write a command to the slave device. Then it must follow that command with a
repeated start condition to denote a read from that device's address. The slave then
returns 1 or 2 bytes of data.
When programmed for the read byte/word command, the Transmit Slave Address
(SMB_Mem_TSA) and Host Command (SMB_Mem_HCMD) registers are sent. Data is
received into the Data 0 (SMB_Mem_HD0) on the read byte, and the Data 0
(SMB_Mem_HD0) and Data 1 (SMB_Mem_HD1) registers on the read word. See
section 5.5.5 of the System Management Bus (SMBus) Specification, Version 2.0 for
the format of the protocol.
(SMB_Mem_TSA) and Host Command (SMB_Mem_HCMD) registers are sent. Data is
received into the Data 0 (SMB_Mem_HD0) on the read byte, and the Data 0
(SMB_Mem_HD0) and Data 1 (SMB_Mem_HD1) registers on the read word. See
section 5.5.5 of the System Management Bus (SMBus) Specification, Version 2.0 for
the format of the protocol.