<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/src/lpc/ao_spi_lpc.c, branch v1.6.3.1</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=v1.6.3.1</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=v1.6.3.1'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2015-02-07T09:05:57+00:00</updated>
<entry>
<title>altos/lpc: Give up on interrupt-driven SPI driver</title>
<updated>2015-02-07T09:05:57+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-02-07T09:05:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=f9f235bce84df3a6c0261e9d256aac544f87f70f'/>
<id>urn:sha1:f9f235bce84df3a6c0261e9d256aac544f87f70f</id>
<content type='text'>
There are just too many limitations in when interrupts are delivered
to make them useful. Instead, just drive the SPI directly with the
CPU. At higher spi speeds (6Mhz or more), it's probably faster to do
it this way anyways.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/lpc: Switch LPC SPI driver to interrupt-driven</title>
<updated>2014-12-23T01:27:09+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2014-12-23T01:27:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=2a053d3d157e00b6a6406f4f78ddb8e298b6c4b7'/>
<id>urn:sha1:2a053d3d157e00b6a6406f4f78ddb8e298b6c4b7</id>
<content type='text'>
This improves performance for SPI transfers, while allowing other
tasks to get work done during longer SPI transfers.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/lpc: Declare SPI send parameters as const</title>
<updated>2014-11-07T00:04:14+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2014-11-07T00:04:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=58db263cc835be0abb972654c2d7369718c88b37'/>
<id>urn:sha1:58db263cc835be0abb972654c2d7369718c88b37</id>
<content type='text'>
This matches STM

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Clean up warnings for LPC products</title>
<updated>2013-12-21T06:59:35+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-12-21T06:58:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=e11fcc299f4a1a0461a3442ca13f8984d76c30ff'/>
<id>urn:sha1:e11fcc299f4a1a0461a3442ca13f8984d76c30ff</id>
<content type='text'>
Unused varibles, functions and parameters.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/lpc: Remove spurious semicolon</title>
<updated>2013-06-17T05:31:58+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-06-17T05:31:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=dcf769198863c1b0f1b05f41d0c052a3dbfef247'/>
<id>urn:sha1:dcf769198863c1b0f1b05f41d0c052a3dbfef247</id>
<content type='text'>
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/lpc: Reset SPI device at startup time</title>
<updated>2013-05-20T03:39:19+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-05-20T03:27:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=c1f01cd4406063191a51cb68fc4634eabfc60fc2'/>
<id>urn:sha1:c1f01cd4406063191a51cb68fc4634eabfc60fc2</id>
<content type='text'>
Wasn't doing the reset sequence correctly (write 0, then write 1).

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/lpc: Configuring wrong pin for SPI1 MOSI</title>
<updated>2013-05-20T03:39:19+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-05-20T03:26:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=e0ad8b5b5e1b4c7a9ffba9d25f3c32ce708c3ec5'/>
<id>urn:sha1:e0ad8b5b5e1b4c7a9ffba9d25f3c32ce708c3ec5</id>
<content type='text'>
Was setting configuration for PIO1_21 instead of PIO0_21.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/lpc: Allow for alternate SPI SCLK0 pin usage</title>
<updated>2013-05-20T03:39:19+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-05-20T03:25:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=b9bb088a36fd351809f4c378356327ffa663c974'/>
<id>urn:sha1:b9bb088a36fd351809f4c378356327ffa663c974</id>
<content type='text'>
SPI SCLK0 can appear on three different pins; let the application
configure which one it wants.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/lpc: Leave SPI enabled all the time</title>
<updated>2013-05-20T03:39:19+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-05-20T03:24:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=397109139fb9ff27ec7cfb0cafa65d1dbea053bd'/>
<id>urn:sha1:397109139fb9ff27ec7cfb0cafa65d1dbea053bd</id>
<content type='text'>
Might be able to turn it off with some care; more experimentation required.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/lpc: Create TX/RX busy macros for SPI driver</title>
<updated>2013-05-20T03:39:19+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-05-20T03:22:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=e383d7a28d01729c50f933ceda77ea767d1b8087'/>
<id>urn:sha1:e383d7a28d01729c50f933ceda77ea767d1b8087</id>
<content type='text'>
Check for both fifo status *and* device busy to make sure the device
is idle before we touch any registers.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
</feed>
