Pixel indices conversion, STM DMA2D

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Pixel indices conversion, STM DMA2D

      Hello,
      There is a function GUI__ExpandPixelIndicesEx that takes a buffer as an argument. This buffer is being read and written simultaneously during indices conversion. The problem is when converting from U16 to U32 using STM32 DMA2D. The output data seems to be corrupted. If I am not telling the emWin that I have HW conversion routine (GUICC_M565_SetCustColorConv) then the library does this conversion properly starting from the end of the buffer to the beginning. It seems that DMA2D fails to do so in case when SRC and DEST buffers are the same.
      Please, advice.