I have a setup of 2 STM32L0 MCUs on different PCBs that communicates together via I2C. I need to relay the incoming data I2C communication (RX) from one MCU as fast as possible to an UART (TX) of the other MCU, without any processing of the data itself.
Is it possible to directly connect the I2C RX with the UART-TX via DMA?
In my understanding this should be the fastest possible solution without blocking the CPU of the UART-relay-MCU. But unfortunately I found no comparable example with any peripheral, so I am afraid, this approach is either for some reasons I am not aware not the best or it is just not realizable.