Hi folks, can anyone confirm that the test for dma transfer types at line 358 in stm32f2/dma.c should be changed from:
case DMA_ATYPE_PER:
/* Peripheral-to-peripheral is illegal */
return _dma_addr_type(src) == DMA_ATYPE_PER;
to
case DMA_ATYPE_PER:
/* Peripheral-to-peripheral is illegal */
return _dma_addr_type(src) == DMA_ATYPE_MEM;
The logic is that transferring from MEM to PER is ok.
Best regards
Magnus