madias wrote:I would set all the DMA stuff, including the DMA enable, somewhere else, so
bb_peri_set_bit(&dev->regs->CR2, SPI_CR2_TXDMAEN_BIT, 1); // DMA enable
should not be there.
Yes, sorry, this example is from my test code, I forgot to eliminate the DMA line.
Effect pedal and DUE: I know that stuff: real 12-bit crunchy sound! Another thing: For uncomplicated effects like simple delay you wont have enough RAM. I read, that the CMSIS DSP library runs not only on M4, but on M3...maybe a good starting point for porting it (I know that on energia/TI - Tiva somebody ported it)
edit: found it! https://github.com/sumotoy/CMSIS-librar ... a-LM4F-mcu
About the RAM, it depends though, we could always add an SPI RAM, or an FSMC RAM and have plenty