Presentation is loading. Please wait.

Presentation is loading. Please wait.

Direct Memory Access (DMA). DMA Features  7 independently configurable channels  Software programmable priorities: Very high, High, Medium or Low. 

Similar presentations


Presentation on theme: "Direct Memory Access (DMA). DMA Features  7 independently configurable channels  Software programmable priorities: Very high, High, Medium or Low. "— Presentation transcript:

1 Direct Memory Access (DMA)

2 DMA Features  7 independently configurable channels  Software programmable priorities: Very high, High, Medium or Low.  Programmable and Independent source and destination transfer data size: Byte, Halfword or Word.  3 event flags for each channel: DMA Half Transfer, DMA Transfer complete and DMA Transfer Error.  Memory-to-memory, peripheral-to-memory and memory-to-peripheral transfers and peripheral-to-peripheral transfers.  Programmable number of data to be transferred: up to 65535.  Support for circular buffer management.

3 DMA Request Mapping DMA SW TRIGGER DMA REQUEST OR ADC1 TIM2_CC3TIM4_CC1 SW TRIGGER OR USART3_TX SW TRIGGER OR SW TRIGGER OR SW TRIGGER OR SW TRIGGER OR SW TRIGGER OR High Priority Request Low Priority Request  The DMA controller provides access to 7 channels Channel1Channel2 Channel3Channel4Channel5Channel6Channel7 TIM1_CC1 TIM2_UP TIM3_CC3 SPI1_RX USART3_RX TIM1_CC2 SPI1_TX TIM3_CC4 TIM3_UP SPI2_RX I2C2_TX TIM1_CC4 USART1_TX TIM1_CCU TIM1_TRIG TIM4_CC2 USART1_RX TIM1_UP SPI2_TX I2C2_RX TIM2_CC1 TIM4_CC3 USART2_RX TIM1_CC3 TIM3_CC1 I2C1_TX TIM3_TRIG USART2_TX TIM2_CC2 TIM2_CC4 TIM4_UP I2C1_RX

4 DMA Normal Mode DMA Current Source Address DMA Current Destination Address Terminal counter register = N DMA Current Source Address DMA Current Destination Address Terminal counter register = 0 DMA Destination Address DMA Source Address Maximum count register = N DMA Stream x DMA Stream x Disabled DMA Current Source Address DMA Current Destination Address Terminal counter register= N-5

5 DMA Circular Mode DMA Destination Address DMA Source Address Maximum count register = N DMA Current Source Address DMA Current Destination Address Terminal counter register = N DMA Current Source Address DMA Current Destination Address Terminal counter register = 0 DMA Stream x Automatic Reload of Terminal counter register with N DMA Current Source Address DMA Current Destination Address Terminal counter register= N-5

6 Now you are able to… Develop your application on STM32F100 device using DMA

7 Thank you


Download ppt "Direct Memory Access (DMA). DMA Features  7 independently configurable channels  Software programmable priorities: Very high, High, Medium or Low. "

Similar presentations


Ads by Google