Hello,
In DMAv2 module, there is dmaStreamSetMemory0 and dmaStreamSetMemory1 which is useful to implement double buffer.
BDMAv1 is also double buffer capable, but there is only a bdmaStreamSetMemory macro which update CM0AR (although in stm32_bdma.h
bdmaStreamSetMemory0 is used in a macro)
To be able to use double buffer with BDMAv1, and for consistency with DMAv2 could bdmaStreamSetMemory be renamed in bdmaStreamSetMemory0 and bdmaStreamSetMemory1 defined ?
Thanks
Alexandre
bdma dmav2 inconsistency for setMemory0/1 Topic is solved
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
- alex31
- Posts: 379
- Joined: Fri May 25, 2012 10:23 am
- Location: toulouse, france
- Has thanked: 38 times
- Been thanked: 62 times
- Contact:
Re: bdma dmav2 inconsistency for setMemory0/1
I join a patch proposal.
Alexandre
Alexandre
- Attachments
-
- dbmasetmemory01.patch.zip
- (1.39 KiB) Downloaded 115 times
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: bdma dmav2 inconsistency for setMemory0/1
Hi,
Macro added to trunk plus an alias for backward compatibility.
Giovanni
Macro added to trunk plus an alias for backward compatibility.
Giovanni
Who is online
Users browsing this forum: No registered users and 22 guests