<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/src/drivers/ao_cc1120.c, 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-03-30T00:05:36+00:00</updated>
<entry>
<title>altos: Get CC115L radio working.</title>
<updated>2013-03-30T00:05:36+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-03-30T00:05:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=93a9aa703a0173e13b327ed432e6d52e90ebfa1b'/>
<id>urn:sha1:93a9aa703a0173e13b327ed432e6d52e90ebfa1b</id>
<content type='text'>
This involved figuring out which GPIO signal would reliably indicate
that the transmitter was finished; I ended up using the PA_PD bit for
this.

This also converts all of the radio users to the long packet support
as the CC115L has only a 64-byte fifo, not large enough to hold either
an RDF tone or a regular AltOS telemetry packet.

This also renames the public API for sending APRS packets from
ao_radio_send_lots to ao_radio_send_aprs, which is at least more
accurate. The workings of that API haven't changed, just the name.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Change CC1120 SPI speed to 4MHz.</title>
<updated>2013-01-14T05:38:26+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-01-14T05:38:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=f24c4219de9563cf0ef24b763ce54d961c182696'/>
<id>urn:sha1:f24c4219de9563cf0ef24b763ce54d961c182696</id>
<content type='text'>
Most of the chip can run at 8MHz, but extended register access is
limited to 6.1MHz. Instead of pushing things, just run the SPI bus at
4MHz.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/micropeak-logging'</title>
<updated>2013-01-11T05:48:12+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-01-11T05:48:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=1ed6b13e87c1cc2d6618b6ba3a293ea6e3b5752e'/>
<id>urn:sha1:1ed6b13e87c1cc2d6618b6ba3a293ea6e3b5752e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>altos: Time out reading packet data from cc1120 after 100ms</title>
<updated>2013-01-11T05:44:18+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-01-11T05:27:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=acff2f466031fd1a8533fc315411c3734a8bacc6'/>
<id>urn:sha1:acff2f466031fd1a8533fc315411c3734a8bacc6</id>
<content type='text'>
Sometimes the radio will give a spurious wakeup indicating that a
preamble seems to have arrived, but no packet data will appear. In
this case, abandon the packet reception and go back to waiting for a
preamble again. This releases the SPI bus for other users and also
avoids missing packets.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>Allow CC1120 to sit on other SPI busses</title>
<updated>2012-12-31T22:22:37+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-12-31T22:22:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=434e946aa79b5a7e60799f996887bc6467889b92'/>
<id>urn:sha1:434e946aa79b5a7e60799f996887bc6467889b92</id>
<content type='text'>
Reading the incoming data bypasses the SPI API and touches the SPI
data register directly; which port that is needs to be specified in
the pins file

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Fix cc1120 debug code to build on megadongle</title>
<updated>2012-12-29T02:34:33+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@gag.com</email>
</author>
<published>2012-12-29T02:34:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=a6e116515f5e4522adbfcd1900885c2a6034b57c'/>
<id>urn:sha1:a6e116515f5e4522adbfcd1900885c2a6034b57c</id>
<content type='text'>
RDF function had changed, and APRS isn't available on megadongle.

Signed-off-by: Keith Packard &lt;keithp@gag.com&gt;
</content>
</entry>
<entry>
<title>altos: Wire up another CC1120 GPIO to get MARC status changes</title>
<updated>2012-12-17T00:04:05+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-12-17T00:04:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=22a58b0f9b82ea8c7abeda79ca7a4cd21c3dc93c'/>
<id>urn:sha1:22a58b0f9b82ea8c7abeda79ca7a4cd21c3dc93c</id>
<content type='text'>
When the radio drops out of RX or TX mode due to an error, it changes
the MARC status, and sends pulse down a configured GPIO. Use this to
tell when something 'bad' happened during TX or RX so that we can
recover from losing the SPI bus in the middle of transmission or
reception.

Without this, the radio would change state and we'd never know,
leaving the radio code waiting for an interrupt that would never arrive.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Fix up APRS packet sending code in cc1120 driver</title>
<updated>2012-12-07T18:15:25+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-12-07T18:15:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=f8a704268f0978a39b9c7983e049ef55914f7280'/>
<id>urn:sha1:f8a704268f0978a39b9c7983e049ef55914f7280</id>
<content type='text'>
This fixes the FIFO management, ensuring that the data are streamed
into the radio fast enough to keep the packet continuous. Sounds like
it works, but testing with an actual APRS receiver is required.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Hook APRS up to the radio</title>
<updated>2012-12-06T18:12:11+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-12-06T18:12:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=c1e6fa32b856b91afa355cd272d2d7287d3ccca1'/>
<id>urn:sha1:c1e6fa32b856b91afa355cd272d2d7287d3ccca1</id>
<content type='text'>
This adds an arbitrary-length packet writing function to the radio
code.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: fix cc1120 radio test - state wasn't made static</title>
<updated>2012-11-18T16:46:31+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-11-18T16:46:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=fa3beed645c7bff08d22a657daffe75059dc7b88'/>
<id>urn:sha1:fa3beed645c7bff08d22a657daffe75059dc7b88</id>
<content type='text'>
so whether the radio got turned on was random.

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