Page 1 of 1

SPI2/SPI3 DMA Error

Posted: Mon Sep 24, 2012 6:23 pm
by goahunter
I'm not sure if this has been covered before, but I've recently started having trouble with one of my SPI channels ever since I switched my board from a medium density device to a XL density device. (my chip is an STM32f103VG which is XL density) Before this I was able to use SPI 1 & 2 without a problem but a few instances have changed and have to change settings to an XL density. I'm now getting a compile time error of #error directive: "invalid DMA stream to SPI2 RX". I'm running Chibios 2.4.0.

Re: SPI2/SPI3 DMA Error

Posted: Tue Sep 25, 2012 6:33 am
by Giovanni
Hi,

I will give this a try as soon I am back to home.

Giovanni

Re: SPI2/SPI3 DMA Error

Posted: Tue Sep 25, 2012 9:10 pm
by goahunter
Alright thanks!

Re: SPI2/SPI3 DMA Error

Posted: Sat Sep 29, 2012 1:06 pm
by Giovanni
Hi,

I am unable to replicate the problem, is it possible you changed the DMA settings in mcuconf.h or are using a wrong mcuconf.h?

Giovanni