AN 502: Implementing SMBus Controller in Altera MAX Series

ID 683635
Date 9/22/2014
Public

1.1.3. Communicating with the SMBus Controller

Whenever the host wants to communicate with the controller, it should first read the status register to determine the present state of the controller and if necessary, write into it and then into other registers.

Write Cycle

Figure 3. Timing Diagram for Write Cycle
The following describes the write cycle:
  1. Deassert CS low.
  2. Place address of the desired register on address bus.
  3. Place data on data bus.

Read Cycle

Figure 4. Timing Diagram for Read Cycle
The following describes the read cycle:
  1. Deassert CS low.
  2. Place address of the desired register on address bus.
  3. Assert RD to read data from data bus.
Note: A read/write operation always reads/writes an entire register. Single bit operations are not possible.