Home

TWR-ADCDAC-LTC

image

Contents

1. 3V J16 SPI Chip Select Encoding Bit 2 Setting Connected to GND Driven by GPIO7 J28 J29 LTC2704 VOSx GND Connection Connect VOSA VOSB VOSC VOSD to GND J31 J32 Disconnect VOSx from GND Connect on board 5V rail to Tower System SPI Port Selection SPI MOSI SPI Port Selection SPI MISO SPI Port Selection SPI CS J30 Tower Power Connection Isolate on board 5V rail from Tower System LT3471 voltage regulator enabled LT3471 voltage regulator disabled Use output of LTC6655 5 as reference Use GNDas reference J34 LT3471 Shutdown LTC1859 Reference Voltage Selection Assemble the Tower system consisting of the Tower MCU module TWR SER and TWR ADCDAC LTC Be careful to match the Primary edge of each module to the Primary or Functional on older systems TWR ELEV module Make the following connections from the Tower System to the development computer 1 USB cable between computer and the Tower MCU module power debug USB connector 2 USB cable between the computer or optionally a wall adapter power supply and the USB connector on the TWR ADCDAC LTC 3 Serial cable from the computer to the DB9 on the TWR SER optional serial cable not included 4 Ethernet cable between the TWR SER and Ethernet port on computer TWR ADCDAC LTC Lab Guide Page 6 of 16 k 7 freescale semiconductor 2 A WEITE t M m Figure 4 TWR ADCDAC LTC Tower MCU Assembly TWR SER not pictured 4 TWR MCF5225X Setup This sec
2. Lab Guide Page 14 of 16 e e e 7s E TM 7 freescale semiconductor gt j E i 1 freescale J LINEAR smiconpducior r TECHNOLOGY Webserver Home kn o E 4 LTC 2498 Configuration Page Network Status System Run Time RTC This is the page to configure the LTC 2498 8 channel 24 bit Sigma Delta Analag to Digital Converter LED Control Datasheet LTC2498 Bch 24bit DeltaSigma ADC Configuration Pages Channel Setting ADC Datalogger Config Single En ded 0 B Set Read Thermocouple Reader Keep Previous Speed and Rejection Setting Reference Voltage V O Keep Previous 5 External Input LTC 2498 Voltage Reading Speed and Rejection Setting 2 Reject 50 60 Hz x1 speed Reject 50 Hz x1 speed Reject 60 Hz x1 speed Reject 50 60 Hz x2 speed Reject 50 Hz x speed 1 79609 Volts Temperature Sensor Speed and Rejection Setting Reject 50 60 Hz x1 speed Reject 50 Hz x1 speed Reject 60 Hz x1 speed 6 Repeat steps 4 and 5 above for the LTC2704 DAC and LTC1859 ADC 5 4 Data Logger and Generator The ADC Datalogger Config link in the menu on the left pane of the web pages provides a utility setup a datalogger using either of the ADCs Instructions for using the datalogger are provided at the top of the web page The samples are stored on the USB stick After the Set Read button is clicked the Samples Taken counter will increment periodically until all
3. Tower MCU module as described in the section above corresponding to your Tower MCU module 3 Press the RESET button on the Tower MCU module If connected to the serial port on the TWR SER module you should see something similar in a terminal emulator ma Shell build Jan Copyright cj 2006 SC SeEMiCOnduUCEtoE Preparing http serv Initializing Paramet TUR ADCDAC LTC Demonstration Eun http server 4 Start your internet browser disable any proxy settings and navigate to the target device address 169 254 3 3 5 You should see the web server welcome page in the browser window 2 freescale Ly LINTAR semiconductor TECHNOLOGY Webserver Home Freescale MQX Web Server The MOX Real time Operating System provides real time performance within a small configurable footprint The MQX RTOS is designed to allow you ta confiqure and balance code size with performance requirements The easy to use MOX API and out of box experience ensures first time RTOS users can start developing their application an the day you install the software but is powerful enough for experienced OS developers easily migrate legacy application code to an MOX based platform 6 Copy all the files in the usb pages directory of the TWR ADCDAC LTC Demo Suite to a USB stick The files should be in the root directory of the removable disk as shown in the figure below TWR ADCDAC LTC Lab Guide Page 11 of 16 9 7 freesca
4. are shown in Figure 3 and Table 1 below The Tower MCU module and TWR SER should be set to their default settings as described in their respective Quick Start Guides and User s Manuals Any deviations required from these settings will be specifically called out in the relevant sections below T LI arr Tuo Sue E r Li El B g ONI EC lee a EN fa EE EE Fi Bn T O JA Jaz CI3 R23 tad ekite a Wd eco e Paki Kan Figure 3 TWR ADCDAC LTC Default Jumper Settings Table 1 TWR ADCDAC LTC Default Jumper and Switch Settings Setting Description 1 2 Connect I C signals to QuickEval header 2 3 Connect SPI signals to QuickEval header 1 2 Use SPI CLK signal from SPIO 2 3 Use SPI CLK signal from SPI1 1 2 Select SPIO CSO 2 3 Select SPIO CS1 J11 SPI Port Selection SPI1 CSx 1 2 Select SPI1 CSO J1 J8 QuickEval I C SPI Selection J9 SPI Port Selection SPI CLK J10 SPI Port Selection SPIO CSx TWR ADCDAC LTC Lab Guide Page 5 of 16 P se w z freescale semiconductor Setting Description Select SPI1 CS1 Use SPI MOSI signal from SPIO Use SPI MOSI signal from SPI1 Use SPI MISO signal from SPIO Use SPI MISO signal from SPI1 Use SPIO CSx see J10 Use SPI1 CSx see J11 Connected to 3 3V SPI Chip Select Encoding Bit O Setting Connected to GND Driven by GPIO9 Connected to 3 3V SPI Chip Select Encoding Bit 1 Setting Connected to GND Driven by GPIO8 Connected to 3
5. page for each of the four Linear Technologies analog converter chips can be found on the left pane of the web page under the Configuration Pages link These pages provide a convenient way to change the operational settings of the converter chips and the ability to perform simple input output operations to set values on the DACs or read values from the ADCs Links to the datasheet for the device are provided on each of their respective configuration pages TWR ADCDAC LTC Lab Guide Page 12 of 16 Mice 2 lt freescale semiconductor 3 freescale y LI LIN AR Web H H j KE pento Linear Technology Mixed Signal Development Board Network Status Va ve The LTC Mixed Signal Development Board integrates seamlessly into Freescale s Tower Platform giving embedded developers immediate access to four af LTO s top selling ADCs and DACs With the on board LED Control QuickEval connectors embedded developers can interface with any number of LTC s Demo Boards for pment purposes system Run Time ETO Configuration Pages LTEZGOO DA ADC Datalogger Config LTC2704 DAC Thermocouple Reader LTC2488 ADC LTC1858 ADC 5 3 DAC to ADC Loopback The steps below describe how to setup the TWR ADCDAC LTC for a simple loopback from a DAC output to an ADC input NOTE Take care to only connect from the LTC2600 to the LTC2498 and and only from the LTC2704 to the LTC1859 1 Short the common COM pin input to the GND terminal for bot
6. setup and execution of the TWR ADCDAC LTC Demo Suite This suite of software utilizes an embedded webserver to control the actions of the MCU module and the TWR ADCDAC LTC analog devices An embedded USB host is utilized to store web pages and can also be used for data logging A block diagram of the Demo Suite software and hardware system is shown below Follow the steps in the relevant sections below to setup and walk through the demo software SPI Driver CGI USB Flash RTCS Functions Driver Webserver LTC2600 LTC2704 A Utilities Utilities M i Submission Ta index html HTMLPages j LTC2498 LTC1859 PC N Mixed Signal Web LTC2600 f cross LTC1859 LTC2704 Board Browser Figure 1 TWR ADCDAC LTC Demo Suite System Overview 1 1 TWR ADCDAC LTC Hardware Overview The TWR ADCDAC LTC is a Freescale Tower compatible high precision analog peripheral module with the following features e Controllable by any Freescale Tower controller module with an SPI interface e Two Linear Technology digital to analog converters DACs o LTC2704 16 Quad 16 bit voltage output SoftSpan DAC with readback o LTC2600 Octal 16 bit rail to rail DACs e Two Linear Technology analog to digital converters ADCs o LTC1859 8 channel 16 bit 100 ksps SoftSpan ADC with shutdown TWR ADCDAC LTC Lab Guide Page 3 of 16 z freescale semiconductor e e e 7s o LTC2498 24 bit 8 16 channel delta sigma ADC
7. with Easy Drive input current cancellation e Linear Technology voltage regulator o LTC3471 Dual 1 3A 1 2 MHz boost inverter e Linear Technology voltage reference o LTC6655 5 0 25 ppm noise low drift precision buffered 5V reference e Four 14 pin headers for connecting to any Linear Technology QuikEval demonstration board LTC2600 _ p LTC2498 ____ LTC3471 P i S M ai k Analog Outputs co E ER gt Analog Inputs 7 f LTC2704 LTC1859 Figure 2 TWR ADCDAC LTC Feature Call outs 2 References The documents listed below should be referenced for more information on the Freescale Tower System and the TWR ADCDAC LTC These documents can be found in the documentation tab of the TWR ADCDAC LTC product page which is linked to from www freescale com tower e TWRADCDACLTCQSG TWR ADCDAC LTC Quick Start Guide e TWRADCDACLTCUM TWR ADCDAC LTC User s Manual e TWRADCDACLTCSCH TWR ADCDAC LTC Schematics 3 Hardware Configuration The hardware required to run a demo using the TWR ADCDAC LTC Demo Suite is e Supported Tower MCU Module specific instructions for setup provided in this document TWR SER TWR ELEV TWR ADCDAC LTC USB mini B to A adapter provided in TWR ADCDAC LTC box TWR ADCDAC LTC Lab Guide Page 4 of 16 Tio po lt freescale semiconductor e USB Memory Stick not provided e Various cables and wires provided e Development Computer The default jumper shunt positions for the TWR ADCDAC LTC
8. CodeWarrior can now be closed unless you wish to step through the software 5 Runningthe Demos The TWR ADCDAC LTC uses an embedded web server to provide a graphical user interface with controls for the ADCs and DACs This section describes how to connect to the embedded web server and demonstrate the analog interfaces 5 1 Connecting to the Web Server The default IP address of the Tower System is 169 254 3 3 set in config h in the Demo Suite Typically when you connect your computer directly to the Tower the computer will default to an auto IP address on the same subnet as the Tower 169 254 x x therefore requiring no setup to the internet connection settings on the computer Note the computer may take a few minutes to default to the auto IP address and may report Limited or No Connectivity Alternatively you may configure the IP address of the computer manually to be 169 254 3 4 with a subnet mask of 255 255 0 0 See the Troubleshooting section below if there is an issue connecting to the embedded web server Follow these steps to run the embedded web server and connect to it using a web browser TWR ADCDAC LTC Lab Guide Page 10 of 16 7 freescale semiconductor 1 Assemble and connect the computer to the Tower System as described in section 3 Hardware Configuration Ensure that the power indicator LEDs are lit on all the modules including the GREEN LED on the TWR ADCDAC LTC 2 Program the Demo Suite software to the
9. KA 2 fre escale semicon ductor TWR ADCDAC LTC Lab Guide Rev O Freescale Semiconductor Inc TWRADCDACLTCLAB e T d e TM Pd freescale semiconqauctor Contents k IOVEFVIEV APE PR kaas ca sebo RE EE ET EE 3 1 1 TWRSADCDACALTGCTatdware verviQi sic sko Kalo dj SEK oc Een ea euet a Gina ox pese aed Et sekala 3 2 ge TTTA V0 4 3 PAW CW AVC OTE BNO c M 4 A ST WR WMIGES ZZ SX SO UU py 7 AI CodeWarrior Tor ColdFiro SP a a ar FT P rRFFrFTFFTTFTT 7 2 LR GR E THE DEMOS nes ee an mu 10 LONNCCUHO OTO WED SEL CK EEE ORE SIO EEU GA SIR aK 10 L IFLONDIGSNODENMP the VOD SOV CL susesi snno ne ko JEO e au vu E Sude Sa kaosa 12 o Z LI CGCONIPULAU ON PAC CS secs ae EEK nn tan una 12 So DAC EC ADO LOOP DA E o mao rn ro ro eo nero RUM MEME MM 13 od Data LOS CF dnd Gene dEOE Re aE en ni 15 ou M sl evalo iis o REN A 15 TWR ADCDAC LTC Lab Guide Page 2 of 16 e e e freescale semiconductor 1 Overview This lab guide describes how to run the MQX web enabled demonstration applications using the TWR ADCDAC LTC Tower peripheral module in combination with other Freescale Tower MCU and peripheral modules The guide is broken up into sections based on the Tower MCU module hardware and development tools used This lab walks the user through the
10. MCF52259 INTFLASH xml CodeWearrior will open the correct directory by default and the correction file is the last option when files are sorted alphabetically TWR ADCDAC LTC Lab Guide Page 9 of 16 Mice 2 freescale semiconductor Load Settings File Look in CE MCF52210 IMTFLASH xml LS MCF52255_INTFLASH xml Le MCF52211 INTFLASH xmi MCF52256_INTFLASH xml My Recent MCF52212 INTFLASH xml LS MCF52258 IMTFLASH xml Documents MCF52213 INTFLASH xmi EMcFS2259 INTFLASH xmi MCF52221 INTFLASH xmi MCF52223 INTFLASH xmi Desktop MCF52230 INTFLASH xml MCF52231 INTFLASH xmi MCF52232 INTFLASH xmi MCF52233_INTFLASH xml MCF52234 INTFLASH xmi MCF52235 IMTFLASH xml MCF52236 INTFLASH xml MCF52252 IMTFLASH xml MCF52254 INTFLASH xmi IE E E E E E E E E E My Documents MIE T My Computer My Network File name MCF52259_INTFLASH xml Places Files of type Flash Programmer Settings files ml Cancel AI E uus 9 Select the Erase Blank Check page left pane of the Flash Programmer window Select All Sectors and click Erase 10 Select the Program Verify page and click Program Upon successful programming the status will display Program Command Succeeded Close the window The internal flash of the MCF52259 MCU on the TWR MCF5225X is now programmed with the Demo Suite software
11. default We need to make a change in the configuration file and rebuild the MQX libraries d Select File gt Open and click Objects of drop down box and select Project Files mcp Navigate to the config twrmcf52259 cwcf72 directory inside the MQX installation folder C Program Files Freescale Freescale MQX x x by default Open build twrmcf52259 libs mcp Select File gt Open and open config twrmcf52259 user_config h Ensure that MQX USE TIMER is defined define MOX USE TIMER 1 Build all the libraries by clicking the Make icon P This step will take several minutes to complete Close the user_config h file and the project Select File gt Open and navigate to the TWR ADCDAC LTC Demo Suite software unzipped in Step 3 Click Objects of drop down box and select Project Files mcp Select twradcdacltc demosuite mcp Make sure the Int Flash Debug target is selected in the target drop down box and click the Make icon twradcdaclic demozuite mcp Fehde BSA Files Link Order Targets Ld File Code Data XX d H4 Linker Files 0 Ds u C2 MO Libraries 0 0 zi w AICS Libiaries xl LI v 5 0 E zi g A O USE Host Pip 0 O m e Ha USB Devise Libraries 0 B amp HI Shell Libraries 0 zl 4 7 Source 0 0 x 4 Sampler 0 m e SL LIC 0 l m Webserver 0 0 i Li 3dcg CGI Ni l rj Li i USE Ni l rl 6 Connect a USB cable betwe
12. en your development computer and the TWR MCF5225X PWR OSBDM USB connector Choose to Install the software automatically if prompted TWR ADCDAC LTC Lab Guide Page 8 of 16 7 freescale semiconductor ound blass rror Wizard Welcome to the Found New Hardware Wizard This wizard helps you install software for Open Source BOM IMBO LibBLIS B 32 If your hardware came with an installation CD e or floppy disk insert it now What do you want the wizard to do Install from a list or specific location Advanced Click Next to continue 7 Open the Flash Programmer tool In CodeWarrior 7 2 by selecting Tools gt Flash Programmer from the top menu bar E rls Prosser Flash Programmer Target Configuration Target Configuration Flash Configuration Erase Blank Check Default Project twradedacltc demosuite mcp Program Vert Checksum Default Target Int Flash Debug Use Custom Settings Processor Family Target Processor Ee Connection PEMICAO USE kut M Use Target Initialization Initialization File of Default Target used when Use Custom Settings unchecked ETT Target RAM Memory Buffer Options Target Memory Buffer Address Ca 20000000 M Enable Lagging Target Memory Buffer Size x 00008000 Verify Target Memory Writes Show Log Load Settings Save Settings 8 Click the Load Settings button at the bottom of the Target Configuration page and select
13. h the LTC2498 and the LTC185 as shown in the picture below 2 Connect a wire from channel A of the LTC2600 to channel 0 of the LTC2498 3 Connect a wire from channel A of the LTC2704 to channel 0 of the LTC1859 TWR ADCDAC LTC Lab Guide Page 13 of 16 e a pe freescale semiconductor UUJ UNUU UUU suu 4 In the web browser go to the LTC2600 configuration page and enter a voltage value e g 1 8 in the Value to Write field Leave the other settings at their default value as shown below Click the Set Write button Pd freescale semicoke Webserver Home Network Status System Run Time RTC LED Control Configuration Pages ADC Datalogger Config Thermocouple Reader AJ LINEAR LTC 2600 Configuration Page This is the page to configure the LTC 2600 8 channel 16 bit Rail ta Rail Digital to Analog Converter Datasheet LTC2600 8ch 16bit Rail2Rail DAC Value to Write Vref Channel Setting Command Setting Set Write O Write Channel N O Update Channel N Value to Send Write and Update All 9 Write and Update N O Power Down N O No Operation 5 Switch to the LTC2498 configuration page Select Single Ended 0 in the Channel Setting drop down box and click the Set Read button The updated voltage reading will be displayed on the page Verify that it is approximately the same value set as the output on the DAC TWR ADCDAC LTC
14. le semiconductor File Edit View Favorites Tools Help C9 sack o p Search Folders Bak l datasheets sd line brp z redquest js File and Folder Tasks IE adclogger html ltc1859 htral rtc Atm ae ltc2498 html Bil source data csv Other Places Y ai kcz600 html Ecpstat html icmpstat html Itc 704 html thermocouple html ipskak hEml ltchoard html udpstat html led htral d Max CSS mi wkriteCSWvfiles jpg e My Computer 7 Insert the USB stick into the TWR SER module using the provided mini B adapter 8 Reload the Web server home page by pressing F5 in the browser window You should now see the LTC Mixed Signal Board option in the menu on the left of the screen 5 1 1 Troubleshooting the Web Server If you are unable to communicate from a computer to the embedded web server of the Tower System try the following 1 Ensure the Tower system is assembled correctly Each tower module has a primary and secondary card edge connector The primary side must be connected to the Primary or Functional in older systems Elevator 2 Ensure that the computer s internet connection is properly configured and able to connect to the web server In a command window try the ipconfig and ping commands to test the communication with the Tower System 3 Ensure any proxy settings in your browser are turned off 4 Turn off any other network connections real and virtual 5 2 LTC Configuration Pages A configuration
15. the requested samples have been acquired Once complete you can access the log file csv format over the internet connection by typing the name of the output log file in the address bar of your browser For example if you left the logfile name as the default of output_log then you can access the log file by browsing to http 169 254 3 3 usb output log csv 5 5 Thermocouple The Thermocouple Reader link in the menu on the left pane provides a utility to use the LTC2498 as a thermocouple reading device Connect the provided thermocouple wire to the LTC2498 inputs as shown below yellow wire to Channel 0 and brown wire to GND and follow the instructions on the Thermocouple Reader page TWR ADCDAC LTC Lab Guide Page 15 of 16 7 freescale semiconductor TWR ADCDAC LTC Lab Guide Page 16 of 16
16. tion describes how to setup the TWR MCF5225X as the Tower MCU module used to run the Demo Suite and interface to the TWR ADCDAC LTC 4 1 CodeWarrior for ColdFire v7 2 This section provides a walkthrough for setting up the TWR ADCDAC LTC Demo Suite using CodeWarrior for ColdFire v7 2 1 Install CodeWarrior for ColdFire v7 2 http www freescale com codewarrior NOTE There are different classic CodeWarrior Studios for ColdFire V1 family MCF51xx v6 3 and ColdFire V2 V4 families MCF52xx MCF54xx v7 2 CodeWarrior for Microcontrollers v10 x is a unified version which covers all ColdFire and Kinetis MCUs 2 Install MQX RTOS http www freescale com max latest version is 3 6 2 at the time of this writing NOTE If you are running Windows Vista or Windows 7 it is recommended that you install MQX outside of the default C Program Files directory Windows UAC prevents writes to that directory if you are not running as administrator 3 Unzip the TWR ADCDAC LTC Demo Suite software 4 Open CodeWarrior for ColdFire v7 2 Click Start Using CodeWarrior TWR ADCDAC LTC Lab Guide Page 7 of 16 t po freescale semiconductor 5 The source code is provided with a pre built binary Therefore in most cases you should skip directly to Step 6 However if you need to rebuild the binary image a modification needs to be made to the prebuilt TWR MCF5225X MQX BSP a timer used by the TWR ADCDAC LTC Demo Suite is turned off by

Download Pdf Manuals

image

Related Search

TWR ADCDAC LTC

Related Contents

    Philips HS8060 User's Manual  HP C309a Basic manual  SCR-SCRF Series Single & Three Phase Chargers  Q3X Sensore laser per bassi livelli di contrasto  ORCA-XX-manual  PocketWizard MultiMAX  BaByliss G596E  AMD LCX-16 User's Manual  

Copyright © All rights reserved.
Failed to retrieve file