SLUAAW9 May   2024 UCD90120A , UCD90124A , UCD90160 , UCD90160A , UCD90320 , UCD90320U , UCD9090 , UCD9090-Q1 , UCD9090A

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Options to Generate CSV File
  6. 3Examples
    1. 3.1 WriteByte
    2. 3.2 BlockWrite
    3. 3.3 BlockRead
    4. 3.4 SendByte
    5. 3.5 Pause
  7. 4Summary
  8. 5References

Examples

This section demonstrates how to interpret the CSV file. The example in this dcouent is based on the below format

Script type = SMBus Format=CSV; Hex=CoderUpper; BreakOutBytes=False; PEC=True; IncludeBlockLength=True

In the csv file, all data is formatted as shown Table 3-5.

Table 3-1 CSV Example
Command Keyword Device Address Command Code Data Byte(PEC is optional)
BlockWrite 0x13 0xE3 0x04F819000013

Command keyword is to tell which command protocol is used

Device Address is 7Bit(SMBus) or 8bit (I2C) Device Address.

The command code is covered in the Section 5

Date Byte is the payload data for the given command.

All lines in the csv file start with comments are comments and shall not be executed by the I2C host.