<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/src/stm, branch altosdroid_v1.2</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=altosdroid_v1.2</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=altosdroid_v1.2'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2013-04-09T07:30:36+00:00</updated>
<entry>
<title>altoslib/altosui: Carry receiver status around in AltosListenerState</title>
<updated>2013-04-09T07:30:36+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-04-09T07:28:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=398c02b945a58634c8932f07df2c2be8438da7d1'/>
<id>urn:sha1:398c02b945a58634c8932f07df2c2be8438da7d1</id>
<content type='text'>
This moves the crc_errors into the new structure and adds a receiver
battery voltage value there as well. Now the receiver status can be
monitored separately from the flight status. That also means that code
receiving state updates should be prepared to accept missing listener
or flight state values.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: Always check for idle IN buffer before sending</title>
<updated>2013-03-31T19:24:38+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-03-24T22:04:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=8b2f211758dfa97230a730b8c4b31e0e711c19c9'/>
<id>urn:sha1:8b2f211758dfa97230a730b8c4b31e0e711c19c9</id>
<content type='text'>
Unlike the AVR and CC1111 USB drivers, the STM usb driver queues IN
bytes in a local buffer instead of in the driver; this means that the
driver is queuing bytes while the previous IN packet is queued for the
host, which allows for overlapping execution.

It also means that when the local buffer is full, we must check to see
if the host has picked up the previous IN packet before trying to
queue another IN packet for transmission. This is done by always
waiting for the IN buffer to be ready before sending data.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: Add debugging mechanism to STM USB driver</title>
<updated>2013-03-31T19:24:28+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-03-24T22:03:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=de199601a177fc2d45ad9bd7357111111844d40a'/>
<id>urn:sha1:de199601a177fc2d45ad9bd7357111111844d40a</id>
<content type='text'>
This adds a pile of debugging hooks to the USB driver to try and
isolate various lockup-related issues. It's all disabled by default,
of course.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Do not release interrupts from any pollchar function</title>
<updated>2013-03-31T19:24:24+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-03-24T22:00:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=4f1f3e836393304434130d362771a39f6f8f859a'/>
<id>urn:sha1:4f1f3e836393304434130d362771a39f6f8f859a</id>
<content type='text'>
getchar relies on interrupts being blocked across the pollchar calls
and into the sleep call or it may go to sleep with data pending.

This prefixes all pollchar functions with _ to indicate that they are
to be called with interrupts blocked and eliminates all interrupt
manipulation calls from within the pollchar functions.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Use FTDW, clear DATA bit. Disable backup write protection</title>
<updated>2013-03-28T01:43:42+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-03-28T01:43:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=985cd22b941415b1ae2709ae1ab6b60c3d815ec1'/>
<id>urn:sha1:985cd22b941415b1ae2709ae1ab6b60c3d815ec1</id>
<content type='text'>
The newer(?) chips in telegps didn't like the previous programming
scheme, so go back to fixed time for write, which does an implicit
erase before every write. Also clear the DATA bit, which is only
needed for double word erase/programming.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<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>Merge branch 'telescience-v0.2'</title>
<updated>2013-02-24T08:20:54+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-02-24T08:20:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=2120d362cefceba69e75996b6391d9558978c01d'/>
<id>urn:sha1:2120d362cefceba69e75996b6391d9558978c01d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>altos/stm: Add more bits to NVIC register definitions</title>
<updated>2013-02-24T08:19:49+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-02-24T08:19:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=25435dcbc6416935aa432fc090ea977bfff5d153'/>
<id>urn:sha1:25435dcbc6416935aa432fc090ea977bfff5d153</id>
<content type='text'>
This cleans up a few values, adds more comments and a few more NVIC fields.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Crank fast SPI on STM to 8MHz</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:50:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=a866431e9a063830b407f749ff97a730831e5e4e'/>
<id>urn:sha1:a866431e9a063830b407f749ff97a730831e5e4e</id>
<content type='text'>
With the GPIO pins set to 10MHz now, we can run SPI at the maximum
possible speed (8MHz).

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>
</feed>
