dSMC DSP core for control applications
The DSP core of the dSMC can perform fast calculations which are typically needed for motion control
tasks. The structure of the DSP and its instruction set are optimised to perform digital closed loop control
The dSMC incorporates a powerful arithmetic logical unit (ALU) which can calculate a 16 x 16 Bit multiply
together with a 32 Bit accumulation in (max.) two cycles.
During these register operations data can be moved between registers of the processor and data memory
or peripheral registers (parallel move operation). The data transfers can be 16 or 32 Bit wide.
The dSMC supports 16 or 32 Bit signed or unsigned integer variables. Add and substract operations can
generate an overflow or can automatically be adjusted to the specified range. Furthermore single bits can
be checked and modified.
The instruction set of the dSMC contains the following standard instructions:
• arithmetic operations (add, substract, multiply, multiply and accumulate, divide, square root)
• shift operations
• bit manipulations
Especially digital control algorithms have their own characteristics. Therefore the dSMC owns a special-
ised instruction set which is ideally suited for these algorithms. These instructions include limit functions
for control variables, instructions for evaluation of rotary encoder signals and calculation of switching
times of the power switches.
Universal Host Port Interface
The Host Port Interface connects the dSMC to a host processor. The host can access the internal pro-
gram, data and peripheral registers through the Host Port. The Host Port can be configured in the follow-
ing main characteristics, allowing easy interfacing to all common microcontrollers and DSPs:
• 8 / 16 / 32 Bit data bus width
• Intel or Motorola style bus protocol
• multiplexed or non-multiplexed address and data lines
• Little or Big Endian data format
The host access is synchronised internally. A data transfer acknowledge signal indicates a successful
transfer. Two interrupt outputs of the dSMC can be configured to signal various events to the host.
Program and data memory of the dSMC
The program and the data of the dSMC is stored in its integrated static memory. The memory is in fact
dual-ported, so the host processor is able to access program, data and peripheral space of the dSMC
without latencies. Access violations are resolved by the arbitration logic. An external ready signal signals
the actual status to the host.
Interface to Position Sensors
© sci-worx GmbH