<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/src/stm, branch debian/1.6.8-1</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=debian%2F1.6.8-1</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=debian%2F1.6.8-1'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2016-09-03T06:23:51+00:00</updated>
<entry>
<title>altos/stm: Set SPI slave DMA priority to HIGH/VERY_HIGH</title>
<updated>2016-09-03T06:23:51+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-09-03T06:21:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=9279b0cd52333a846b57af890f708ebb364b62b7'/>
<id>urn:sha1:9279b0cd52333a846b57af890f708ebb364b62b7</id>
<content type='text'>
Set spi slave DMA priority MOSI to HIGH and MISO to VERY_HIGH. Slave
SPI doesn't have the luxury of slowing down when the system is busy,
so provide it maximum memory bandwidth to try and keep up with the
master.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: Set i2c recv DMA to HIGH</title>
<updated>2016-09-03T06:23:51+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-09-03T06:20:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=d80995c4535a3655ca1b9ca674d6839cfef84c4e'/>
<id>urn:sha1:d80995c4535a3655ca1b9ca674d6839cfef84c4e</id>
<content type='text'>
Make sure receive DMA is higher than any TX dma so that
it always runs in preference.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: Set MISO DMA priority to HIGH to avoid OVR</title>
<updated>2016-09-03T06:23:31+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-09-03T05:55:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=af2eefbed43e56885a7321319d69b7be17354cdd'/>
<id>urn:sha1:af2eefbed43e56885a7321319d69b7be17354cdd</id>
<content type='text'>
When the MISO DMA priority is too low, and the processor gets busy,
it's possible for SPI input to overrun the processor, which causes the
MISO DMA to get out of sync and never finish. Set the MISO DMA
priority to HIGH to avoid this.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: Create funcs to set SPI DMA parameters</title>
<updated>2016-09-03T05:58:39+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-09-03T05:53:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=4fc5cfa2c63c43ab0a9ef7e0cc6832fb1c163bd6'/>
<id>urn:sha1:4fc5cfa2c63c43ab0a9ef7e0cc6832fb1c163bd6</id>
<content type='text'>
Instead of having nearly duplicate versions of the SPI DMA
configuration calls, create helper funcs that do most of the work so
that the SPI API funcs are shorter and clearer.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: Make ao_spi_duplex out pointer const</title>
<updated>2016-09-03T05:58:39+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-09-03T05:52:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=1710a4921d4f408300c7d5adf0e83d08cc86be20'/>
<id>urn:sha1:1710a4921d4f408300c7d5adf0e83d08cc86be20</id>
<content type='text'>
Provides a bit better typechecking opportunities for this function.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>Switch from GPLv2 to GPLv2+</title>
<updated>2016-07-12T22:41:41+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-07-05T16:03:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=1085ec5d57e0ed5d132f2bbdac1a0b6a32c0ab4a'/>
<id>urn:sha1:1085ec5d57e0ed5d132f2bbdac1a0b6a32c0ab4a</id>
<content type='text'>
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: clean up ao_exti_enable</title>
<updated>2016-06-30T02:17:45+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-06-29T19:55:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=c6c250711355ae8060e956e786702be250ef4527'/>
<id>urn:sha1:c6c250711355ae8060e956e786702be250ef4527</id>
<content type='text'>
Was computing (1 &lt;&lt; pin) twice for no good reason.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: Add better byte-level SPI api</title>
<updated>2016-06-30T02:17:45+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-06-29T01:39:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=61ad8e5bf428246ac89cad7cb9a1edf2ef735fd5'/>
<id>urn:sha1:61ad8e5bf428246ac89cad7cb9a1edf2ef735fd5</id>
<content type='text'>
This provides inline functions for sending and receiving individual
bytes, and setup/finish functions to wrap them in. This make the byte
sending respect the SPI hardware interface requirements.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: Clean up spi_enable/disable_index functions</title>
<updated>2016-06-30T02:17:45+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-06-29T01:37:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=5866d191cee56949ccab4c154a14604e83163d42'/>
<id>urn:sha1:5866d191cee56949ccab4c154a14604e83163d42</id>
<content type='text'>
These had an extra level of switch nesting for no good reason.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: move spi execution to common ao_spi_run</title>
<updated>2016-06-30T02:17:45+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-06-28T06:25:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=5ab4a8b911e254dc829b61cb0abc9fd0b46b84b3'/>
<id>urn:sha1:5ab4a8b911e254dc829b61cb0abc9fd0b46b84b3</id>
<content type='text'>
This regularizes SPI hardware use and ensures that the device is
turned off after it has been used and that the status register is back
to 'normal' the next time through.

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