Possible to use TWO circular DMA buffers for same I2C rxd?
Hello,
I would like to use TWO circular DMA buffers for ONE I2C interface.
Depending on received address byte, in the ADDR interrupt I would always enable the correct circular buffer (disabling the other one - so at one time always only ONE buffer is active).
So I would like, depending on address of the received I2C message, switch the CCR_EN bit of the two DMA channels ... would this work? (or would switching EN off / on somehow reset the internal CNDTR setting?).
(In 12.4.4 DMA arbitration there is a note "If the channel x is disabled, the DMA registers are not reset... " ... so I have the slight hope that this might work?).
