i2c & dma

What could be included in further releases, or for the forum.
Posts: 1081
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

i2c & dma

Postby zmemw16 » Fri Aug 28, 2015 1:50 pm

first i wonder if there's a need for it? in http://www.stm32duino.com/viewtopic.php?p=5138#p5138
mention is made of spi & the dma add-on and i thought what other libraries might be extended, first was i2c,
actually its the only one so far:-)


User avatar
Posts: 5470
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia

Re: i2c & dma

Postby RogerClark » Fri Aug 28, 2015 10:13 pm

You would need to look in the manual for the STM32, but I suspect in theory you could add DMA to Hardware I2C.

However one big caveat is, from what i recall, That Hardware I2C may have some issues even without trying to get DMA working.

also using DMA without using a completion callback would be fairly pointless as its a slow protocol so you wont gain much performance by using DMA.

Return to “Ideas & suggestions”

Who is online

Users browsing this forum: No registered users and 1 guest