Read 4 Bytes - Texas Instruments UCD3138 Technical Reference Manual

Digital power supply controller
Hide thumbs Also See for UCD3138:
Table of Contents

Advertisement

Memory Read Functionality

13.2.2 Read 4 Bytes

Boot ROM will interpret the command byte, read a word from the read address and complete the message
by sending the 4 data bytes and a PEC.
Start
Device Address & R/W
Block Size (0x04)
Data[31:24]
13.2.3 Read 16 Bytes
The Read 16 Bytes message reads 16 bytes from the address configured as the read address. The
master initiates the Read Block message by sending a device address and a command byte of 0xF9. The
Boot ROM will interpret the command byte, read 16 bytes starting at the read address and complete the
message by sending the 16 data bytes and a calculated PEC byte.
Start
Device Address & R/W (0x17)
Byte[2]
Byte[8]
Byte[14]
13.2.4 Read Next 16 Bytes
The Read Next 16 Bytes message reads a block of data (16 bytes) from the previous read address. It is
provided so that multiple memory reads do not require multiple Configure Read Address Commands. A
Read Next Block message must be preceded by either a Read Block Message or a Read Next Block
Message. The read address is initially configured prior to the Read Block message that starts the data
transfer. The master initiates the Read Next Block message by sending a device address and a command
byte of 0xF8. The Boot ROM will interpret the command byte, read 16 bytes starting at the new read
address and complete the message by sending the 16 data bytes and a calculated PEC byte. After this
message, the read address is automatically incremented by 16.
Start
Device Address & R/W (0x17)
Byte[2]
Byte[8]
Byte[14]
13.3 Read Version
The Read Version message reads the current ROM version from the Boot ROM. The USB/PMBus adapter
initiates the Read Version message by sending a device address and a command byte of 0xEC. The Boot
ROM will interpret the command byte and return the block size of 4 bytes, the current version number and
the PEC byte for the message. The current version for the version of UCD3138 should be 0x00030002.
Start
Device Address & R/W (0x17)
Version[15:8]
442
Boot ROM and Boot Flash
Command Byte (0xFA)
(0x16)
Data[23:16]
Device Address & R/W (0x16)
Block Size (0x10)
Byte[3]
Byte[4]
Byte[9]
Byte[10]
Byte[15]
Device Address & R/W (0x16)
Block Size (0x10)
Byte[3]
Byte[4]
Byte[9]
Byte[10]
Byte[15]
Device Address & R/W (0x16)
Block Size (0x04)
Version[7:0]
Copyright © 2016, Texas Instruments Incorporated
Repeated Start
Data[15:8]
Data[7:0]
Command Byte (0xF9)
Byte[0]
Byte[5]
Byte[11]
PEC
Command Byte (0xF9)
Byte[0]
Byte[5]
Byte[11]
PEC
Command Byte (0xF9)
Version[31:24]
PEC
SNIU028A – February 2016 – Revised April 2016
www.ti.com
Device Address & R/W
(0x17)
PEC
Stop
Repeated Start
Byte[1]
Byte[6]
Byte[7]
Byte[12]
Byte[13]
Stop
Repeated Start
Byte[1]
Byte[6]
Byte[7]
Byte[12]
Byte[13]
Stop
Repeated Start
Version[32:16]
Stop
Submit Documentation Feedback

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents