Target Library, Scaling and Overflow Check

Target Library

The hardware target libraries include elements for the following DSP functions:

  • A/D converter
  • Digital inputs and outputs
  • PWM generator
  • Encoder and counter
  • SCI interface
  • SPI interface
  • Interrupts including trip-zone, comparator, and capture
  • Clock frequency selection

 

DSP Oscilloscope

Easily test, debug, and modify the DSP code in a non-disruptive and non-intrusive way.

Based on the targets’ SCI interface, PSIM provides the DSP Oscilloscope function that can display the real-time waveforms of the variables inside the DSP. The DSP Oscilloscope also provides the capability to modify the value of DSP runtime variables during real-time system operation of the physical hardware.

DSP Oscilloscope and C-Code Generation

Use the DSP oscilloscope to identify internal process variables of the DSP to be monitored in the PSIM schematic. When the control schematic is translated into c-code using PSIM, the necessary code will be automatically setup so that these variables can be monitored using the DSP Oscilloscope interface in real-time.

Simply select and trigger the signals as you would in a standard oscilloscope.


MODULE FEATURES & BENEFITS

Hardware code generation directly from control schematic

DSP Oscilloscope for real-time control and waveform display

Automatically configures registers and flags for all supported DSP functions

Automatically sets up pins as digital inputs/outputs, PWM or other functions