<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/src, branch easymega-pwm-hacks</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=easymega-pwm-hacks</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=easymega-pwm-hacks'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2015-12-26T07:30:33+00:00</updated>
<entry>
<title>altos: Hacks to test PWM output on EasyMega</title>
<updated>2015-12-26T07:30:33+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-12-26T07:25:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=affad27df6c2f38f0398175d96c073a85039ebe5'/>
<id>urn:sha1:affad27df6c2f38f0398175d96c073a85039ebe5</id>
<content type='text'>
This uses the companion port chip select pins, which happen to be
connected to tim4.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Set AO_PWM_TIMER_SCALE for telemega-v2.0</title>
<updated>2015-12-26T07:30:16+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-12-26T07:27:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=0fd370af8bc8842000415c4d182d84b4bf6f90fa'/>
<id>urn:sha1:0fd370af8bc8842000415c4d182d84b4bf6f90fa</id>
<content type='text'>
This is needed to configure the PWM timer correctly

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Get stm32l pwm driver working</title>
<updated>2015-12-26T07:20:29+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-12-26T07:20:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=742f7c834bb5d651d2bebf2069d4e8facc33390d'/>
<id>urn:sha1:742f7c834bb5d651d2bebf2069d4e8facc33390d</id>
<content type='text'>
Fix the CCMR1_OC1PE and CCMR2_OC3PE values.
Disable clock when no PWM outputs are running.
Fix the apb1enr value for the timer.
Set ARR value to PWM_MAX - 1 -- ARR is off by one.
Sets the GPIO pins to 40MHz bandwidth for sharper edges.

Tested on EasyMega, but that code is not included as it breaks the
companion protocol.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Add TeleMega v2.0, including PWM driver</title>
<updated>2015-12-26T04:48:23+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-12-24T08:28:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=8aa0ab9fe9ca41f6d520d388973164bc0c599a06'/>
<id>urn:sha1:8aa0ab9fe9ca41f6d520d388973164bc0c599a06</id>
<content type='text'>
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>telelco: Fix pad reset to one on radio signal loss</title>
<updated>2015-10-13T20:54:28+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-10-10T21:10:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=0ae116dd8779fd0594d443a735e7b6834ea9b713'/>
<id>urn:sha1:0ae116dd8779fd0594d443a735e7b6834ea9b713</id>
<content type='text'>
The pad number was getting reset back to one when signal was lost,
causing pad one to get fired in this case even when already set to arm mode.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/telelco: Adjust drag race UI</title>
<updated>2015-10-13T20:54:28+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-09-14T05:24:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=9dae5f76c5691dc94c02839eb1321426f96f2134'/>
<id>urn:sha1:9dae5f76c5691dc94c02839eb1321426f96f2134</id>
<content type='text'>
Enter/leave drag race is done by rotating the box selector knob
to a new 'dr' position and then holding down the firing button; this
avoids a potential accidental firing if you somehow don't realize
you've armed the box before selecting drag race mode.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/telelco: Add drag race UI</title>
<updated>2015-08-30T00:32:54+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-08-30T00:29:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=dda3f459eaff8d4e41cb44584c8ef77b8e2b3b1c'/>
<id>urn:sha1:dda3f459eaff8d4e41cb44584c8ef77b8e2b3b1c</id>
<content type='text'>
With the unit disarmed, press and hold the fire button for five
seconds to enable drag race mode.

The display will show 'dr' for five seconds and beep five times to
indicate that drag race mode is enabled. The decimal points in the
display will all be displayed as an additional visual aid. Once every
five seconds, it will beep.

With drag race mode enabled, you can select a box/pad pair and press
the 'fire' button to add it to the drag race group. For the current
box, all members of the drag race group will have their continuity
LEDs blink slowly. There will be no indication of continuity in this
mode; you'll want to check that before enabling drag race mode. If you
want to de-select a member of the group, just press the fire button
again. Each time you push the fire button, it will beep out the pad
number added or removed.

Arm the box and you will not be able to add or remove members from the
drag race group. Firing will simultaneously fire all members of the
drag race group.

To disable drag race mode, press and hold the fire button for two
seconds. It will beep twice and turn off the decimal points in the display.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/telelco: Infrastructure changes for drag racing</title>
<updated>2015-08-29T20:21:19+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-08-29T20:21:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=55c1be449ef7ce389a3d94686051d272c858bee4'/>
<id>urn:sha1:55c1be449ef7ce389a3d94686051d272c858bee4</id>
<content type='text'>
This makes the lco management code support arming multiple pads and
firing all of them at once. The UI code does not expose this yet.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Provide direct segment driving interface for LCD displays</title>
<updated>2015-08-29T20:20:16+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-08-29T20:20:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=2839796ca5ace5f0c79643afc1a868893246b621'/>
<id>urn:sha1:2839796ca5ace5f0c79643afc1a868893246b621</id>
<content type='text'>
This exposes a simple bit-mask for setting the seven segments instead
of just allowing hex-decimal values.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/telefire: No reply for ARMED. Ignore time for FIRE.</title>
<updated>2015-08-29T20:18:46+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-08-29T20:18:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=368f87918547f89e7eb2a92990621e75e07a3b25'/>
<id>urn:sha1:368f87918547f89e7eb2a92990621e75e07a3b25</id>
<content type='text'>
This will let us do drag races by letting the LCO arm multiple boxes
and fire them all with a single command.

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