Hello Marc,
This implementation is because for i2c send, you need to send 1 byte first to trigger the dma. In other words, because there must be an interrupt of complete 1-byte transfer to trigger the DMA, the address byte should be filled into I2Cx_D by the CPU itself.
Hope it helps!
Have a great day,
Felipe
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------