spi_hd_sequence_write.txt 436 B

123456789101112131415161718192021222324
  1. @startuml
  2. Title SPI HD Host Write
  3. participant Slave
  4. participant Host
  5. note over Host: Prepare data to send
  6. Host -> Slave: Read RX_BUF_LEN
  7. note over Host: available buffers =\nRX_BUF_LEN - (cached)RX_BUF_LEN
  8. note over Host: loop reading RX_BUF_LEN until\nbuffers available
  9. Host -> Slave: Send WRDMA
  10. Host -> Slave: Tranfer Data
  11. Host -> Slave: Send WR_DONE\n(at end of transfer)
  12. note over Host: update (cached)RX_BUF_LEN
  13. @enduml