Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
stm32:peripherals:dma_connection [2016/09/22 11:22] – [DMA1] feur | stm32:peripherals:dma_connection [2022/12/28 07:53] (current) – [Periphery/Memory Interface] ruan | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== DMA Connections ====== | ====== DMA Connections ====== | ||
- | ===== AHB Bus Matrix ===== | + | Each DMA controller is connected to the rest of the system in a different way. \\ |
+ | For memory to memory transfers you should use the DMA controller 2! \\ | ||
- | \\ {{ahb_bus_matrix.png?700em}} \\ \\ | + | \\ {{dma1_matrix.svg?350em}} {{dma2_matrix.svg? |
- | ===== DMA request mapping ===== | ||
- | ==== DMA1 ==== | + | ===== DMA controller 1 ===== |
+ | |||
+ | ==== Peripheral Interface ==== | ||
+ | |||
+ | On the peripheral interface the following marked peripherals are accessible. \\ | ||
+ | The <color red> | ||
+ | |||
+ | \\ {{dma1_periphery.svg? | ||
|< 100% 7em >| | |< 100% 7em >| | ||
^ ^ Stream 0 ^ Stream 1 ^ Stream 2 ^ Stream 3 ^ Stream 4 ^ Stream 5 ^ Stream 6 ^ Stream 7 ^ | ^ ^ Stream 0 ^ Stream 1 ^ Stream 2 ^ Stream 3 ^ Stream 4 ^ Stream 5 ^ Stream 6 ^ Stream 7 ^ | ||
Line 19: | Line 27: | ||
^ Channel 7 | | TIM6 Up | I2C2 RX | I2C2 RX | USART3 TX | DAC1 | DAC2 | I2C2 TX | | ^ Channel 7 | | TIM6 Up | I2C2 RX | I2C2 RX | USART3 TX | DAC1 | DAC2 | I2C2 TX | | ||
- | ==== DMA2 ==== | + | ==== Memory Interface |
+ | |||
+ | On the memory interface the following marked peripherals are accessible. \\ | ||
+ | |||
+ | \\ {{dma1_memory.svg? | ||
+ | |||
+ | ===== DMA controller 2 ===== | ||
+ | |||
+ | ==== Peripheral/ | ||
+ | |||
+ | This DMA controller can access the same peripherals on the memory interface as on the peripheral interface. \\ | ||
+ | The <color red> | ||
+ | |||
+ | \\ {{dma2_mem_per.svg? | ||
+ | |||
+ | |< 100% 7em >| | ||
+ | ^ ^ Stream 0 ^ Stream 1 ^ Stream 2 ^ Stream 3 ^ Stream 4 ^ Stream 5 ^ Stream 6 ^ Stream 7 ^ | ||
+ | ^ Channel 0 | ADC1 | SAI1 A | TIM8 Ch. 1 \\ TIM8 Ch. 2 \\ TIM8 Ch. 3 | SAI1 A | ADC1 | SAI1 B | TIM1 Ch. 1 \\ TIM1 Ch. 2 \\ TIM1 Ch. 3 | | | ||
+ | ^ Channel 1 | | DCMI | ADC2 | ADC2 | SAI1 B | SPI6 TX | SPI6 RX | DCMI | | ||
+ | ^ Channel 2 | ADC3 | ADC3 | | SPI5 RX | SPI5 TX | CRYP Out | CRYP In | HASH In | | ||
+ | ^ Channel 3 | SPI1 RX | | SPI1 RX | SPI1 TX | | SPI1 TX | | | | ||
+ | ^ Channel 4 | SPI4 RX | SPI4 TX | USART1 RX | SDIO | | USART1 RX | SDIO | USART1 TX | | ||
+ | ^ Channel 5 | | USART6 RX | USART6 RX | SPI4 RX | SPI4 TX | | USART6 TX | USART6 TX | | ||
+ | ^ Channel 6 | TIM1 TRG | TIM1 Ch. 1 | TIM1 Ch. 2 | TIM1 Ch. 1 | TIM1 TRG \\ TIM1 COM \\ TIM1 Ch. 4 | TIM1 Up | TIM1 Ch. 3 | | | ||
+ | ^ Channel 7 | | TIM8 Up | TIM8 Ch. 1 | TIM8 Ch. 2 | TIM8 Ch. 3 | SPI5 RX | SPI5 TX | TIM8 TRG \\ TIM8 COM \\ TIM8 Ch. 4 | |