Freedom Logic Analyzer with Triggers

The first FRDM-KL25Z Freedom Logic Analyzer firmware was missing one important feature: Triggers! But this weekend the firmware has evolved a bit :-).

Triggers

Trigger Settings

Trigger Settings

Currently up to 8bits are supported, and only ‘Stage1’ triggers in Parallel mode. So no sequencing yet. With enabled triggers, data capturing is waiting until the value bits are matching the mask bits: (data&maskBits)==valueBits. The ‘before’ and ‘after’ ratio is not supported yet.

Sampling Rate

It is possible to select a sampling rate. Right now 100 kHz and 200 kHz are implemented:

Sampling Rate

Sampling Rate

💡 I was able to get up to 200 kHz sampling rate with the trigger code added. It should be possible to get higher rates with optimizations enabled or reducing the interrupt load.

Recording Size

The client now offers as well different recording sizes. Although the buffer on the Freedom board always have the same size (that option reduces the amount of data transmitted to the OLS client):

Recording Size

Recording Size

Test Mode

And finally: The test mode functionality is implemented now:

Test Mode

Test Mode

With test mode enabled, the device returns test data instead of real data from the probes:

Test Mode Data

Test Mode Data

Firmware

The firmware (CodeWarrior project) and updated configuration file is available here on GitHub.

Happy Triggering 🙂

PS: Many thanks to Rainer Geiger who provided me his implementation of triggers of the SUMP protocol!

3 thoughts on “Freedom Logic Analyzer with Triggers

  1. Pingback: Tutorial: PWM with Processor Expert | MCU on Eclipse

  2. Pingback: Freedom Logic Analyzer with DMA | MCU on Eclipse

  3. Pingback: Freedom Logic Analyzer with DMA | minghuasweblog

What do you think?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.