Home

TIP500 - powerbridge.de

image

Contents

1. Page 10 of 26 TEWS amp TECHNOLOGIES 5 IP Addressing The TIP500 is controlled by a set of registers which are directly accessible in the I O address space of the IP module Address Symbol Description Size Bit Access 0x00 CONTREG ADC Control Register 16 R W 0x02 DATAREG _ ADC Data Register 16 R W 0x05 STATREG ADC Status Register 8 R 0x07 CONVERT ADC Convert Start Register 8 W 0x09 INTVEC Interrupt Vector Register 8 R W OXOB IDWRENA ID PROM write enable 8 W Table 5 1 Register Set IDWRENA is for factory use only Do not write to this register 5 1 ADC Register Set The ADC of the TIP500 is controlled by a set of 4 registers All registers are cleared by IP RESET e ADCControl Register e ADC Data Register e ADC Status Register e ADC Convert Start Register 5 1 1 ADC Control Register Address 0x00 The ADC Control Register CONTREG is used to select the input channel gain and mode for the next data conversion Bit Symbol Description Access Reset Value 15 10 Unused bits read access undefined write access don t care R W 0 9 INTENA Interrupt Enable R W 0 0 Interrupts disabled 1 Interrupts enabled IP INTREQ1 is generated when the settling time is done IP INTREQO is generated when a data conversion is done In Automatic Settling Time mode only IP INTREQO is generated TIP500 User Manual Issue 1 1 9 Page 11
2. TEWS amp TECHNOLOGIES Bit Symbol Description Access Reset Value 7 2 Undefined bits R undefined ADC Busy ADC Busy Indicates if an actual data conversion is still in progress In Automatic Settling Time Mode the ADC Busy bit is 1 during the settling time and the conversion time The ADC Busy bit must be read as 0 before the data is read from the ADC DATAREG register R 0 Settle Busy Settling Time Busy Indicates if the settling time count is still in progress In Normal Settling Time Mode after writing to the ADC CONTREG register the Settle Busy bit must be read as 0 before a conversion is started by writing to the ADC CONVERT register Table 5 4 STATREG ADC Status Register Address 0x05 5 1 4 ADC Convert Start Register Address 0x07 If the TIP500 is configured for Normal Settling Time Mode writing any value into the ADC Convert Register CONVERT starts a data conversion immediately In Normal Settling Time Mode it is in the responsibility of the user to observe the Settle Busy flag and the ADC Busy flag in the ADC STATREG register Writes to the ADC CONVERT register during ADC Busy 1 are ignored TIP500 User Manual Issue 1 1 9 Page 14 of 26 TEWS amp TECHNOLOGIES 5 1 5 Interrupt Vector Register Address 0x09 There are two possible interrupt sources A Settling Time Done event and an ADC Da
3. the ADC busy flag is active during the whole cycle of channel gain select settling time and data conversion When the ADC busy clears to 0 the conversion result is accessible in the ADC DATAREG register and an interrupt will be generated if interrupts are enabled ADC busy 0 write access to CONTREG TIP500 User Manual Issue 1 1 9 Page 20 of 26 TEWS amp TECHNOLOGIES 6 3 2 Automatic Mode without Data Pipeline If Automatic Mode without Data Pipeline is selected the result of the actual conversion is shifted into the ADC Data Register DATAREG The acquisition and conversion time in this mode is 30us a Start Select new gain amp channel Auto active ad ADC Y Busy Read data of conversion n Write to CONTREG starts automatically conversion after settling time has expired and shifts the result into DATAREG Bit 1 of STATREG indicates ADC busy during the whole cycle Read data of the actual conversion from DATAREG Figure 6 5 Flowchart Automatic Mode without Data Pipeline TIP500 User Manual Issue 1 1 9 Page 21 of 26 TEWS S TECHNOLOGIES 6 3 3 Automatic Mode with Data Pipeline If Automatic Mode with Data Pipeline is selected during conversion N the result of conversion N 1 is shifted into the ADC Data Register DATAREG The acquisition and conversion time in this mode is 20us ER Auto amp Pipeline a
4. 1 Gaingorr 16384 OffSetcorr 4 Value is the corrected result Reading is the data read from the ADC data register Gaineor and Offset are the correction factors from the ID PROM GaiNcr and Offsetsor correction factors are stored for each gain factor Floating point arithmetic or scaled integer arithmetic is necessary to avoid rounding errors while computing above formula TIP500 User Manual Issue 1 1 9 Page 9 of 26 41D PROM Content Address Function Contents 0x01 ASCII T 0x49 0x03 ASCII P 0x50 0x05 ASCII A 0x41 0x07 ASCII C 0x43 0x09 Manufacturer ID 0xB3 0x0B Model Number 0x18 0x0D Revision 0x10 0x0F Reserved 0x00 0x11 Driver ID low byte 0x00 0x13 Driver ID high byte 0x00 0x15 Number of bytes used 0x15 0x17 CRC Variable 0x19 Board Option TIP500 10 0x0A TIP500 11 0x0B TIP500 20 0x14 TIP500 21 0x15 0x1B Offset Error at gain 1 Board dependent 0x1D Offset Error at gain 2 Board dependent 0x1F Offset Error at gain 5 Board dependent 0x21 Offset Error at gain 10 Board dependent 0x23 Gain Error at gain 1 Board dependent 0x25 Gain Error at gain 2 Board dependent 0x27 Gain Error at gain 5 Board dependent 0x29 Gain Error at gain 10 Board dependent 0x2B Not used 0x3F Not used Table 4 1 ID PROM Content TIP500 TIP500 User Manual Issue 1 1 9 TEWS S TECHNOLOGIES
5. AREG register In this mode it is possible that the settling time and conversion time proceed simultaneously The total acquisition and conversion time in this mode is 20us i Write access to CONTREG Select gain amp channel N SETTLE Y Peed bit of STATREG to check Busy for end of settling time N Write to CONVERT starts conversion Start and shifts result of convesion conversion into the DATAREG Select a new channel and a new gain one deg during conversion proceeds by a write channel access to CONTREG Ow ADC Y Read bit 1 of the STATREG to check Busy for end of conversion N y Read data of Read result of the conversion conversion from DATAREG Figure 6 2 Flowchart Normal Mode without Data Pipeline For conversions without channel and gain change it is not necessary to observe the Settle Busy flag in the ADC STATREG register TIP500 User Manual Issue 1 1 9 Page 18 of 26 TEWS S TECHNOLOGIES 6 2 3 Normal Mode with Data Pipeline If Normal Mode with Data Pipeline is selected during conversion N the result of conversion N 1 is shifted into the ADC DATAREG register In this mode it is possible that the settling time and conversion time proceed simultaneously The total acquisition and conversion time in this mode is 10us with no change of channel gain and 12 5us with change of channel gain Select gain amp Write access to STATR
6. DIAGRAM reen ee ee Ge ee Ge ee Ge Ge RA ee ee ek Ak ee FIGURE 5 1 DATAREG ADC DATA REGISTER ADDRESS 0X02 0 FIGURE 6 1 STATE DIAGRAM NORMAL MODE ees ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee FIGURE 6 2 FLOWCHART NORMAL MODE WITHOUT DATA PIPELINE FIGURE 6 3 FLOWCHART NORMAL MODE WITH DATA PIPELINE FIGURE 6 4 STATE DIAGRAM AUTOMATIC MODE I nerne ee ee ee ee ee FIGURE 6 5 FLOWCHART AUTOMATIC MODE WITHOUT DATA PIPELINE FIGURE 6 6 FLOWCHART AUTOMATIC MODE WITH DATA PIPELINE List of Tables TABLE 1 1 BOARD OPTION OVERVIEW A TABLE 2 1 TECHNICAL SPECIFICATION ees ee ee ee ee ee see ee ee ee ee ee ee ee se ee ee ee TABLE 3 1 BOARD OPTION OVERVIEW ee ees ee ee ee ee ee ee eke see ee ee ee ee ee ee se ee se ee TABLE 4 1 ID PROM CONTENT TIPSOO KG ees ese cee eee ee ee kreere ee Ge ee ee ee ee TABLE 541 REGISTERSET ss esse bes see sede ed eed kepe dee ee ee es ee ee dee de De TABLE 5 2 CONTREG ADC CONTROL REGISTER ADDRESS 0X00 TABLE 5 3 ADC DATA CODING ee es ee ee ee Re ee ee ee ee TABLE 5 4 STATREG ADC STATUS REGISTER ADDRESS 0X09 TABLE 5 5 INTVEC INTERRUPT VECTOR REGISTER ADDRESS 0X09 TABLE 6 1 OPERATING MODES ees ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee TABLE 7 1 ANALOG INPUT CONNECTIONS ee ee ee ee ee ee ee ee ee ee ee ee TABLE 7 2 POWER INPUT CONNECTION
7. EG Channel Pipeline Active l Ka Y Read bit 0 of STATREG to check for end of settling time N Write to CONVERT starts conversion N Start and shifts result of convesion N 1 conversion into the DATAREG Select new Select a new channel and a new gain gain amp new during conversion proceeds by a write channel access to CONTREG Pipeline Active WE ADC Y Read bit 1 of the STATREG Busy to check for end of conversion N Read data of Read result of the conversion N 1 conversion N 1 from DATAREG Figure 6 3 Flowchart Normal Mode with Data Pipeline For conversions without channel and gain change it is not necessary to observe the Settle Busy flag in the ADC STATREG register TIP500 User Manual Issue 1 1 9 Page 19 of 26 TEWS S TECHNOLOGIES 6 3 Automatic Mode Any write access to the ADC CONTREG register where bit 7 is set to 1 selects the Automatic Mode with the selected input channel input channel mode and gain The data conversion is started automatically by hardware when the settling time expires The conversion data is available in the ADC DATAREG register when the ADC Busy flag in the ADC STATREG is read as 0 If interrupts are enabled an interrupt is generated when the data conversion is done 6 3 1 State Diagram Automatic Mode no cycle next ADC busy 1 Figure 6 4 State Diagram Automatic Mode In Automatic Mode
8. Manual Issue 1 1 9 Page 24 of 26 TEWS S TECHNOLOGIES 8 Programming Notes After power up the on board ADC device is in a random state and reduires two dummy conversions before operating correctly This is based on the chip design of the ADC device Software should ignore the data of the first two ADC conversions after power up The software drivers from TEWS TECHNOLOGIES already include these two dummy conversions TIP500 User Manual Issue 1 1 9 Page 25 of 26 TEWS S 9 Installation Notes Make sure that all unused analog input pins are tied to the AGND signal level or any other valid signal level within the analog input voltage range This is required even if the unused channels are turned off by software If unused analog inputs are left floating they could badly degrade the performance of the active channels TIP500 User Manual Issue 1 1 9 Page 26 of 26
9. TEWS E The Embedded LO Company TECHNOLOGIES TIP500 Optically Isolated 16 Channel 12 Bit ADC Version 1 1 User Manual Issue 1 1 9 January 2010 TEWS TECHNOLOGIES GmbH Am Bahnhof 7 25469 Halstenbek Germany Phone 49 0 4101 40580 Fax 49 0 4101 4058 19 e mail info tews com www tews com TIP500 10 Optically isolated 16 channel 12 bit ADC input voltage range 10V gain 1 2 5 10 TIP500 11 Optically isolated 16 channel 12 bit ADC input voltage range 10V gain 1 2 4 8 TIP500 20 Optically isolated 16 channel 12 bit ADC input voltage range OV to 10V gain 1 2 5 10 TIP500 21 Optically isolated 16 channel 12 bit ADC input voltage range OV to 10V gain 1 2 4 8 TIP500 User Manual Issue 1 1 9 TEWS S TECHNOLOGIES This document contains information which is proprietary to TEWS TECHNOLOGIES GmbH Any reproduction without written permission is forbidden TEWS TECHNOLOGIES GmbH has made any effort to ensure that this manual is accurate and complete However TEWS TECHNOLOGIES GmbH reserves the right to change the product described in this document at any time without notice TEWS TECHNOLOGIES GmbH is not liable for any damage arising out of the application or use of the device described herein Style Conventions Hexadecimal characters are specified with prefix Ox i e 0x029E that means hexadecimal value 029E For signals on hardware products an Active Low is represented by the si
10. ange Operating 40 C to 85 C Storage 45 to 125 C MTBF 637000 h Humidity 5 95 non condensing TIP500 User Manual Issue 1 1 9 Table 2 1 Technical Specification Page 7 of 26 TEWS S TECHNOLOGIES 3 Functional Description 3 1 Analog Input The TIP500 provides 16 single ended or 8 differential multiplexed analog inputs The desired input channel and mode single ended or differential is selected by programming the input multiplexer A programmable gain amplifier allows a direct connection for a wide range of sensors and instrumentation Board Option Gain Factors Input Voltage Range TIP500 10 1 2 5 10 10V for gain 1 TIP500 11 1 2 4 8 10V for gain 1 TIP500 20 1 2 5 10 OV to 10V for gain 1 TIP500 21 1 2 4 8 OV to 10V for gain 1 Table 3 1 Board Option Overview The ADC device is a 12 bit ADS7808 with a maximum sample and conversion time of 10us Since the TIP500 is a multiplexed analog input system a settling time is required to pass after changing the input channel and or gain The TIP500 provides a status bit for polling the settling time status An Automatic Settling Time Control Mode is also provided In this mode data conversion is automatically started after the settling time has expired The absolute accuracy of the module can be increased by performing a data correction in software using the factory calibration factors s
11. ble Channels 9 16 are used as 2 input for channels 1 8 3 CS3 Channel Selection input channel selection for data conversion R W 0 2 CS2 Single ended differential 1 CS1 0000 CH1 0000 CH1 0 CSO 1111 CH16 0111 CH8 Table 5 2 CONTREG ADC Control Register Address 0x00 TIP500 User Manual Issue 1 1 9 Page 12 of 26 TEWS S TECHNOLOGIES 5 1 2 ADC Data Register Address 0x02 The ADC Data Register DATAREG contains the converted data value The 12 bit ADC value is shifted to the higher bits of the data register by hardware This allows direct processing of the data as a 16 bit two s complement integer value for the TIP500 10 11 and 16 bit straight binary for TIP500 20 21 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 16 bit ADC data 0 0 0 0 Figure 5 1 DATAREG ADC Data Register Address 0x02 Description ADC Data Value Binary two s complement Straight binary TIP500 10 11 TIP500 20 21 Full Scale FS 1LSB 0x7FFO OxFFFO Midscale 0x0000 0x8000 1 LSB Below Midscale OxFFFO Ox7FFO Full Scale 0x8000 0x0000 Table 5 3 ADC Data Coding The content of ADC DATAREG is only valid when the ADC Busy Flag is read as 0 TIP500 User Manual Issue 1 1 9 Page 13 of 26 5 1 3 ADC Status Register Address 0x05 Bit 0 and bit 1 of the ADC Status Register STATREG reflect the status for an A D conversion
12. cece ee ee ee ee ee ee ee ee Ge ee ee ee TIP500 User Manual Issue 1 1 9 TEWS S TECHNOLOGIES Page 5 of 26 TEWS amp TECHNOLOGIES 1 Product Description The TIP500 is an IndustryPack compatible module providing 16 single ended or 8 differential channels of isolated 12 bit A D conversion The data acquisition and conversion time is up to 10us without channel gain change and up to 12 5us with channel gain change The input multiplexer offers analog overvoltage protection of up to 70Vpp A programmable gain amplifier supports various input voltage ranges The input voltage range depends on the board option and the programmed gain factor Board Option Gain Factors Input Voltage Range TIP500 10 1 2 5 10 10V for gain 1 TIP500 11 1 2 4 8 10V for gain 1 TIP500 20 1 2 5 10 OV to 10V for gain 1 TIP500 21 1 2 4 8 OV to 10V for gain 1 Table 1 1 Board Option Overview The analog VO part and the ADC device are isolated from the system logic power supply by opto couplers and a DC DC converter Interrupts are supported indicating available sampling data when conversion is done Each TIP500 is factory calibrated The calibration information is stored in the Identification PROM unique to each IP 12 bit A D PGA Converter gain1 2 5 10 or gain 1 2 4 8 Optocoupler 16 Channel Input Multiplexer g 9 8 E E Industry Pack I O Interface DC DC Converter Figur
13. ctive Read data of conversion N 1 Write to CONTREG starts automatically conversion N after settling time has expired and shifts the result of conversion N 1 into DATAREG Bit 1 of STATREG indicates ADC busy during the whole cycle Read data of the conversion N 1 from DATAREG Figure 6 6 Flowchart Automatic Mode with Data Pipeline TIP500 User Manual Issue 1 1 9 Page 22 of 26 TEWS amp TECHNOLOGIES 7 Pin Assignment VO Connector 7 1 Analog Input Connections Pin Single Ended Mode Differential Mode 01 ADC Input 1 02 ADC Input 1 04 ADC Input 2 05 ADC Input 2 07 ADC Input 3 08 ADC Input 3 10 ADC Input 4 11 ADC Input 4 13 ADC Input 5 14 ADC Input 5 16 ADC Input 6 17 ADC Input 6 19 ADC Input 7 20 ADC Input 7 22 ADC Input 8 23 ADC Input 8 24 AGND AGND Table 7 1 Analog Input Connections TIP500 User Manual Issue 1 1 9 Page 23 of 26 TEWS S TECHNOLOGIES 7 2 Power Input Connections Pin Signal 44 AGND 45 15V 46 AGND 47 15V 48 AGND 49 5V 50 AGND Table 7 2 Power Input Connections The power input connections are reserved for special versions of the TIP500 without an on board DC DC converter On the standard TIP501 board options 10 11 20 21 I O pins 45 47 and 49 are not connected I O pins 44 46 48 and 50 are not connected to any on board signal but are connected to each other TIP500 User
14. d by writing to the ADC CONVERT register The conversion data is available in the ADC DATAREG register when the ADC Busy flag in the ADC STATREG is read as 0 It is also possible to select a next channel and or gain by writing to the ADC CONTREG register immediately after the actual conversion has been started by writing to the ADC CONVERT register In this mode the settling time for the next channel and the conversion time of the actual channel proceed simultaneously As long as the ADC Busy flag in the ADC STATREG register is read as 1 the actual conversion is still in progress Reading the ADC Busy flag as 0 indicates that the conversion result is available in the ADC DATAREG register If interrupts are enabled two interrupts will be generated the first interrupt when the settling time is done after writing to the ADC CONTREG register the second interrupt when the data conversion is done after writing to the ADC CONVERT register 6 2 1 State Diagram Normal Mode ADC busy 1 Settle busy 1 A Write access to CONTREG B Settling time expired C Write access to CONVERT D ADC ready conversion result in DATAREG no cycle next Figure 6 1 State Diagram Normal Mode TIP500 User Manual Issue 1 1 9 Page 17 of 26 TEWS S TECHNOLOGIES 6 2 2 Normal Mode without Data Pipeline If Normal Mode without Data Pipeline is selected the result of the actual conversion is shifted into the ADC DAT
15. e 1 1 Block Diagram TIP500 User Manual Issue 1 1 9 Page 6 of 26 TEWS S TECHNOLOGIES 2 Technical Specification Logic Interface Single Size IndustryPack Logic Interface compliant to ANSI VITA 4 1995 VO Interface 50 conductor flat cable Analog Inputs 16 single ended channels or 8 differential channels Input Impedance Typically 10 Q 4nA leakage current Input Isolation All channels are galvanically isolated from the IP interface DC DC converter on board Input Gain Amplifier Input Voltage Range TIP500 10 20 Programmable for gain 1 2 5 10 TIP500 11 21 Programmable for gain 1 2 4 8 TIP500 10 TIP500 20 10V OV to 10V gain 1 5V OV to 5V gain 2 2V OV to 2V gain 5 H1V OV to 1V gain 10 TIP500 11 TIP500 21 10V OV to 10V gain 1 5V OV to 5V gain 2 2 5V OV to 2 5V gain 4 1 25V OV to 1 25V gain 8 Input Overvoltage Protection up to 70Vp p Input ADC 12 bit ADC Data acquisition and conversion time up to 10us without channel gain change and up to 12 5us with channel gain change mode dependent Calibration Data Stored in ID PROM for gain and offset correction Accuracy For all TIP500 modules 1LSB after calibration Linearity For all TIP500 modules 1LSB Wait States IDSEL 1 wait state IOSEL 0 wait state INTSEL 0 wait state Power Requirements 310mA typical 5V DC Temperature R
16. ee 10 7 JP ADDRESSING sciatica 11 5 1 ADG Register Set de Sheet coat Mecca EE EE 11 5 1 1 ADC Control Register Address OX00 ener ereneren nen AA ee RR ee AA Ge ee ee 11 5 1 2 ADC Data Register Address Dez 13 5 1 3 ADC Status Register Address Ov b ee AA ee RR AA AA ee RR ee AA ee ee ee 14 5 1 4 ADC Convert Start Register Address Ov AA Ge RA Ge AA Ge ee ee 14 5 1 5 Interrupt Vector Register Address Oxv 9 AA AR RA Ge AA ee ee ee 15 6 OPERATING MODES ss sses es eende ne nee been de oe ee Dee ne ene se ne ee ie ne ie we ie 16 6 1 Mode OVEN E 16 6 2 Normal Moge geseet 17 6 2 1 State Diagram Normal Mode 17 6 2 2 Normal Mode without Data Pipeline 18 6 2 3 Normal Mode with Data Pipeline 19 6 3 AUTOMAtiC Mode iis eege 20 6 3 1 State Diagram Automatic Mode 20 6 3 2 Automatic Mode without Data Pipeline 21 6 3 3 Automatic Mode with Data Pipeline 22 7 PIN ASSIGNMENT VO CONNECTOR ee RR RR RR RR RR RR RR RR RR RR RR RR RR RR RR RR RR RR 23 7 1 Analog Input Enn HOH 23 7 2 Power Input Connections css ee Rae ER KEER KERE AA RA RR RAGE RR ERA AR KAR RR ROER RE Ee ELLE ELLE ELLE KERE RR RE AAR RR GR ER KERR Ka 24 8 PROGRAMMING NOTES Eens SEE EG NGE ERGE GEGEE EE OGE GEE GE ERGE SONG EE Ee GE GEE GEENEEN GE SEE 25 9 INSTALLATION NOTES ese sees es ee Een EG Ee Ee Ee Ge EE ER Ee GE EK 26 TIP500 User Manual Issue 1 1 9 Page 4 of 26 List of Figures FIGURE 1 1 BLOCK
17. gnal name with following i e IP_RESET Access terms are described as W Write Only R Read Only R W Read Write R C Read Clear R S Read Set 1996 2010 by TEWS TECHNOLOGIES GmbH All trademarks mentioned are property of their respective owners Page 2 of 26 TEWSZ TECHNOLOGIES Issue Description Date 1 0 First Issue February 1996 1 1 Technical Specification April 1996 1 2 Data Correction April 1999 1 3 General Revision September 2002 1 4 Technical Specification and Flowcharts November 2002 1 5 Added Programming Note and Installation Note October 2004 1 6 Correction ADC Data Coding description November 2004 1 7 New address TEWS LLC September 2006 1 8 Special VO pin connection clarified new MTBF number July 2007 1 1 9 New Notation for User Manual and Engineering Documentation January 2010 Added Analog Input Impedance TIP500 User Manual Issue 1 1 9 Page 3 of 26 Table of Contents TEWS S TECHNOLOGIES 1 PRODUCT DESCRIPTION essens eene RSG EKKE KEER RSG KEES KERK REKE EK N GEK ENE EK KEER EK Ke ee ki 6 2 TECHNIEAL SPEGIFICATION sesse sees ee GEGEE EG EG GEGEE GEGEE GEGEE EE GEGEE 7 3 FUNCTIONAL DESCRIPTION esse ss n RE GEEN RENEE EE ER ENE KEN RE ER GE ER EN ERK RENE RENEE EN Ee KEER Ki 8 3 1 Analog dT EE EE EE enttevedaewanudescouevedue reneeectoevcteesu 8 4 2 Data Correction SE ENEE Eege 9 3 2 1 ADC Correction Formula 9 4 ID PROM CONTENT
18. of 26 TEWS S TECHNOLOGIES Bit Symbol Description Access Reset Value 8 PIPL Pipeline Mode Control R W 0 0 No Pipeline Mode 1 Pipeline Mode In pipeline mode the result from the conversion N 1 is shifted into the ADC DATAREG during the conversion N 7 ASTCE Automatic Settling Time Mode Control R W 0 0 Normal Settling Time Mode In this mode first the input channel and gain is selected by writing the ADC CONTREG register The data conversion is started by writing to the ADC CONVERT register The Settle Busy bit in the ADC STATREG register must be 0 for every write to the ADC CONVERT register The ADC Busy bit in the ADC STATREG register must be 0 for reading the ADC DATAREG register 1 Automatic Settling Time Mode In this mode the data conversion is started by the write to the ADC CONTREG register where this bit is set The data conversion is delayed by hardware control until the settling time has expired The ADC Busy bit in the ADC STATREG register must be 0 for reading the ADC DATAREG register The settling time for all TIP500 modules is appr 10us for all gains 6 GAIN1 Gain Selection input voltage amplifier R W 0 TIP500 10 20 TIP500 11 21 00 G1 00 G1 5 GAIND 01 G2 01 G2 10 G5 10 G4 11 G10 11 G8 4 DIF Differential Mode Selection R W 0 0 Single ended mode 16 single ended channels 1 16 are available 1 Differential mode 8 differential channels 1 8 are availa
19. ta Ready event The Interrupt Vector Register is shared between both interrupt sources but the Settling Time Ready event and the ADC Data Ready event will create an individual interrupt An IP Interrupt Acknowledge cycle acknowledges and clears the interrupt Bit Symbol Description Access Reset Value 7 1 Interrupt vector loaded by software R W 0x00 Read as 1 for an interrupt from a Settling Time Ready R 0 event Normal Settling Time Mode only Read as 0 for an interrupt from an ADC Data Ready event For example If the vector register is loaded with 0x60 a Settling Time Ready event will create an interrupt vector 0x61 and a ADC Data Ready event will create an interrupt vector 0x60 In IP I O space bit 0 of the INTVEC is always read as 0 Table 5 5 INTVEC Interrupt Vector Register Address 0x09 The Settling Time Ready interrupt is generated on the falling edge of the Settle Busy status flag and uses IP INTREQ1 It is generated in Normal Settling Time Mode only The ADC Data Ready interrupt is generated on the falling edge of the ADC Busy status flag and uses IP INTREQO TIP500 User Manual Issue 1 1 9 Page 15 of 26 TEWS S TECHNOLOGIES 6 Operatind Modes The TIP500 supports four operating modes selected by bit 7 Normal Automatic Settling Time Mode and bit 8 No Pipeline Mode Pipeline Mode of the ADC CONTREG regis
20. ter 6 1 Mode Overview e Normal Mode without Data Pipeline e Automatic Mode without Data Pipeline e Normal Mode with Data Pipeline e Automatic Mode with Data Pipeline CONTREG Bit 7 0 CONTREG Bit 7 1 Normal Mode Automatic Mode CONTREG Bit 8 0 Awrite access to the ADC After the settling time has Data Pipeline OFF CONVERT register starts expired conversion N is conversion N and shifts the started and the result of result of conversion N into conversion N is shifted into the ADC DATAREG register the ADC DATAREG register CONTREG Bit 8 1 Awrite access to the ADC After the settling time has Data Pipeline ON CONVERT register starts expired conversion N is conversion N and shifts the started and the result of result of conversion N 1 into conversion N 1 is shifted into the ADC DATAREG register the ADC DATAREG register Table 6 1 Operating Modes In Normal Mode the Settle Busy flag in the ADC STATREG register must be read as 0 before a conversion is started TIP500 User Manual Issue 1 1 9 Page 16 of 26 TEWS S TECHNOLOGIES 6 2 Normal Mode Any write access to the ADC CONTREG register where bit 7 is set to 0 selects the Normal Mode with the selected input channel input channel mode and gain As long as the analog input path settling time has not expired the Settle Busy flag in the ADC STATREG register is read as 1 After the settling time has expired a conversion can be starte
21. tored in the on board ID PROM TIP500 User Manual Issue 1 1 9 Page 8 of 26 TEWS amp TECHNOLOGIES 3 2 Data Correction There are two errors which affect the DC accuracy of the ADC The first is the zero error offset This is the data value when converting with the input connected with its own ground in single ended mode or with shorted inputs in differential mode This error is corrected by subtracting the known error from all readings The second error is the gain error Gain error is the difference between the ideal gain and the actual gain of the programmable gain amplifier and the ADC It is corrected by multiplying the data value by a correction factor The data correction values are obtained during factory calibration and are stored in the modules individual version of the ID PROM The ADC has a pair of offset and gain correction values for each of the programmable gains The correction values are stored in the ID PROM as two s complement 8 bit values in the range 128 to 127 For higher accuracy they are scaled to 1 4 LSB 3 2 1 ADC Correction Formula Please use the total 16 bit data register value for the ADC correction formula The basic formula for correcting any ADC reading for the TIP500 10 11 bipolar input voltage range is Value Reading 1 Gaingor 8192 Offseteor 4 The basic formula for correcting any ADC reading for the TIP500 20 21 unipolar input voltage range is Value Reading

Download Pdf Manuals

image

Related Search

Related Contents

DEM and D8 User Guide - Geoscience Australia    GIS フリーソフト GRASS を体験しよう  Manual de instrucciones Guía de campo  Waterpik® Ultra Cordless Dental Water Jet Waterpik® Ultra Handy  Le label Villes et Pays d`art et d`histoire Un outil de concertation au  Manuale d`Uso – HeartSine samaritan PAD 350P Trainer  ServoCenter 4.1 Manual Volume 3: Programming  Life Fitness LFADJ User's Manual  Persephone mkII user`s manual in English  

Copyright © All rights reserved.
Failed to retrieve file