[riot-notifications] [RIOT-OS/RIOT] boards/stm32f4: Add DMA config for SPI (#14093)

Alexandre Abadie notifications at github.com
Wed May 20 17:13:59 CEST 2020


@aabadie commented on this pull request.



> @@ -27,6 +27,24 @@
 extern "C" {
 #endif
 
+/**
+ * @name    DMA streams configuration
+ * @{
+ */
+#ifdef MODULE_PERIPH_DMA
+static const dma_conf_t dma_config[] = {
+    { .stream = 11 },   /* DMA2 Stream 3 - SPI1_TX */

How do you determine the value set to stream ? I can't find anything related to 11 or 10 in the reference manual. Shouldn't it be 3 here and 2 below ?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/14093#pullrequestreview-415441938
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200520/2095d943/attachment.htm>


More information about the notifications mailing list