<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/src/lpc, branch lpc</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=lpc</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=lpc'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2013-05-20T03:39:19+00:00</updated>
<entry>
<title>altos/lpc: Force idle mode if USB gets an address during boot 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:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=35b120c4154df0351c3a802f86dda224a7643068'/>
<id>urn:sha1:35b120c4154df0351c3a802f86dda224a7643068</id>
<content type='text'>
This lets EasyMini be booted to idle mode by simply plugging it into USB.

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>
<entry>
<title>altos/lpc: Fix beeper 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:19:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=07d261c08214837b5d5cac4d2be43e51a0c47868'/>
<id>urn:sha1:07d261c08214837b5d5cac4d2be43e51a0c47868</id>
<content type='text'>
Set prescale limit, not current prescale value (pr instead of pc).
Flip output 1 on PWM match (set emc toggle for channel 1).
Don't hold counter in reset (turn off CRST bit).

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/lpc: Missing parens around ao_gpio_set macro</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:18:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=3fe11b277dd7268eb445d120c8f9537f95148891'/>
<id>urn:sha1:3fe11b277dd7268eb445d120c8f9537f95148891</id>
<content type='text'>
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/lpc: SPI runs off main clock (48MHz), not sysclk (24MHz)</title>
<updated>2013-05-20T03:39:18+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-05-20T03:17:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=a78012782c779de3433b91e6b854b2fdbd7230fd'/>
<id>urn:sha1:a78012782c779de3433b91e6b854b2fdbd7230fd</id>
<content type='text'>
Update SPI speed definitions to match

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/lpc: Pull ADC data from the correct registers</title>
<updated>2013-05-20T03:39:18+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-05-20T03:07:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=d51c9fda3478f205e4bcdf1b7bf21eb1e0a516bc'/>
<id>urn:sha1:d51c9fda3478f205e4bcdf1b7bf21eb1e0a516bc</id>
<content type='text'>
Was just stepping through register space arbitrarily, which would have
worked for EasyMini, but might have failed later if the ADC pin usage
wasn't consecutive.

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