<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/src/stm/ao_i2c_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-04-22T19:00:26+00:00</updated>
<entry>
<title>name change from MegaMetrum to TeleMega</title>
<updated>2013-04-22T19:00:26+00:00</updated>
<author>
<name>Bdale Garbee</name>
<email>bdale@gag.com</email>
</author>
<published>2013-04-22T19:00:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=aa7eac32adf4c2cdf441991d02411758f2682d1e'/>
<id>urn:sha1:aa7eac32adf4c2cdf441991d02411758f2682d1e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>altos: Switch drivers to ao_arch_block/release_interrupts</title>
<updated>2012-10-25T18:25:42+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-10-25T18:25:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=f221c78e6237e0a118ebe85c25e433fe16a7735d'/>
<id>urn:sha1:f221c78e6237e0a118ebe85c25e433fe16a7735d</id>
<content type='text'>
Stop using cli/sei, which are avr-specific

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Clean up STM I2C clock computations</title>
<updated>2012-06-28T00:18:57+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-06-28T00:18:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=4f258fe565dc3e58b83761bfa1a2276946012163'/>
<id>urn:sha1:4f258fe565dc3e58b83761bfa1a2276946012163</id>
<content type='text'>
Fix both clock time and rise time.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: get MPU6000 I2C link working reliably</title>
<updated>2012-06-27T21:38:35+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-06-27T21:38:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=b0b7f5da2d29716959c6793d744e47a3d435c247'/>
<id>urn:sha1:b0b7f5da2d29716959c6793d744e47a3d435c247</id>
<content type='text'>
This slows the i2c bus to 100kHz (yuck), sets the rise time to spec
(it was way off) and adds more delays during bus setup. I've run this
for hours now without trouble. Will try to adjust things back to fast
mode and see if I can make that work as 100kHz isn't fast enough to
reliably get data at 100 samples/sec.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Wait for i2c START condition before setting interrupt bits</title>
<updated>2012-06-27T09:46:27+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-06-27T09:46:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=1a1d4a557a30e2e743936b828b654187ec562ca8'/>
<id>urn:sha1:1a1d4a557a30e2e743936b828b654187ec562ca8</id>
<content type='text'>
This seems better than the random loop that it replaces, but I still
have no idea why this is required; it doesn't coorespond to the docs
at all...

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: stm i2c debug code was calling flush() even when disabled</title>
<updated>2012-06-27T08:19:05+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-06-27T08:19:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=8fc643c9768f0db31a248331681af9490f5715af'/>
<id>urn:sha1:8fc643c9768f0db31a248331681af9490f5715af</id>
<content type='text'>
The fancy stm i2c debugging code had calls to flush() that were
invoked outside of the conditionals leading to all kinds of fun --
flush() may re-enable interrupts, yield or do all kinds of wacky
stuff, none of which is appropriate from the middle of a device driver

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: mpu6000 requires a delay during start</title>
<updated>2012-06-27T08:17:51+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-06-27T08:17:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=0285696e5280fc64774b6c3a2fcdaa36bd36ae7c'/>
<id>urn:sha1:0285696e5280fc64774b6c3a2fcdaa36bd36ae7c</id>
<content type='text'>
I have no idea why this is required, but the mpu6000 will not come up
and run if this isn't present.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Reset i2c controller at boot time</title>
<updated>2012-06-02T23:56:41+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-06-02T23:56:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=97317d332f21c42860747c4ecde633bd0228ef52'/>
<id>urn:sha1:97317d332f21c42860747c4ecde633bd0228ef52</id>
<content type='text'>
In case it's wedged.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Clear stm i2c transfer timeout alarm</title>
<updated>2012-05-28T17:47:28+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-05-28T17:47:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=47bc9b2a39b7a8d3ef3fe8acc7fbf0512695e548'/>
<id>urn:sha1:47bc9b2a39b7a8d3ef3fe8acc7fbf0512695e548</id>
<content type='text'>
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: stm: share i2c_stop code between send and recv</title>
<updated>2012-05-08T04:47:17+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-05-08T04:47:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=744d05e6037ffc11688a9faa9c7b5dcda4065ee3'/>
<id>urn:sha1:744d05e6037ffc11688a9faa9c7b5dcda4065ee3</id>
<content type='text'>
This waits for the stop signal to appear on the bus, necessary before
starting another transaction.

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