PIC24 DMA SPI

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
viki2000
Posts: 190
Joined: Mon Jul 07, 2014 9:38 am
Has thanked: 30 times
Been thanked: 77 times
Contact:

PIC24 DMA SPI

Post by viki2000 »

I am using PIC24HJ64GP202 with SPI DAC MCP4921 to generate an analog signal.
I have tried several approaches: CORDIC, lookup table and polynomial approximation (even ASM).
I would like to speed up the process in order to provide more samples per second to the DAC by using DMA.

Do you have any example how to setup the DMA with SPI in order to accomplish that with Flowcode 7?

Post Reply