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

BlockWrite

BlockWrite is a SMBus protocol which sends the command code followed by various length of data as shown in Figure 3-2.

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

Table 3-5 tells that the current row is a block write protocol:

Device Address is 0x13. Command Code is 0xE3, Data Length is 4, Data is 0xF8190000 and the last byte 0x13 is PEC

Note: the data length byte is optional in the csv file which controlled by Figure 3-3

 Block Length Byte
                    Setting Figure 3-3 Block Length Byte Setting