<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="sodnpoo.xsl" type="text/xsl"?>
<xml page="/?n=&amp;t=stellaris&amp;x="><a href="http://sodnpoo.com/?x=html">HTML version</a><post>
  <tag value="stellaris"/>
  <title>variable sample rate stellaris logic analyser</title>
  <date>10 Feb 2013</date>
  <p>
  Yet more changes to the stellaris logic analyser (<a href="http://www.fischl.de/arm/sllogiclogger_logic_analyser_for_stellaris_launchpad/">here</a>, <a href="/posts.xml/longer_buffer_for_stellaris_logic_analyser.xml">here</a> and <a href="">here</a>). This version returns to using the internal RAM buffer but sampling is now SysTick interrupt driven.
  </p>
  <p>
  This allows the sample rate to be variable so that a lower sample rate can be used to gain a longer capture time. Sample rates up to 2MHz seem usable, anything above that gave me incorrectly detected baud rates in ols's UART analyser.
  </p>
  <p>
  Updated firmware, binary file and OLS-Profile: <a href="/posts.assets/sllogiclogger.2013-02-10.tar.gz">sllogiclogger.2013-02-10.tar.gz</a>.
  </p>
</post><post>
  <tag value="stellaris"/>
  <tag value="github"/>
  <title>stellaris logic analyser moved to github</title>
  <date>10 Feb 2013</date>
  <p>
  Sample rates have been changed to more closely match bus pirate's; code has been pushed to <a href="https://github.com/sodnpoo/sllogiclogger">github</a>.
  </p>
</post><post>
  <tag value="stellaris"/>
  <title>bufferless stellaris logic analyser</title>
  <date>9 Feb 2013</date>
  <p>
  Another modification to the stellaris logic analyser (<a href="http://www.fischl.de/arm/sllogiclogger_logic_analyser_for_stellaris_launchpad/">here</a> and <a href="/posts.xml/longer_buffer_for_stellaris_logic_analyser.xml">here</a>) code, this time removing the RAM buffer altogether and writing the data out to the UART immediately. The advantage of removing it that we can then do continuous capture - well we could if ols v0.9.6.1 supported it, so instead we capture 1MB as that's the most it'll will deal with. The downside is that the sample rate is limited by the speed of the UART and even with it set to 460800bps the sample rate is only 45.605kHz - at this rate we can capture 8 channels for 22.99 seconds.
  </p>
  <p>
  To keep the capture loop as tight as possible it will continue to capture/send data even after ols has finished, to capture again you'll need to reset the stellaris. Don't forget to set the port speed to 460800bps in ols.
  </p>
  <p>
  Reading though the docs - it looks like it might be possible to use DMA between the PORT and the UART on the stellaris to increase the sample rate; I'm also working on RLE encoding to pack more into the RAM buffer used on the previous code.
  </p>
  <p>
  Updated firmware, binary file and OLS-Profile: <a href="/posts.assets/sllogiclogger.2013-02-09.tar.gz">sllogiclogger.2013-02-09.tar.gz</a>.
  </p>
</post><post>
  <tag value="stellaris"/>
  <title>longer buffer for stellaris logic analyser</title>
  <date>3 Feb 2013</date>
  <p>
  This is a trivial modification to <a href="http://www.fischl.de/arm/sllogiclogger_logic_analyser_for_stellaris_launchpad/">Fischl.de's</a> TI Stellaris Launchpad logic analyser. I've simply increased the buffer length from 16KB to 31KB increasing the capture length from 1.64ms to 3.17ms.
  </p>
  <p>
  Updated firmware, binary file and OLS-Profile: <a href="/posts.assets/sllogiclogger.2013-02-03.tar.gz">sllogiclogger.2013-02-03.tar.gz</a>
  </p>
  <p>
  (More <a href="/posts.xml/bufferless_stellaris_logic_analyser.xml">here</a>, <a href="/posts.xml/stellaris_logic_analyser_moved_to_github.xml">here</a> and <a href="/posts.xml/variable_sample_rate_stellaris_logic_analyser.xml">here</a>.)
  </p>
</post></xml>
