SPI2/SPI3 DMA Error

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
goahunter
Posts: 29
Joined: Thu Aug 16, 2012 10:59 pm

SPI2/SPI3 DMA Error

Post 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.
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: SPI2/SPI3 DMA Error

Post by Giovanni »

Hi,

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

Giovanni
goahunter
Posts: 29
Joined: Thu Aug 16, 2012 10:59 pm

Re: SPI2/SPI3 DMA Error

Post by goahunter »

Alright thanks!
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: SPI2/SPI3 DMA Error

Post 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
Post Reply