Note, your configuration structure needs to be "static const", it must exists while the driver is running so no auto variables.
Giovanni I am thinking that my configuration exists, when I call spi functions.
A DMA usually can fail when you make it access non-mapped memory so check your pointers ...
Search found 2 matches
- Wed Dec 02, 2020 3:48 pm
- Forum: STM32 Support
- Topic: STM32F407VG SPI DMA failure
- Replies: 3
- Views: 3305
- Tue Dec 01, 2020 1:00 pm
- Forum: STM32 Support
- Topic: STM32F407VG SPI DMA failure
- Replies: 3
- Views: 3305
STM32F407VG SPI DMA failure
Hi,
I am newbie in ChibiOS, I would like learn it. I have own board with MCU STM32F407VG, I tried write some functions for communication with AT25SF128ASHBT throught SPI.
When I tried comunicate with memory with lib from STM32Cube the memory comunicate well, when I try write similar code for Chibi ...
I am newbie in ChibiOS, I would like learn it. I have own board with MCU STM32F407VG, I tried write some functions for communication with AT25SF128ASHBT throught SPI.
When I tried comunicate with memory with lib from STM32Cube the memory comunicate well, when I try write similar code for Chibi ...