<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/src/cc1111/ao_spi.c, branch stm-flash</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=stm-flash</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=stm-flash'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2012-08-29T18:16:42+00:00</updated>
<entry>
<title>altos: Wait for IN dma complete on slave SPI send</title>
<updated>2012-08-29T18:16:42+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-08-29T18:16:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=1a7d2faf76a46271532102e217c2dd5515e38b72'/>
<id>urn:sha1:1a7d2faf76a46271532102e217c2dd5515e38b72</id>
<content type='text'>
SPI send double buffered, so the DMA completes one byte too early. Use
the recv DMA to know when the SPI transfer is complete.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Mostly working SPI radio link</title>
<updated>2012-08-29T06:00:23+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-08-29T01:13:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=fc9841ee5e92318471b6bec09b7075a788ab8872'/>
<id>urn:sha1:fc9841ee5e92318471b6bec09b7075a788ab8872</id>
<content type='text'>
This includes long delays to avoid overrunning the cc1111 input,
otherwise it works pretty well. The delays mean that we can't capture
the reply to a cmac command though, so more work is needed.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: More SPI slave changes for cc1111 driver</title>
<updated>2012-08-27T20:37:14+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-08-27T20:37:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=28c3923b6180e24a77aecc7162bb2852cec7d770'/>
<id>urn:sha1:28c3923b6180e24a77aecc7162bb2852cec7d770</id>
<content type='text'>
Don't enable DMA in the other direction when doing slave transfers.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Make cc1111 SPI pins configurable</title>
<updated>2012-08-24T07:33:38+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-08-24T07:33:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=50b58d703b8b48005a3ca9ad4e3603d6f7ac1430'/>
<id>urn:sha1:50b58d703b8b48005a3ca9ad4e3603d6f7ac1430</id>
<content type='text'>
Allow either USART in any configuration. Still only supports one SPI
bus though.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/cc1111: Document SPI bus pin options</title>
<updated>2012-08-19T04:25:34+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-08-19T04:25:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=8457ca81adc9d62a7ffe56a7c0c36f2fcadaa682'/>
<id>urn:sha1:8457ca81adc9d62a7ffe56a7c0c36f2fcadaa682</id>
<content type='text'>
Just a comment in the source code about which pins each option selects.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>src/cc1111: Enable SPI slave mode</title>
<updated>2012-08-05T19:17:25+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-08-05T19:17:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=0f82021186565fda10df7893b95deae4a1f32778'/>
<id>urn:sha1:0f82021186565fda10df7893b95deae4a1f32778</id>
<content type='text'>
This is untested...

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Add support for multiple SPI busses and sharing device drivers</title>
<updated>2012-04-14T20:21:09+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-04-10T06:27:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=0dd9e1dd62656a931f9559af6da9131f704f83f9'/>
<id>urn:sha1:0dd9e1dd62656a931f9559af6da9131f704f83f9</id>
<content type='text'>
The STM32L151 has several SPI busses, and we want to use more than
one, so add a 'bus' parameter to the SPI interfaces. To avoid wasting
time on AVR and CC1111 processors which only use one SPI bus, elide
those parameters from the actual functions by wrapping them with
macros.

Configuring chip select is now all macroized so that each chip can
have its own version, allowing the STM to share the various SPI device
drivers with the cc1111 and avr processors. Note that only the M25
driver has been ported; porting the others is 'trivial', but not
necessary at this point.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Set SPI fill value each time it is used.</title>
<updated>2011-11-13T02:36:11+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-11-13T02:32:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=2bce71eba9f44b6fcf64e307c8174824c3a0fb57'/>
<id>urn:sha1:2bce71eba9f44b6fcf64e307c8174824c3a0fb57</id>
<content type='text'>
This ensures that the final MOSI pin value will be high after a
receive is finished.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Restructure altos build to prepare for multi-arch support</title>
<updated>2011-08-26T03:49:11+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-08-26T03:43:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=9513be7f9d3d0b0ec29f6487fa9dc8f1ac24d0de'/>
<id>urn:sha1:9513be7f9d3d0b0ec29f6487fa9dc8f1ac24d0de</id>
<content type='text'>
Split out sources into separate directories:

	core:		architecture and product independent bits
	cc1111:		cc1111-specific code
	drivers:	architecture independent drivers
	product:	product-specific sources and Makefile fragments
	util:		scripts for building stuff

This should have no effect on the built products, but testing is encouraged

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