Hi
I am working on DAC module for Vybrid VF65GS10 and successfully done with
non- buffered support [DAC0_STATCTRL = 0x0000E002]
Buffered support [DAC0_STATCTRL = 0x0F01E002; Set DACSWTRG bit in loop to advance read pointer]
I have tried to use DAC with DMA but no success. [I have successfully used DMA with Serial].
Here is my settings for DAC
[DAC_STATCTRL = 0x0080C702]
DAC0 interrupt is enabled [87]
Here is my settings for DMA
DMA0
DMA0_MUX1
Peripheral ID: 32
DMA Channel: 16
If I manually set DMA_TCD_CSR[START] bit during debugging then data is appeared in data register of DAC. otherwise no data is visible on DAC Data Register (Buffer 0).
What is wrong with my configurations.
Hi,
Attached you can find a very simple example I created. It is using a circular buffer for the DMA. PDB to update the DAC pointer.
The example is in IAR using as reference the vybrid examples VYBRID_SAMPLE_CODE_SBCH found at:
I hope that helps.
timesyssupport can you attend this case?
Hi,
I am working with the customer already. The customer needs an example with no OS.
Regards,
Alejandro