# 8720cm spi+dma support dma loop mode ？

**URL:** <https://forum.amebaiot.com/t/8720cm-spi-dma-support-dma-loop-mode/1004>\
**Category:** Peripherals\
**Tags:** rtl8720cx, dmac, spi\
**Created:** [December 29, 2021, 7:18am UTC](https://forum.amebaiot.com/t/8720cm-spi-dma-support-dma-loop-mode/1004 "2021-12-29T07:18:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Howe1024\_Li](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/howe1024_li/32/771_2.png) [@Howe1024\_Li](https://forum.amebaiot.com/u/Howe1024_Li)\
**Post date:** [December 29, 2021, 7:18am UTC](https://forum.amebaiot.com/t/8720cm-spi-dma-support-dma-loop-mode/1004/1 "2021-12-29T07:18:06Z")

</div>

how to use 8720cm，spi+dma，support dma loop mode ？？？

---

<div class="post-metadata">

**Author:** ![xidameng](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/xidameng/32/18_2.png) [@xidameng](https://forum.amebaiot.com/u/xidameng)\
**Post date:** [December 29, 2021, 9:54am UTC](https://forum.amebaiot.com/t/8720cm-spi-dma-support-dma-loop-mode/1004/2 "2021-12-29T09:54:42Z")

</div>

Here is the **SPI+DMA** example code for Ameba Z2,

> **[ambz2\_sdk/project/realtek\_amebaz2\_v0\_example/example\_sources/spi\_stream\_dma\_twob...](https://github.com/ambiot/ambz2_sdk/tree/master/project/realtek_amebaz2_v0_example/example_sources/spi_stream_dma_twoboard)**
>
> master/project/realtek\_amebaz2\_v0\_example/example\_sources/spi\_stream\_dma\_twoboard
