![Infineon XDPP1100 Скачать руководство пользователя страница 507](http://html1.mh-extra.com/html/infineon/xdpp1100/xdpp1100_technical-reference-manual_2055193507.webp)
User Manual 507 of 562 V 1.0
2021-08-25
XDPP1100 technical reference manual
Digital power controller
Central processing unit subsystem
Figure 119
Read byte flowchart
PMBUS Read Transaction
Wait for
irq_rx_after_start
Write Transation or
ARA
Slave_address
belonging to device
?
Y
Send ACK
Clear Interrupt flag:
isr = isr
Read address
Slave_address = status.slave_address
Send ACK
Wait for irq_rx
Clear Interrupt flag:
isr = isr
Read Command
command = rxdata.data
Command exist ?
#_expected_byte =
cmd_table[command].bytes
Write_pec_trans = false
Irq_tx_after_start ?
Clear Interrupt flag:
isr = isr
Read Calculated PEC
Wait for irq_rx or
irq_stop or
irq_tx_after_start
i#_byte_to_be_trans
mitted >
byte_cnt_tx ?
Y
Y
Y
Y
Y
Send Nack
Send Nack
end
end
N
Set #_byte_to_be_transmitted
TXDATA = +
Wait for irq_tx or
irq_stop
Irq_stop ?
Clear Interrupt flag:
isr = isr
TXDATA == TX PEC
Prepare Buffer (i.e. exec issued read
command)
Y
N
end
i#_byte_to_be_trans
mitted ==
byte_cnt_tx ?
N
Y
End w/ error
N
N
N
Y
Y