<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stmhal/spi.c, branch v1.5.1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.5.1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.5.1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-10-31T16:14:30+00:00</updated>
<entry>
<title>all: Add py/mphal.h and use it in all ports.</title>
<updated>2015-10-31T16:14:30+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-10-30T23:03:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=731f359292c0e2630873df1a19c5baac7287024f'/>
<id>urn:sha1:731f359292c0e2630873df1a19c5baac7287024f</id>
<content type='text'>
py/mphal.h contains declarations for generic mp_hal_XXX functions, such
as stdio and delay/ticks, which ports should provide definitions for.  A
port will also provide mphalport.h with further HAL declarations.
</content>
</entry>
<entry>
<title>stmhal: Use polling, not DMA, for 1 byte SPI transfers.</title>
<updated>2015-09-15T19:45:37+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-09-15T19:45:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d80174d7c3fe36f139c639d6a820cc4cbb88ddf9'/>
<id>urn:sha1:d80174d7c3fe36f139c639d6a820cc4cbb88ddf9</id>
<content type='text'>
There is an issue sending 1 byte on the SPI bus using DMA, but it only
occurs when the transmit is done for the first time after initialising
the SPI and DMA peripherals.  All other cases (sending 2 or more bytes,
doing send_recv, doing recv first) work okay.  We sidestep this issue by
using polling (not DMA) for all 1 byte transfers.  This is fine because
a 1 byte transfer can't be interrupted and doesn't need the benefits of
DMA (and using polling for this case is more efficient).

Resolves #1456.
</content>
</entry>
<entry>
<title>stmhal: Fix hardfault when configured as a SPI slave</title>
<updated>2015-08-05T22:42:05+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-08-05T06:36:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8a1a5c236d1fc07596a1f23f73e26f24c0e5b540'/>
<id>urn:sha1:8a1a5c236d1fc07596a1f23f73e26f24c0e5b540</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Enable SPI support for F7 MCUs.</title>
<updated>2015-08-05T22:38:49+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-08-05T05:50:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5e11d2b349bffe92c539649799b27c946c2ff17b'/>
<id>urn:sha1:5e11d2b349bffe92c539649799b27c946c2ff17b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Factor GPIO clock enable logic into mp_hal_gpio_clock_enable.</title>
<updated>2015-08-02T23:14:48+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-08-02T23:05:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0851751615580d02bd6f841e13651923f05fde59'/>
<id>urn:sha1:0851751615580d02bd6f841e13651923f05fde59</id>
<content type='text'>
Extracted GPIO clock enable logic into mp_hal_gpio_clock_enable
and called from anyplace which might need to use GPIO functions
on ports other than A-D.

Thanks to Dave Hylands for the patch.
</content>
</entry>
<entry>
<title>stmhal: Add STM32F7DISC and associated changes.</title>
<updated>2015-07-29T23:38:32+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-07-28T18:13:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=92d4b51ad5d828930334f87d9619a78b5877a384'/>
<id>urn:sha1:92d4b51ad5d828930334f87d9619a78b5877a384</id>
<content type='text'>
</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>
<entry>
<title>stmhal: Fix slow SPI DMA transfers by removing wfi from DMA wait loop.</title>
<updated>2015-06-03T22:20:23+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-06-03T22:20:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=53a8aeb6e7a89ad169ad3f9e5553d51fb86c03b8'/>
<id>urn:sha1:53a8aeb6e7a89ad169ad3f9e5553d51fb86c03b8</id>
<content type='text'>
Addresses issue #1268.
</content>
</entry>
<entry>
<title>stmhal: Fix off-by-one error when checking for valid I2C and SPI bus.</title>
<updated>2015-05-28T10:05:44+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-05-28T10:05:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=17d9b5006dc8dc585de6c52abfb1a65487e0d16d'/>
<id>urn:sha1:17d9b5006dc8dc585de6c52abfb1a65487e0d16d</id>
<content type='text'>
</content>
</entry>
</feed>
