<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stmhal/spi.c, branch v1.8.6</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.6</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.6'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-10-18T03:34:08+00:00</updated>
<entry>
<title>stmhal: Refactor pin usage to use mp_hal_pin API.</title>
<updated>2016-10-18T03:34:08+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-18T03:32:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d49d81b1675b39c0c29c95b105edbbb7384f9314'/>
<id>urn:sha1:d49d81b1675b39c0c29c95b105edbbb7384f9314</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal/spi: Enable use of fast software SPI.</title>
<updated>2016-10-04T02:51:30+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-04T02:51:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bd925b59c3177542fa69c3c95f9f1a40ced18039'/>
<id>urn:sha1:bd925b59c3177542fa69c3c95f9f1a40ced18039</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod/machine_spi: Use delay_half, not baudrate, for internal timing.</title>
<updated>2016-10-04T02:43:02+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-04T02:43:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b932b2dd1faaf3091b13af7d213041a737e40fac'/>
<id>urn:sha1:b932b2dd1faaf3091b13af7d213041a737e40fac</id>
<content type='text'>
The delay_half parameter must be specified by the port to set up the
timing of the software SPI.  This allows the port to adjust the timing
value to better suit its timing characteristics, as well as provide a
more accurate printing of the baudrate.
</content>
</entry>
<entry>
<title>stmhal/spi: Use software SPI if no periph id given, even if pins given.</title>
<updated>2016-10-04T02:38:11+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-04T02:38:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9f1e395c167648d1b7fef1175290b0047ee6e1f4'/>
<id>urn:sha1:9f1e395c167648d1b7fef1175290b0047ee6e1f4</id>
<content type='text'>
It's simpler to just default to always using software SPI if no specific
peripheral id/name is given.  To use hardware SPI users must specify a
hardware peripheral id as the first parameter to the SPI constructor.
</content>
</entry>
<entry>
<title>stmhal/spi: Make machine.SPI class conform to correct API.</title>
<updated>2016-10-03T06:12:43+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-03T05:45:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d4a5ca505676b207370d172f307b845380dea2da'/>
<id>urn:sha1:d4a5ca505676b207370d172f307b845380dea2da</id>
<content type='text'>
Includes both software and hardware SPI implementations.
</content>
</entry>
<entry>
<title>stmhal/spi: Simplify spi_transfer function to take only one buf len arg.</title>
<updated>2016-10-03T01:47:56+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-03T01:47:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a22a67661aa4f6309efa1e81b279629050fd1966'/>
<id>urn:sha1:a22a67661aa4f6309efa1e81b279629050fd1966</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod/machine_spi: Simplify SPI xfer function to only take one buf len.</title>
<updated>2016-10-03T01:39:31+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-03T01:39:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5bb28c7f10ebd1036302cf7ac0b24a7a233de2aa'/>
<id>urn:sha1:5bb28c7f10ebd1036302cf7ac0b24a7a233de2aa</id>
<content type='text'>
There is no need to take src_len and dest_len arguments.  The case of
reading-only with a single output byte (originally src_len=1, dest_len&gt;1)
is now handled by using the output buffer as the input buffer, and using
memset to fill the output byte into this buffer.  This simplifies the
implementations of the spi_transfer protocol function.
</content>
</entry>
<entry>
<title>stmhal/spi: Support new machine SPI methods in legacy SPI object.</title>
<updated>2016-09-01T06:40:35+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-09-01T06:37:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=49406b0ac6a10406e1505d3fda2447571649f853'/>
<id>urn:sha1:49406b0ac6a10406e1505d3fda2447571649f853</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal/spi: Factor out SPI transfer code to a single function.</title>
<updated>2016-09-01T06:40:32+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-09-01T06:36:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9b64d1966b831be971e6f743a7d2a93047205c05'/>
<id>urn:sha1:9b64d1966b831be971e6f743a7d2a93047205c05</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Make SPI NSS pin definition optional.</title>
<updated>2016-07-30T19:08:20+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2016-07-15T23:44:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=460bceca391a93bc0a06988eb8984f8b245dad62'/>
<id>urn:sha1:460bceca391a93bc0a06988eb8984f8b245dad62</id>
<content type='text'>
Some boards (like the GHI Electronics G30 Dev Board) don't use
NSS at all and rather just use GPIO chip selects.
</content>
</entry>
</feed>
