Our project is using at ATSAMV71 and I need to output an audio waveform using XDMAC and one of the DAC channels. For experimentation, I am using the ATSAMV71 Xplained Ultra board, but we will ultimately be using custom hardware. For the moment, getting something to run on the SAMV71 Xplained board would be adequate.
After some searching, I found an example for Harmony that apparently generates a sine wave on DACC0 using XDMAC, but it uses very low-level calls to directly access registers and configure the XDMAC, Timer T0 and DACC0. See https://github.com/Microchip-MPLAB-Harmony/csp_apps_sam_e70_s70_v70_v71/tree/master/apps/dacc/dacc_wav_gen_dma
Our project is already using Atmel Start and ASFv4 to provide an abstraction layer for all of the peripherals/drivers/middleware required, and we want to keep using this framework.
How can I create an equivalent DMA to DAC project using Atmel Start? I admit that I am new to Atmel Start and do not completely understand the mapping of each component and setting to underlying/equivalent CMSIS-style calls. As an aside, we are using IAR's Embedded Workbench as our IDE/compiler/debugger, but if I can get the project configured using Atmel Start, it seems like a simple matter to export to IAR.
Help is greatly appreciated, and I hope will help others trying to leverage ASFv4 and previously-written examples for Harmony.
Thanks in advance!