<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/src-avr, branch telescience</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=telescience</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=telescience'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2012-05-27T03:01:46+00:00</updated>
<entry>
<title>avr: Block interrupts while executing SPI slave code</title>
<updated>2012-05-27T03:01:46+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-05-27T03:01:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=19b23594a04fc72fd7d2e106c5877b670662001d'/>
<id>urn:sha1:19b23594a04fc72fd7d2e106c5877b670662001d</id>
<content type='text'>
Any interrupts do very bad things to our SPI reliability. Block
interrupts for the whole of the SPI slave ISR.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos-avr: Include serial/flight in companion commands</title>
<updated>2011-08-14T01:27:02+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-08-14T01:27:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=0beebf5b8659014c5e8ba194e42e5dcd9be1a2a6'/>
<id>urn:sha1:0beebf5b8659014c5e8ba194e42e5dcd9be1a2a6</id>
<content type='text'>
This lets TeleScience log these values so the log can be matched with
a suitable TeleMetrum log.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Report log format in the version command</title>
<updated>2011-08-13T20:14:26+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-08-13T20:12:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=28a6127668a333f5d6a6234e2ee4527267c459d2'/>
<id>urn:sha1:28a6127668a333f5d6a6234e2ee4527267c459d2</id>
<content type='text'>
Cherry-pick from 8624213ee204bfdcb219c65b3618751d8278d9db

This will make it easier to figure out what the contents of the flash
should look like from altosui; the current 'guessing' mechanism will
not scale to many more formats.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos-avr: Store TM tick and state in log, get logging on/off working</title>
<updated>2011-08-13T04:34:37+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-08-13T04:34:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=91785e03363f328b644f2c03b5438235f3a44c3e'/>
<id>urn:sha1:91785e03363f328b644f2c03b5438235f3a44c3e</id>
<content type='text'>
To sync TM and TS data after flight, store the TM tick data in the log
along with the TM state. This should provide sufficient data to
synchronize the two data streams.

Use the TM state to enable/disable logging, log from boost to landing
and otherwise do not log.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos-avr: Completely replace the spi slave code</title>
<updated>2011-08-12T11:41:19+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-08-12T11:41:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=b3ba69f3eda0d07d7f2fc0922556a011c95d7951'/>
<id>urn:sha1:b3ba69f3eda0d07d7f2fc0922556a011c95d7951</id>
<content type='text'>
Turns out the AVR we're using sucks at doing SPI slave. To get it
running at a reasonable data rate, I had to completely gut the
'sensible' code and run everything from the ISR with interrupts
disabled.

Even with this, the maximum SPI clock rate is somewhere around
200kHz. That's due to the singled buffered nature of the transmit
queue, the amount of time available between finishing one byte and
starting the next is very very small.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos-avr: Add SPI-slave companion support</title>
<updated>2011-07-14T04:21:33+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-07-14T04:20:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=b6083ce00867051d4d513b91519cad6e4a91f07b'/>
<id>urn:sha1:b6083ce00867051d4d513b91519cad6e4a91f07b</id>
<content type='text'>
Listen on the SPI slave port for commands from TeleMetrum.
Run logging during flight, based on flight state.
Return recent data for telemetry.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>src-avr: Improve speed of LCD transfers, add hex-code character input</title>
<updated>2011-06-05T04:37:55+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-06-05T04:37:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=792c58fa9c316accfe6fff9f902b8a1e07e4cfed'/>
<id>urn:sha1:792c58fa9c316accfe6fff9f902b8a1e07e4cfed</id>
<content type='text'>
Use a delay loop instead of waiting for clock interrupts to get closer
to maximum LCD update rate.

Add \ escaped hex codes in output testing command.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>src-avr: Add LCD driver for NHD-C0216CU-FN-GWB-3V display</title>
<updated>2011-06-05T00:59:48+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-06-05T00:59:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=ebf6e54d59dc06d974d3928691246e3213534d7e'/>
<id>urn:sha1:ebf6e54d59dc06d974d3928691246e3213534d7e</id>
<content type='text'>
Initializes the Newhaven display and has a few simple commands to show
some text.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>src-avr: Run CPU at 8MHz, even with a 16MHz xtal</title>
<updated>2011-06-05T00:58:51+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-06-05T00:58:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=e0ebdb4468db84a8e7f83043103e4b3bac928b74'/>
<id>urn:sha1:e0ebdb4468db84a8e7f83043103e4b3bac928b74</id>
<content type='text'>
This allows the Teensy to run at 3.3V.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Make telescience reliably log only when told to</title>
<updated>2011-05-24T21:10:01+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-05-24T21:10:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=0b54d9380f3a71b772747b1ed529d8fb89289b22'/>
<id>urn:sha1:0b54d9380f3a71b772747b1ed529d8fb89289b22</id>
<content type='text'>
Use a pull-up on telescience and tri-state input on telemetrum at boot
time. Enable logging by pulling the TM output low and enabling as an
output, disable by pulling the TM output high and switching back to
input mode.

Also, ignore pin state changes for 5 seconds at boot to give things a
chance  to settle down.

Should work when both boards are powered up together.

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