<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/src/stm/ao_spi_stm.c, branch telemini</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=telemini</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=telemini'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2013-03-26T21:26:38+00:00</updated>
<entry>
<title>altos/stm: Ensure SPI always sends 0xff during receive</title>
<updated>2013-03-26T21:26:38+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-03-26T21:26:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=4d187460bdcb97bf6d0a3550e4e03c4c223e4cc1'/>
<id>urn:sha1:4d187460bdcb97bf6d0a3550e4e03c4c223e4cc1</id>
<content type='text'>
SD cards require 0xff when fetching data

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Set STM GPIO output speed for SPI pins correctly</title>
<updated>2013-01-14T04:54:14+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-01-14T04:48:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=8d885616e2e522b8aea5e7d5398f16d330a0cffa'/>
<id>urn:sha1:8d885616e2e522b8aea5e7d5398f16d330a0cffa</id>
<content type='text'>
The GPIO pin settings affect the output impedence, and hence the
maximum speed for SPI. Cranking these to suitable values allows SPI to
run at full speed.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: Set SPI clock high for disabled SPI busses</title>
<updated>2012-10-07T02:39:15+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-10-07T02:39:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=6d47dd1d9104745cf68bef23b066c5033ca30a84'/>
<id>urn:sha1:6d47dd1d9104745cf68bef23b066c5033ca30a84</id>
<content type='text'>
This should avoid an accidental low-&gt;high transition when switching
between multiple SPI busses.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: Clean up SPI pin configuration code</title>
<updated>2012-10-07T00:56:23+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-10-07T00:56:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=35cb2dc51708ab572a4c72422e5902a313eda58e'/>
<id>urn:sha1:35cb2dc51708ab572a4c72422e5902a313eda58e</id>
<content type='text'>
Make sure none of the pin configurations are being used at startup
time. Split out the pin configuration into separate functions.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Allow STM SPI bus on multiple pin sets</title>
<updated>2012-08-19T04:21:58+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-08-19T04:21:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=a1a48aa9ee0bf7fa6720b34c0f544485caea7cac'/>
<id>urn:sha1:a1a48aa9ee0bf7fa6720b34c0f544485caea7cac</id>
<content type='text'>
This allows multiple STM pin groups to be used for each SPI
bus. Useful for the MS5607 sensor which signals conversion complete on
the MISO line.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: include targe SPI speed in get request</title>
<updated>2012-06-27T21:34:53+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-06-27T21:34:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=08a4ed8fe794a2b2b52147bd5535fe0954822e95'/>
<id>urn:sha1:08a4ed8fe794a2b2b52147bd5535fe0954822e95</id>
<content type='text'>
STM needs it to be provided when enabling the SPI device, so just fix
AVR and cc1111 to do the same.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Optimize FEC encode and decode</title>
<updated>2012-06-27T06:11:10+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-06-27T06:11:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=f1ae622eff60e05c1f5d8f822a3cf6a85750c6cc'/>
<id>urn:sha1:f1ae622eff60e05c1f5d8f822a3cf6a85750c6cc</id>
<content type='text'>
Integrate interleaving, CRC and padding within the decode/encode
functions.

Provide for ISR priorities so that the 1120 RX interrupt takes
precedence over the other interrupts or we risk losing bits.

Optimize the viterbi decoder a bit (goes from 10ms per packet to 7ms
per packet).

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Crank down STM SPI speed for MM</title>
<updated>2012-06-21T16:46:50+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-06-21T16:46:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=ff5b0ba90e73a83360a2e8a7e9969ed2c3ce1514'/>
<id>urn:sha1:ff5b0ba90e73a83360a2e8a7e9969ed2c3ce1514</id>
<content type='text'>
The cc1120 is noisy enough to break SPI data transfers at 4MHz, so
crank things down to 1MHz. It's "stable" now, but clearly needs a
filter and shorter traces.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Reduce STM SPI data rate to 4MHz</title>
<updated>2012-06-16T05:41:17+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-06-16T05:41:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=e856df474c386b8df3d2bd9e87b766ae0439efbf'/>
<id>urn:sha1:e856df474c386b8df3d2bd9e87b766ae0439efbf</id>
<content type='text'>
cc1120 doesn't want more than 6.1MHz, otherwise it gets very angry.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Starting to write cc1120 driver</title>
<updated>2012-04-17T18:01:18+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-04-17T18:01:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=1489263b895a2a825e29d0560c9b1dbba8a3f431'/>
<id>urn:sha1:1489263b895a2a825e29d0560c9b1dbba8a3f431</id>
<content type='text'>
This does "something" in radio test mode, appearing to generate a
730MHz signal.

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