<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stmhal/spi.c, branch 2.x</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=2.x</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=2.x'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-08-13T12:52:33+00:00</updated>
<entry>
<title>all: Raise exceptions via mp_raise_XXX</title>
<updated>2017-08-13T12:52:33+00:00</updated>
<author>
<name>Javier Candeira</name>
<email>javier@candeira.com</email>
</author>
<published>2017-08-09T04:40:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=35a1fea90b2cae9d5cc8e9eab62ba4c67e8786db'/>
<id>urn:sha1:35a1fea90b2cae9d5cc8e9eab62ba4c67e8786db</id>
<content type='text'>
  - Changed: ValueError, TypeError, NotImplementedError
  - OSError invocations unchanged, because the corresponding utility
    function takes ints, not strings like the long form invocation.
  - OverflowError, IndexError and RuntimeError etc. not changed for now
    until we decide whether to add new utility functions.
</content>
</entry>
<entry>
<title>all: Use the name MicroPython consistently in comments</title>
<updated>2017-07-31T08:35:40+00:00</updated>
<author>
<name>Alexander Steffen</name>
<email>devel.20.webmeister@spamgourmet.com</email>
</author>
<published>2017-06-30T07:22:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=55f33240f3d7051d4213629e92437a36f1fac50e'/>
<id>urn:sha1:55f33240f3d7051d4213629e92437a36f1fac50e</id>
<content type='text'>
There were several different spellings of MicroPython present in comments,
when there should be only one.
</content>
</entry>
<entry>
<title>stmhal: Make error messages more consistent across peripherals.</title>
<updated>2017-06-15T02:02:14+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-06-15T02:02:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2bf5a947b2b01f2be6c7b05707391dd09b240ad0'/>
<id>urn:sha1:2bf5a947b2b01f2be6c7b05707391dd09b240ad0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Convert all module and method tables to use MP_ROM macros.</title>
<updated>2017-05-06T07:03:40+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-05-06T07:03:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0986675451edbdcbe31d90ddacf8f6dc3327a4ae'/>
<id>urn:sha1:0986675451edbdcbe31d90ddacf8f6dc3327a4ae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal/spi: Increase SPI transfer timeout, proportional to num bytes.</title>
<updated>2017-03-29T05:02:43+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-03-29T05:02:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=22e2f4a0e896b185517186e5873d765fcd643351'/>
<id>urn:sha1:22e2f4a0e896b185517186e5873d765fcd643351</id>
<content type='text'>
With the existing timeout of 100ms the transfer would end prematurely if
the baudrate was low and the number of bytes to send was high.  This patch
fixes the problem by making the timeout proportional to the number of bytes
that are being transferred.
</content>
</entry>
<entry>
<title>stmhal/spi: Clean and/or invalidate D-cache before SPI DMA transfers.</title>
<updated>2017-03-28T01:54:01+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-03-28T01:54:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ff927cb106a6a74bd04f729bc0c1fded6955881f'/>
<id>urn:sha1:ff927cb106a6a74bd04f729bc0c1fded6955881f</id>
<content type='text'>
On MCUs with a cache (eg F7) this must be done or else the SPI data that is
transferred is incorrect.
</content>
</entry>
<entry>
<title>all: Consistently update signatures of .make_new and .call methods.</title>
<updated>2017-01-04T13:10:42+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-01-04T13:10:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=eac22e29a5844e5aa5c865c2e73900e6ef039ad6'/>
<id>urn:sha1:eac22e29a5844e5aa5c865c2e73900e6ef039ad6</id>
<content type='text'>
Otherwise, they serve reoccurring source of copy-paste mistakes and
breaking nanbox build.
</content>
</entry>
<entry>
<title>stmhal: Refactor to use extmod implementation of software SPI class.</title>
<updated>2016-12-08T02:58:10+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-12-08T02:58:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1b6d94bccdd95904a85e8aa689b0844ab55a61bf'/>
<id>urn:sha1:1b6d94bccdd95904a85e8aa689b0844ab55a61bf</id>
<content type='text'>
This is a pure refactoring (and simplification) of code so that stmhal
uses the software SPI class provided in extmod, for the machine.SPI
implementation.
</content>
</entry>
<entry>
<title>stmhal: Rename mp_hal_pin_set_af to _config_alt, to simplify alt config.</title>
<updated>2016-11-11T06:53:45+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-11-11T06:53:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1375c52772ad4f07d4bce40bfa114a0f2f0e6cfc'/>
<id>urn:sha1:1375c52772ad4f07d4bce40bfa114a0f2f0e6cfc</id>
<content type='text'>
This way the caller doesn't need to initialise a big GPIO_InitTypeDef
struct, and HAL_GPIO_Init is no longer called.
</content>
</entry>
<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>
</feed>
