User'S Guide: Using Position Manager Biss-C Library On Iddk Hardware
User'S Guide: Using Position Manager Biss-C Library On Iddk Hardware
IDDK Hardware
User's Guide
List of Figures
1 IDDK EVM Kit ................................................................................................................ 6
2 Layout of IDDK EVM With its Functional Macros........................................................................ 7
3 Processor Block .............................................................................................................. 7
4 Position Sensor Suite ....................................................................................................... 8
5 EnDat/BiSS Interface Header .............................................................................................. 8
6 Power Supply Block ......................................................................................................... 9
7 M12 Cable, Female End .................................................................................................. 11
8 Software Flow Diagram for the Example Project PM_bissc_SystemTest .......................................... 12
9 Configuring a New Target ................................................................................................. 13
10 Adding PM_bissc Example Project to Workspace ..................................................................... 14
11 Selecting the F2837x_RAM Configuration .............................................................................. 15
12 Selecting the CPUs to Connect .......................................................................................... 16
13 Configuring the Expressions Window.................................................................................... 17
List of Tables
1 Hardware Macros in IDDK Used for PM_bissc Evaluation ............................................................. 6
2 Digital Signal Mapping on Control Card H1............................................................................. 10
3 Purpose of Jumpers and Switches ....................................................................................... 10
4 Headers and Connectors .................................................................................................. 10
1 Introduction to IDDK
The DesignDRIVE Kit (IDDK) is a single platform that makes it easy to develop and evaluate design
solutions for many industrial drive and servo topologies. The IDDK offers support for a wide variety of
motor types, sensing technologies, encoder standards, and communications networks, as well as easy
expansion to develop with real-time Ethernet communications and functional safety topologies to enable
more comprehensive, integrated system solutions. Based on the real-time control architecture of TI’s
C2000™ microcontrollers (MCUs), the kit is ideal for the development of industrial inverter and servo
drives used in robotics, computer numerical control machinery (CNC), elevators, materials conveyance,
and other industrial manufacturing applications.
The IDDK offers an integrated drive design with a full-power stage to drive a three-phase motor, easing
evaluation of a diverse range of feedback sensing and control topologies. The kit includes a 180-pin
HSEC controlCARD based on the TMS320F28379D C2000 Delfino™ MCU, which integrates dual C28x
real-time processing cores and dual CLA real-time coprocessors, providing 800 MIPS of floating-point
performance with integrated trigonometric and FFT acceleration.
The sophisticated sensing peripherals on the TMS320F28379D MCU, including sigma-delta filter modules
with up to eight input channels, four high-performance 16-bit ADCs, and eight windowed comparators,
enable the IDDK to support shunt, flux gate/ HALL, and sigma-delta current sensing simultaneously. For
position feedback, the IDDK leverages integrated MCU support for resolver and incremental encoder
interfaces. In addition, customers can also explore configuration options that allow the MCU to be placed
on either side of the high voltage isolation barrier.
The kit is designed to plug into 110-V/220-V AC mains, delivers up to 8 Amps, and is rated to drive motors
up to one horsepower.
This document covers the kit contents and hardware details, and explains the functions and locations of
various connectors present on the board. This document supersedes all documents available for the kit.
For more details, see the DesignDRIVE Development Kit IDDK Hardware Reference Guide (SPRUI23).
2 Hardware Configuration
To experiment with the IDDK for Position Manager BiSS-C Library evaluation, the following components
are needed:
• An IDDK EVM
• TMDXCNCD28379D
• USB-B to A cable
• Encoder and connectors NOT included in the kit that are required for evaluation:
– BiSS-C Encoder (for example, Kuebler 8.F5863.1426.C423)
– Cable (for the above Kuebler encoder, a 8-pole M12 cable – length as needed by the application
(max 100m))
C2000, Delfino, Code Composer Studio, controlSUITE are trademarks of Texas Instruments.
All other trademarks are the property of their respective owners.
4 Using Position Manager BiSS-C Library On IDDK Hardware SPRUI36 – November 2015
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
www.ti.com Hardware Configuration
– Adapter to connect cable to IDDK (for the above Kuebler encoder, a circular 8 position female to
wire leads – M12 receptacle)
– An external isolated 15-V power supply needed for MCU code development (preferably with a
barrel connector commonly referred to as DC jack). Power supply EMSA150120-P5P-SZ is used
for testing.
– PC with Code Composer Studio™ (CCSv6 or greater) installed
• DesignDRIVE Development Kit IDDK Hardware Reference Guide (SPRUI23), located at
controlSUITE\development_kits\TMDSIDDK_v2.0\~Docs\
For the schematic details of the IDDK EVM, see the file located at
controlSUITE\development_kits\TMDSIDDK_v2.0\IDDK_HwDevPkg\IDDK_HwDevPkg_v2.2.1.
SPRUI36 – November 2015 Using Position Manager BiSS-C Library On IDDK Hardware 5
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Hardware Overview www.ti.com
3 Hardware Overview
This section describes the subset of the components required for the Position Manager PM_bissc Library
evaluation only. Complete hardware overview of the kit can be obtained from the DesignDRIVE
Development Kit IDDK Hardware Reference Guide (SPRUI23), available on controlSUITE™.
Evaluation of the Position Manager PM_bissc Library requires usage of:
• Processor (CPU) block for control
• Position encoder suite
• On-board power supplies
6 Using Position Manager BiSS-C Library On IDDK Hardware SPRUI36 – November 2015
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
www.ti.com Hardware Overview
Each functional block, and the macros that make them, are presented in brief detail in the sections below.
The layout of various macros in the board is given in Figure 2. Schematic details of the individual macros
are available at
controlSUITE\development_kits\TMDSIDDK_v2.0\IDDK_HwDevPkg\IDDK_HwDevPkg_v2.2.1.
The IDDK is designed around the main control processor card in slot H1. This is designed to plug in a
c2000 Delfino (TMS320F28379D) MCU control card TMDXCNCD28379D designed with a HSEC180pin
edge connector.
SPRUI36 – November 2015 Using Position Manager BiSS-C Library On IDDK Hardware 7
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Hardware Overview www.ti.com
This block provides a range of position encoder and sensing interfaces, such as:
• QEP
• Resolver
• Sin-Cos
• EnDat / BiSS
PM BiSS-C Library evaluation uses this interface for communication.
DATA – 8 7 NC
DATA + 6 5 +15 V
CLK – 4 3 NC
CLK + 2 1 GND
8 Using Position Manager BiSS-C Library On IDDK Hardware SPRUI36 – November 2015
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
www.ti.com Hardware Overview
SPRUI36 – November 2015 Using Position Manager BiSS-C Library On IDDK Hardware 9
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Hardware Resource Mapping www.ti.com
10 Using Position Manager BiSS-C Library On IDDK Hardware SPRUI36 – November 2015
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
www.ti.com Hardware Setup Instructions for PM_bissc Library Evaluation
For more information, see the encoder and cable specifications and hardware schematics in
Section 3.3.
(b) Cable connections between the Encoder and IDDK: insert the header created using the adapter
cable above into the [Main] – H6 4×2 header of IDDK. The other end of the adapter connects to the
male side of the M12 cable. The female end of the M12 cable connects to the encoder as shown in
Figure 7.
SPRUI36 – November 2015 Using Position Manager BiSS-C Library On IDDK Hardware 11
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Software Setup for PM BiSS-C Evaluation Example Projects www.ti.com
5. Ensure that the toggle switch [M9]-SW1 is in Int position. Connect an isolated 15-V DC power supply
to [M9]-JP1.
6. Turn on the toggle switch [M9]-SW1. Now, [M9]-LD1 should turn on. More LEDs on the control card
should light up, indicating that the control card is receiving power from the board.
12 Using Position Manager BiSS-C Library On IDDK Hardware SPRUI36 – November 2015
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
www.ti.com Software Setup for PM BiSS-C Evaluation Example Projects
7. Click View → Target Configurations. In the User Defined section, find the file that was created in steps
6 and 7 in this list. Right-click on this file and select Set as Default. To use the configuration file
supplied with the project, click View → Target Configurations. Then, Expand Projects →
PM_bissc_SystemTest, right-click on the xds100v2_F2837x.ccxml file and choose Set as Default. This
tab also allows you to reuse existing target configurations and link them to specific projects.
SPRUI36 – November 2015 Using Position Manager BiSS-C Library On IDDK Hardware 13
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Software Setup for PM BiSS-C Evaluation Example Projects www.ti.com
8. Add the PM BiSS-C evaluation example project into the current workspace by clicking Project →
Import CCS Project. Select the project by browsing to:
C:\ti\controlSUITE\libs\app_libs\position_manager\v1_00_00_00\BiSS-C\examples\
PM_bissc_SystemTest. If there are multiple projects in this directory, click and choose the projects to
import and then click Finish. This copies all the selected projects into the workspace and shows only
one project; select it and click Finish.
14 Using Position Manager BiSS-C Library On IDDK Hardware SPRUI36 – November 2015
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
www.ti.com Software Setup for PM BiSS-C Evaluation Example Projects
3. On a successful completion of the build, click the Debug button, located in the top-left side of the
screen. If it is the first time using CCS, the following window may pop up requesting the user to
connect to one of the two CPUs in F28379x. Click on the box next to CPU1.
SPRUI36 – November 2015 Using Position Manager BiSS-C Library On IDDK Hardware 15
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Software Setup for PM BiSS-C Evaluation Example Projects www.ti.com
4. Now, the IDE automatically connects to the target, loads the output file into the device, and changes to
the Debug perspective.
5. Click Tools → Debugger Options → Program/Memory Load Options. The user can enable the
debugger to reset the processor each time it reloads the program by checking Reset the target on
program load or restart and clicking Remember My Settings to make this setting permanent.
6. Click on the Enable silicon real-time mode button , which also auto-selects the Enable polite real-
time mode button . This allows the user to edit and view variables in real time. Do not reset the
CPU without disabling these real-time options.
7. A message box may appear. If so, select YES to enable debug events. This sets bit 1 (DGBM bit) of
Status Register 1 (ST1) to a 0. DGBM is the debug enable mask bit. When the DGBM bit is set to 0,
memory and register values can be passed to the host processor for updating the debugger windows.
16 Using Position Manager BiSS-C Library On IDDK Hardware SPRUI36 – November 2015
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
www.ti.com Software Setup for PM BiSS-C Evaluation Example Projects
Alternately, a group of variables can be imported into the Expressions window; right click in the
Expressions Window and select Import. Then, browse to the .txt file containing these variables. Browse
to the root directory of the project and pick PM_bissc_SystemTest_VAR.txt, then click OK to import the
variables.
2. Click on the Continuous Refresh button in the watch window. This enables the window to run with
real-time mode. By clicking the down arrow in this watch window, the user can select Customize
Continuous Refresh Interval and edit the refresh rate of the watch window. Note that choosing an
interval that is too fast can affect performance.
SPRUI36 – November 2015 Using Position Manager BiSS-C Library On IDDK Hardware 17
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Software Setup for PM BiSS-C Evaluation Example Projects www.ti.com
7 References
• DesignDRIVE Development Kit IDDK Hardware Reference Guide (SPRUI23)
• DesignDRIVE Development Kit IDDK - User’s Guide (SPRUI24)
• C2000 Position Manager BISS-C Library User's Guide (SPRUI37)
18 Using Position Manager BiSS-C Library On IDDK Hardware SPRUI36 – November 2015
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other
changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest
issue. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and
complete. All semiconductor products (also referred to herein as “components”) are sold subject to TI’s terms and conditions of sale
supplied at the time of order acknowledgment.
TI warrants performance of its components to the specifications applicable at the time of sale, in accordance with the warranty in TI’s terms
and conditions of sale of semiconductor products. Testing and other quality control techniques are used to the extent TI deems necessary
to support this warranty. Except where mandated by applicable law, testing of all parameters of each component is not necessarily
performed.
TI assumes no liability for applications assistance or the design of Buyers’ products. Buyers are responsible for their products and
applications using TI components. To minimize the risks associated with Buyers’ products and applications, Buyers should provide
adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or
other intellectual property right relating to any combination, machine, or process in which TI components or services are used. Information
published by TI regarding third-party products or services does not constitute a license to use such products or services or a warranty or
endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the
third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of significant portions of TI information in TI data books or data sheets is permissible only if reproduction is without alteration
and is accompanied by all associated warranties, conditions, limitations, and notices. TI is not responsible or liable for such altered
documentation. Information of third parties may be subject to additional restrictions.
Resale of TI components or services with statements different from or beyond the parameters stated by TI for that component or service
voids all express and any implied warranties for the associated TI component or service and is an unfair and deceptive business practice.
TI is not responsible or liable for any such statements.
Buyer acknowledges and agrees that it is solely responsible for compliance with all legal, regulatory and safety-related requirements
concerning its products, and any use of TI components in its applications, notwithstanding any applications-related information or support
that may be provided by TI. Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards which
anticipate dangerous consequences of failures, monitor failures and their consequences, lessen the likelihood of failures that might cause
harm and take appropriate remedial actions. Buyer will fully indemnify TI and its representatives against any damages arising out of the use
of any TI components in safety-critical applications.
In some cases, TI components may be promoted specifically to facilitate safety-related applications. With such components, TI’s goal is to
help enable customers to design and create their own end-product solutions that meet applicable functional safety standards and
requirements. Nonetheless, such components are subject to these terms.
No TI components are authorized for use in FDA Class III (or similar life-critical medical equipment) unless authorized officers of the parties
have executed a special agreement specifically governing such use.
Only those TI components which TI has specifically designated as military grade or “enhanced plastic” are designed and intended for use in
military/aerospace applications or environments. Buyer acknowledges and agrees that any military or aerospace use of TI components
which have not been so designated is solely at the Buyer's risk, and that Buyer is solely responsible for compliance with all legal and
regulatory requirements in connection with such use.
TI has specifically designated certain components as meeting ISO/TS16949 requirements, mainly for automotive use. In any case of use of
non-designated products, TI will not be responsible for any failure to meet ISO/TS16949.
Products Applications
Audio www.ti.com/audio Automotive and Transportation www.ti.com/automotive
Amplifiers amplifier.ti.com Communications and Telecom www.ti.com/communications
Data Converters dataconverter.ti.com Computers and Peripherals www.ti.com/computers
DLP® Products www.dlp.com Consumer Electronics www.ti.com/consumer-apps
DSP dsp.ti.com Energy and Lighting www.ti.com/energy
Clocks and Timers www.ti.com/clocks Industrial www.ti.com/industrial
Interface interface.ti.com Medical www.ti.com/medical
Logic logic.ti.com Security www.ti.com/security
Power Mgmt power.ti.com Space, Avionics and Defense www.ti.com/space-avionics-defense
Microcontrollers microcontroller.ti.com Video and Imaging www.ti.com/video
RFID www.ti-rfid.com
OMAP Applications Processors www.ti.com/omap TI E2E Community e2e.ti.com
Wireless Connectivity www.ti.com/wirelessconnectivity
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2015, Texas Instruments Incorporated