初级会员

- 积分
- 64
- 金钱
- 64
- 注册时间
- 2015-7-10
- 在线时间
- 7 小时
|
发表于 2015-7-10 16:29:01
|
显示全部楼层
4.3 GPIO fast data transfer with DMA
This example shows how to use different peripherals for DMA request and data transfer.
This mechanism allows to implement simple fast parallel synchronous interfaces without
using the CPU (for example a camera interface).
Timer 3 and DMA channel 6 connected to TIM3_TRIG are used to implement this data
acquisition interface. An 16-bit parallel data is available on the GPIO port and an external
clock signal applied on the external trigger input of Timer 3. On the rising edge of the
external trigger, the timer generates a DMA request. As the GPIO data register address is
set to DMA channel 6 peripheral address, the DMA controller reads the data from the GPIO
port on each DMA request, and stores it into an SRAM buffer.
有你要的功能
|
|