F29x Motor Control SDK  1.00.00.00
DACS Library

Introduction

The rampgen can be used to generate a ramp signal of a desired frequency.

Features Supported

Rampgen module includes:

  • setting of ISR freuency at which run fucntion is called.
  • setting of frequency of ramp signal to be generated.

Features Not Supported

N/A

Benchmark Results

A benchmark on R5F core has been conducted to observe the following results when running the following functions:

RAMPGEN Function Cpu Cycles
RAMPGEN_reset 15
RAMPGEN_config 16
RAMPGEN_run

30

  • Ran with TI Clang Compiler v3.2.1.LTS, with -Os flag and functions force-inlined onto the benchmarking function placed in TCM memory. Obtained the average result from 500 consecutive loops of running rampgen functions with DPL CycleCountP, mimicking the usage of a control loop.
  • Actual result may vary depending on provided datasets and memory configuration. For R5F, it is recommended for users to map control loops to TCM for the best performance.

Provided Examples

Additional References

N/A

API

RAMPGEN_API_MODULE