National Semiconductor DAC161P997 User manual

National Semiconductor
DAC161P997EVAL User’s Guide
2011 National Semiconductor Corporation Page 1 of 11 Rev: 0.00
July 20, 2011
Rev – 0.00
RoHS Compliant
Evaluation Board User's Guide
DAC161P997 Single-Wire 16-bit DAC for 4-20mA Loops

National Semiconductor
DAC161P997EVAL User’s Guide
2011 National Semiconductor Corporation Page 2 of 11 Rev: 0.00
1. Kit Components
Item Qty. Description
DAC161P997EVAL 1 DAC161P997CISQ Device evaluation oard
PuffyALP_11012010_200_0026.exe 1
Application software availa le from:
http://portal.national.com/store/view_item/index.html?nsid=D
AC161P997EVAL
SPIO4 1
USB interface oard purchased separately at:
http://portal.national.com/store/view_item/index.html?nsid=S
PIO-4

National Semiconductor
DAC161P997EVAL User’s Guide
2011 National Semiconductor Corporation Page 3 of 11 Rev: 0.00
2. Software Installation
Copy the installation program to a temporary directory. Start the program and follow the instruction
on the screen: the user will e asked to agree to the terms and conditions, the options will e
presented for selecting installation directory, etc. Note the path to which the software is installed
(installation_directory).

National Semiconductor
DAC161P997EVAL User’s Guide
2011 National Semiconductor Corporation Page 4 of 11 Rev: 0.00
3. Kit Assembly
1. Plug in the DAC161P997EVAL oard into 32 pin header of the SPIO4 oard
2. Plug in the USB ca le into the SPIO4 oard socket
3. Plug in the USB ca le to the USB port on the host PC
If this is the first time this evaluation system is connected to host PC, the operating system will
attempt to install the USB driver software for the SPIO4 oard. Follow the instruction on the
screen and direct the operating system to search for appropriate drivers in the
installation_directory\Drivers\NSC_USB_v1.0.8.0
4. Connect DAC161P997 Test Board to the Loop supply (up to 40V DC )
Complete evaluation system is shown elow
SPIO4
DAC161P997
CPU Reset
VDDIO
Header: SHUNT MUST ALWAYS
BE IN POSITION [1, 2] (here: LEFT and
CENTRE)
5V Supply
LOCAL LDO Header: shunt
is inserted y default
ERRLVL SEL Header: shunt is
inserted in position [1,2]
(here: COM and CENTRE)
SWIF t
est points
HART input

National Semiconductor
DAC161P997EVAL User’s Guide
2011 National Semiconductor Corporation Page 5 of 11 Rev: 0.00
4. Default Set-Up and Power-Up
As shipped the DAC161P997 Test Board is configured to e powered directly from the 0-20mA loop.
Local LDO (LM2936) provides 3.3V to DAC161P997 y stepping down the loop supply.
The loop is connected via terminals 5 and 6 of J1 connector. The optional shunt etween terminals 2
and 3 will power up the on oard diagnostic LEDs.
Jumper block Shunt position Function
LOCAL LDO in Connects the output of the 3.3V LDO to the VD (VA) rail of the
DAC161P997
ERRLVL SEL [COM, CENTER] Sets the input to the ERRLVL pin of DAC161P997
VDDIO [1,2] Provides the rail potential to the stimulus board (SPIO-4).
Once the above jumpers are in place, turn on the 5V power supply. In the configuration
shown here the loop current sourced from OUT is 3.3mA.

National Semiconductor
DAC161P997EVAL User’s Guide
2011 National Semiconductor Corporation Page 6 of 11 Rev: 0.00
5. ALP User Interface Software
Start y either navigating START-> National Semiconductor Corp -> Analog LaunchPAD v2…. ->Analog
LaunchPAD or, if installed, y clicking desktop shortcut.
The first screen is shown elow. If the system is properly assem led the SPIO4Board 1, and PuffyDAC
should e listed in the Devices menu in the left-hand side of the window.
Click on PuffyDAC in Devices Menu to continue….

National Semiconductor
DAC161P997EVAL User’s Guide
2011 National Semiconductor Corporation Page 7 of 11 Rev: 0.00
“Information” Ta
Selecting PuffyDAC in the Devices menu will activate the PuffyDAC screen. This screen contains 6 ta s.
1. Information: Shows the asic system information
2. Registers: this ta is not activated in present release of software
3. Scripting: Python interpreter window
4. DAC161P997 Data: lets user send DAC output update data (DAC update data changes output
current at OUT pin of the device)
5. DAC161P997 Config: lets user send data destined for the DAC161P997 internal configuration
registers
6. Stimulus Config: lets user modify the operation of the SPIO4 oard (stimulus oard)
The following sections will present the ta s in order that lets the first time user produce output from
the DAC161P997 quickly.
First select “Stimulus Config” ta …..

National Semiconductor
DAC161P997EVAL User’s Guide
2011 National Semiconductor Corporation Page 8 of 11 Rev: 0.00
“Stimulus Config” Ta
Check the “SWIF Continuous mode”. Then go to “DAC161P997 Data” ta ….
Details for later:
Control Descri tion of Functionality
SWIF Baud Rate
Sets the Bud rate of the SWIF link. New entry must e followed y <ENTER> key.
NOTE: Update stops the SWIF activity. Re-start SWIF with any of the SEND uttons in
other ta s
SWIF Continuous Mode
When checked SPIO4 will continue looping through the content of the SWIF data uffer
(Continuous Mode) until STOP utton is clicked
When cleared SPIO4 sends the content of the SWIF data uffer only once (One Shot
Mode )and follows it with repeated Intra-Frame sym ol until STOP is clicked
NOTE: Updating this control stops SWIF if already active. Re-start SWIF with any of the
SEND uttons in other ta s
Set Intra-Frame Symbol=D
When checked SPIO4 sets the Intra-Frame Sym ol to D (50% duty cycle). This setting
keeps the link active at all times, even though no meaningful data is eing sent.
When cleared SPIO4 sets the Intra-Frame Sym ol to LO (0% duty cycle).
NOTE: Intra-Frame Sym ol exists only in the context of the “SWIF One Shot Mode”
NOTE: Updating this control stops SWIF if already active. Re-start SWIF with any of the
SEND uttons in other ta s
Set ERRLVL=HI
Instructs SPIO4 oard to set HI the ERRLVL input to DAC161P997. In the default set-up
that functionality is not availa le. To ena le it a jumper should e installed connecting
points marked with “A” on the DAC161P997 Test Board

National Semiconductor
DAC161P997EVAL User’s Guide
2011 National Semiconductor Corporation Page 9 of 11 Rev: 0.00
“DAC161P997 Data” Ta
Click on and type in the “Loop Current (mA)” the desired current magnitude to e produced y
DAC161P997 output. Then press green SEND utton. O serve the current….
Details for later:
Control Descri tion of Functionality
ACK Check this ox to insert and ACK sym ol in the SWIF data stream
Send Sends the data representing the output current magnitude to SWIF data uffer on
SPIO4, and activates the link to DAC161P997
Send File
Click this control to select a file as the source of SWIF data. SWIF data file is a text file
containing only ‘0’, ‘1’, ‘A’ or ‘D’ characters (representing valid SWIF sym ols). It is up
to the user to format the data frames. When file is read-in the name of the file will
appear a ove “Send File” utton and the “Loop Current” entry ox will e cleared.
Sto Stops SWIF activity
Check ACK, NACK
SPIO4 monitors the num er of A sym ols issued y the SWIF. Each sym ol issued
increments the ACK count.
The num er of responses from the DAC161P997 is also eing monitored: for every A
issued y SWIF the lack of res onse from DAC161P997 increments the NACK count.
Both counters are cleared y STOP followed y SEND

National Semiconductor
DAC161P997EVAL User’s Guide
2011 National Semiconductor Corporation Page 10 of 11 Rev: 0.00
“DAC161P997 Config” Ta
Control Descri tion of Functionality
8-bit Value (bin) Enter a string of ‘0’ and ‘1’ characters representing configuration data for each of the
DAC161P977 internal registers
ACK same as in “DAC161P997 Data” ta
Send Sends the register address and data to the SWIF data uffer on SPIO4, and activates the
link to DAC161P997
STOP same as in “DAC161P997 Data” ta
Check ACK, NACK same as in “DAC161P997 Data” ta

National Semiconductor
DAC161P997EVAL User’s Guide
2011 National Semiconductor Corporation Page 11 of 11 Rev: 0.00
BY USING THIS PRODUCT, YOU ARE AGREEING TO BE BOUND BY THE TERMS AND CONDITIONS OF NATIONAL
SEMICONDUCTOR'S END USER LICENSE AGREEMENT. DO NOT USE THIS PRODUCT UNTIL YOU HAVE READ AND
AGREED TO THE TERMS AND CONDITIONS OF THAT AGREEMENT. IF YOU DO NOT AGREE WITH THEM, CONTACT
THE VENDOR WITHIN TEN (10) DAYS OF RECEIPT FOR INSTRUCTIONS ON RETURN OF THE UNUSED PRODUCT FOR
A REFUND OF THE PURCHASE PRICE PAID, IF ANY.
The DAC161S055 Evaluation Board is intended for product evaluation purposes only and is not intended for resale to end
consumers, is not authorized for such use and is not designed for compliance with European EMC Directive 89/336/EEC, or for
compliance with any other electromagnetic compatibility requirements.
National Semiconductor Corporation does not assume any responsibility for use of any circuitry or software supplied or described.
No circuit patent licenses are implied.
LIFE SUPPORT POLICY
NATIONAL'S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR
SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT OF NATIONAL SEMICONDUCTOR
CORPORATION. As used herein:
1. Life support devices or systems are devices or systems which, (a) are intended for surgical implant into the body, or (b)
support or sustain life, and whose failure to perform, when properly used in accordance with instructions for use provided in
the labeling, can be reasonably expected to result in a significant injury to the user.
2. A critical component is any component in a life support device or system whose failure to perform can be reasonably
expected to cause the failure of the life support device or system, or to affect its safety or effectiveness.
National Semiconductor Corporation
Americas
Tel: 1-800-272-9959
Fax: 1-800-737-7018
National Semiconductor Europe
Fax: +49 (0) 1 80-530 85 86
Email: europe.support@nsc.com
Deutsch Tel: +49 (0) 699508 6208
English Tel: +49 (0) 870 24 0 2171
French Tel: +49 (0) 141 91 8790
National Semiconductor
Asia Pacific Customer
Response Group
Tel: 65-2544466
Fax: 65-2504466
Email:sea.support@nsc.com
National
Semiconductor
Japan Ltd.
Tel: 81-3-5639-7560
Fax: 81-3-5639-7507
www.national.com
National does not assume any responsibility for any circuitry described, no circuit patent licenses are implied and National reserves the right at any
time without notice to change said circuitry and specification.

IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements,
and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should
obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are
sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.
TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard
warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where
mandated by government requirements, testing of all parameters of each product is not necessarily performed.
TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and
applications using TI components. To minimize the risks associated with customer products and applications, customers should provide
adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right,
or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information
published by TI regarding third-party products or services does not constitute a license from TI 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 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. Reproduction of this information with alteration is an unfair and deceptive
business practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional
restrictions.
Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all
express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not
responsible or liable for any such statements.
TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonably
be expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governing
such use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, and
acknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their products
and any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may be
provided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in
such safety-critical applications.
TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products are
specifically designated by TI as military-grade or "enhanced plastic."Only products designated by TI as military-grade meet military
specifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely at
the Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use.
TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are
designated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designated
products in automotive applications, TI will not be responsible for any failure to meet such requirements.
Following are URLs where you can obtain information on other Texas Instruments products and application solutions:
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 Mobile Processors www.ti.com/omap
Wireless Connectivity www.ti.com/wirelessconnectivity
TI E2E Community Home Page e2e.ti.com
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright ©2012, Texas Instruments Incorporated
Table of contents
Other National Semiconductor Evaluation Board manuals