<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stmhal/dma.h, branch esp-extra-scripts</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=esp-extra-scripts</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=esp-extra-scripts'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-06-29T13:28:49+00:00</updated>
<entry>
<title>stmhal: Correct DMA to allow SD card on L4 MCUs.</title>
<updated>2016-06-29T13:28:49+00:00</updated>
<author>
<name>dpslwk</name>
<email>dps.lwk@gmail.com</email>
</author>
<published>2016-06-29T11:26:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b03df60f32c977a8a272cdeeaf1812f79918e69c'/>
<id>urn:sha1:b03df60f32c977a8a272cdeeaf1812f79918e69c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: L4: Adapt DMA to be able to support STM32L4 MCU series.</title>
<updated>2016-05-05T13:51:20+00:00</updated>
<author>
<name>Tobias Badertscher</name>
<email>python@baerospace.ch</email>
</author>
<published>2016-03-22T10:28:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e64032d6fdeb079de2ace20b64899d1ceb6754f1'/>
<id>urn:sha1:e64032d6fdeb079de2ace20b64899d1ceb6754f1</id>
<content type='text'>
The main thing is to change the DMA code in a way that the structure
DMA_Stream_TypeDef (which is similar to DMA_Channel_TypeDef on stm32l4)
is no longer used outside of dma.c, as this structure only exists for the
F4 series.  Therefore I introduced a new structure (dma_descr_t) which
handles all DMA specific stuff for configuration.  Further the periphery
(spi, i2c, sdcard, dac) does not need to know the internals of the dma.
</content>
</entry>
<entry>
<title>stmhal: Extend SPI support to fully support all SPI devices on STM32F429.</title>
<updated>2015-12-16T00:38:36+00:00</updated>
<author>
<name>Tobias Badertscher</name>
<email>python@baerospace.ch</email>
</author>
<published>2015-12-08T14:41:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c5d8ffef581fe83ccec276d0bfa8fcc15e9f9524'/>
<id>urn:sha1:c5d8ffef581fe83ccec276d0bfa8fcc15e9f9524</id>
<content type='text'>
This includes SPI4, SPI5 and SPI6.
</content>
</entry>
<entry>
<title>stmhal: Put all DMA channel &amp; stream definitions in dma.h</title>
<updated>2015-12-02T22:55:57+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-12-01T08:42:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0077958ad0d278c87620ee8ead9a9aea80f1663d'/>
<id>urn:sha1:0077958ad0d278c87620ee8ead9a9aea80f1663d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: On SysTick IRQ, only process one DMA channel at a time.</title>
<updated>2015-11-24T15:44:16+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-11-24T15:40:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=22bd23114af166980bad6ff00caaf97fdb1f2cf4'/>
<id>urn:sha1:22bd23114af166980bad6ff00caaf97fdb1f2cf4</id>
<content type='text'>
This can be generalised if/when more processing is needed by SysTick.

Thanks to @chuckbook for the idea.
</content>
</entry>
<entry>
<title>stmhal: Turn off DMA clocks when idle for 100 msec</title>
<updated>2015-11-24T09:37:25+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-11-16T01:02:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b677f03407c1b35fcfc4d6948a34a4281033865a'/>
<id>urn:sha1:b677f03407c1b35fcfc4d6948a34a4281033865a</id>
<content type='text'>
Turning on each DMA block increases the current consumption
by about 8 mA. This code adds an idle timer for each DMA
block and turns off the clocks when no streams are in use
for 128 msec. Having a small timeout allows for improved
performance when back-to-back transfers are being performed.

The 128 msec is basically a guess.
</content>
</entry>
<entry>
<title>stmhal/dma.c: Modify dma_init() to accept init struct as an argument</title>
<updated>2015-06-24T16:48:52+00:00</updated>
<author>
<name>blmorris</name>
<email>bryan.morrissey@gmail.com</email>
</author>
<published>2015-06-22T13:24:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c5175526dda06d278dd569dd7bfce0c65cbbe5fc'/>
<id>urn:sha1:c5175526dda06d278dd569dd7bfce0c65cbbe5fc</id>
<content type='text'>
This removes hard-coded DMA init params from dma_init(), instead defining
these parameters in a DMA_InitTypeDef struct that gets passed as an
argument to dma_init()
This makes dma_init more generic so it can be used for I2S and SD Card,
which require different initialization parameters.
</content>
</entry>
<entry>
<title>stmhal: Factor out DMA initialisation code from spi.c.</title>
<updated>2015-06-10T13:01:44+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-06-10T12:06:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3d30d605f5286774edb7669f3958628e5c656048'/>
<id>urn:sha1:3d30d605f5286774edb7669f3958628e5c656048</id>
<content type='text'>
This is so that the DMA can be shared by multiple peripherals.
</content>
</entry>
</feed>
