This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C123GH6PM: Digital Filter Demo for Launchpad Eval Kit (EK-TM4C123GXL)?

Part Number: TM4C123GH6PM
Other Parts Discussed in Thread: EK-TM4C123GXL

Support Path: /Tools & software/Help find tools and software/Design Kits / Evaluation Modules / Boards/

RIs there a way to get a digital filter demo loaded onto the EK-TM4C123GXL evaluation kit for the TM4C123GH6PM? I want to use the Launchpad to take in a 1-100 kHz signal, perform ADC, and then do some IIR filtering of my own design; but the process would be much accelerated if there were a demo (of any kind of digital filtering) that I could use as a guideline in coding that up.

  • Laura,
    Take a look at the online tool Micromodeler.
    http://www.micromodeler.com/
    It generates .c code for the filter after you select the parameters. It has free options up to a certain number of iterations.
    Bruno

  • Thank you.

    I was more thinking something that would show examples of how to interact with the ADC. I need to be able to pull samples from the ADC as they come in and perform some operations on them.
  • Then I believe you will find useful help if you download the Sensor Hub Boosterpack examples.
  • PS: When you download the complete TivaWare, it includes something called a SensorLib.
    Take a look at the SW-TM4C-SENSORLIB-UG.
    There are utilities there which will help you dealing with sensor data acquisition and processing.
    (Including a Quaternion Math Module, which I'm anxious to test but haven't had time yet...)
  • May we note that your post's "Subject/Title" emphasizes, "Digital Filter Demo?"

    And then - (unannounced earlier) arrives,  "examples showing ADC interaction" - which ADDS great complexity!      

    Such is a SURE Violation of  "KISS"  - the "ever expanding request for guidance may give your helpers (reasonable) pause."      (i.e. what ADDED requirement will arrive - next?)

    Might I suggest that you employ "Dummy Values/Numbers" (often employed during filter testing) so that you may proceed w/the thrust of your "Opening Post?"     (Digital Filter Demo)       This frees you from "mastery" of the complex ADC - yet drives you quickly/efficiently toward your (stated) "Digital Filter Demo."

    Adding complexity too early - when "nothing" has been "tested/verified" - proves an unlikely (and delaying) path to your objective.      KISS rules - one small (focused/achievable/monitored) step at a time - rather than, "Everything - all together - w/new requirements arriving fast/furiously!"   

  • Yes, you may note that.
  • While pleased - "your" note (and even slight "steer" toward) "KISS" - should prove a "better" notation... (or should the "kitchen sink" further expand?)

    Achieving your, "Digital Filter" objective should be your "focus" w/in this thread.

    Later - once that's achieved - a new posting may target,  "ADC Objective."         You may note that no one (few at best) will "sense" that ADC has become your issue - from the subject line currently in evidence...

    Making your requests "clear" works (very much) to your advantage.      (even when - and especially when - initially resisted...)