SPI2/SPI3 DMA Error
Moderators: RoccoMarco, lbednarz, tfAteba
SPI2/SPI3 DMA Error
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.
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
- 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
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
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