cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f407 mem to mem DMA with different Sizes

MehranMsba
Associate II

My data has zeros every 2 bytes.

it's like this: 0x55 0x55 00 00 0xaa 0xaa 00 00 0x33 0x33 00 00 ......

I want to remove these zeros with address increment feature of DMA.

I wrote a configuration for stm32f107 DMA and removed these zeros without problem but when I write same configuration for stm32f407 all data is copied.

my configuration is:

PINC=MINC=1 ,

PSIZE=32-bit and MSIZE=16-Bit,

PINCOS=0

I saw somethings about packing and padding for stm32f4 DMA in RM0090,but I can't understand it.

Thanks.

10 REPLIES 10
MehranMsba
Associate II

Thanks.

I will test it.