Tews Technologies TIP845 User Manual

48 channel 14 bit a/d conversion
Table of Contents

Advertisement

Quick Links

The Embedded I/O Company
48 Channel 14 bit A/D Conversion
TEWS TECHNOLOGIES GmbH
Am Bahnhof 7
Phone: +49-(0)4101-4058-0
e-mail: info@tews.com
TIP845
Version 1.0
User Manual
Issue 1.4
October 2005
D75845800
25469 Halstenbek / Germany
Fax: +49-(0)4101-4058-19
www.tews.com
TEWS TECHNOLOGIES LLC
1 E. Liberty Street, Sixth Floor
Phone: +1 (775) 686 6077
e-mail: usasales@tews.com
Reno, Nevada 89504 / USA
Fax: +1 (775) 686 6024
www.tews.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TIP845 and is the answer not in the manual?

Questions and answers

Summary of Contents for Tews Technologies TIP845

  • Page 1 48 Channel 14 bit A/D Conversion Version 1.0 User Manual Issue 1.4 October 2005 D75845800 TEWS TECHNOLOGIES GmbH TEWS TECHNOLOGIES LLC Am Bahnhof 7 25469 Halstenbek / Germany 1 E. Liberty Street, Sixth Floor Reno, Nevada 89504 / USA Phone: +49-(0)4101-4058-0...
  • Page 2 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.
  • Page 3: Table Of Contents

    Periodic Conversion of Multiple Channels................28 6.3.4 Continuous Conversion of Multiple Channels ..............29 PIN ASSIGNMENT – I/O CONNECTOR ..............30 IMPORTANT NOTES ....................32 8.1 Dummy Conversions after Power-up..................32 8.2 Open Multiplexer Inputs .......................32 TIP845 User Manual Issue 1.4 Page 3 of 32...
  • Page 4 FIGURE 6-3 : FLOW OF FASTEST CONVERSION OF A SPECIFIC SINGLE CHANNEL ......27 FIGURE 6-4 : FLOW OF PERIODIC CONVERSION OF MULTIPLE CHANNELS ........28 FIGURE 6-5 : FLOW OF CONTINUOUS CONVERSION OF MULTIPLE CHANNELS .........29 FIGURE 7-1 : PIN ASSIGNMENT I/O CONNECTOR..................31 TIP845 User Manual Issue 1.4 Page 4 of 32...
  • Page 5: Product Description

    1, 2, 4 or 8 resulting in input voltage ranges of +/-10V, +/- 5V, +/-2.5V or +/-1.25V. Additionally the TIP845 provides a sequencer to control the analog inputs without wasting CPU time. Each of the A/D channels can be independently enabled and configured by a sequencer instruction RAM.
  • Page 6: Technical Specification

    140mA typical @ +5V DC Physical Data Temperature Range Operating -40°C to +85 °C Storage -40°C to +125°C MTBF 738000 h Humidity 5 – 95 % non-condensing Weight 31 g Figure 2-1 : Technical Specification TIP845 User Manual Issue 1.4 Page 6 of 32...
  • Page 7: Functional Description

    Because the TIP845 is a multiplexed analog input system, a settling time is required to pass after changing the input channel and / or gain. The TIP845 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 elapsed.
  • Page 8: Adc Correction Formula

    3.1.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 TIP845-10 (bipolar input voltage range) is:   Gain ⋅ − −...
  • Page 9: Id Prom Contents

    Gain Error Gain 4 Board dependent 0x27 Gain Error Gain 8 Board dependent 0x29…0x3F Not used Figure 4-1 : ID PROM Contents The ID PROM data is available 200 µs after reset. TIP845 User Manual Issue 1.4 Page 9 of 32...
  • Page 10: Ip Addressing

    5 IP Addressing 5.1 I/O Addressing The TIP845 is controlled by a set of registers which are directly accessible in the I/O space of the IP module. Address Symbol Description Size (Bit) Access 0x00 CONTREG ADC Control Register 0x02 DATAREG...
  • Page 11: Adc Register Set

    A conversion must be initiated manually in the CONVERT register 1 = ON (Automatic Mode) A conversion is automatically initiated after the settling time has elapsed. The settling time for the TIP845 is appr. 8µs GAIN[1:0] Gain Selection (Analog Input Amplifier) GAIN1 GAIN0...
  • Page 12: Figure 5-2 : Adc Control Register

    A write to this register sets the new channel and gain. Subsequent write accesses are ignored until the settling time has elapsed. To change both channel and gain, or to archive a full channel setup, a word access is recommended. TIP845 User Manual Issue 1.4 Page 12 of 32...
  • Page 13: Adc Data Register Datareg (Address 0X02)

    Shifted ADC Data Value Full Scale (pos.) 0x7FFC … … Midscale + 1 LSB 0x0004 Midscale 0x0000 Midscale – 1 LSB 0xFFFC … … Full Scale (neg.) 0x8000 Figure 5-4 : ADC Data Coding TIP845 User Manual Issue 1.4 Page 13 of 32...
  • Page 14: Adc Status Register Statreg (Address 0X05)

    This bit must be read as '0' before a conversion is started by a write to the CONVERT register. The settling time for the TIP845 is appr. 8µs ADC_BUSY BUSY Indicates if an actual data conversion is in progress.
  • Page 15: Sequencer Register Set

    (SEQ_ON will be set to '0'). The user must clear the status bits and start the sequencer again. Please pay attention to the chapter “Important Notes” before using the sequencer. TIP845 User Manual Issue 1.4 Page 15 of 32...
  • Page 16: Sequencer Status Register Seqstat (Address 0X0D)

    As long as any of the bits [3:1] (error flags) of the Sequencer Status Register SEQSTAT is read as ‘1’, the sequencer will be stopped after the last instruction (SEQ_ON will be set to '0'). The user must clear the status bit and start the sequencer again. TIP845 User Manual Issue 1.4 Page 16 of 32...
  • Page 17: Sequencer Timer Register Seqtimer (Address 0X0E)

    Each sequencer instruction byte is subdivided into following parts: Sequencer Instruction Byte Bits [6:4] Bits [3:0] Differential configuration Ignored Differential Channel Single-ended configuration Single-Ended Channel Single-Ended Channel A Figure 5-9 : Sequencer Instruction Byte breakdown TIP845 User Manual Issue 1.4 Page 17 of 32...
  • Page 18 8 are enabled, only the three ADC RAM locations for channel 1, channel 2 and channel 8 are updated at the end of the sequence. The user must only read these three ADC RAM locations then. TIP845 User Manual Issue 1.4 Page 18 of 32...
  • Page 19: Figure 5-10: Sequencer Instruction Ram

    Figure 5-10: Sequencer Instruction RAM The Sequencer Instruction RAM is not cleared by a reset. Be sure to set up the entire Sequencer Instruction RAM if it is used after a reset. TIP845 User Manual Issue 1.4 Page 19 of 32...
  • Page 20: Additional Registers

    5.3.2 Interrupt Vector Register IVEC (Address 0x11) Symbol Description Access Reset Value IVEC Interrupt Vector Figure 5-12: Interrupt Vector Register 5.4 Memory Addressing In Sequencer Mode the converted ADC data is accessible in the IP Memory Space. TIP845 User Manual Issue 1.4 Page 20 of 32...
  • Page 21: Sequencer Data Ram Sdram0-47 (Offset 0X00 To 0X5E)

    Sequencer Instruction RAM are not updated and may contain invalid data from former conversions. The Sequencer Data RAM is not cleared by a reset and may contain invalid data from former conversions. Word accesses are recommended to read this registers. TIP845 User Manual Issue 1.4 Page 21 of 32...
  • Page 22: Operating Modes

    ! After settling time has elapsed, write to the CONVERT register to start conversion ! Poll for ADC_BUSY flag ! After conversion time has elapsed, read conversion data in the ADC Data Register TIP845 User Manual Issue 1.4 Page 22 of 32...
  • Page 23: Sequencer Mode

    Sequencer Continuous Mode, but it is recommended to monitor the completion of the sequences. The update rate depends on the number of enabled channels: Update Rate = 8µs · number of enabled channels TIP845 User Manual Issue 1.4 Page 23 of 32...
  • Page 24: Sequencer Errors

    If the Sequence Timer Register is set to 0x0000 (Sequencer Continuous Mode) the sequencer ignores the data overflow. The Data Overflow Error Flag is always read as ‘0’ in this mode. TIP845 User Manual Issue 1.4 Page 24 of 32...
  • Page 25: Application Examples

    6.3.2 Fastest Conversion of a Specific Single Channel ! Program the ADC Control Register with desired channel and gain, and activate the IRQ after Settling Time (IRQS = '1'), and the IRQ after conversion (IRQC = '1'). TIP845 User Manual Issue 1.4 Page 25 of 32...
  • Page 26 DATAREG register. ! Write again to the CONVERT register to start the next conversion of this channel, acknowledge the interrupt in the Interrupt Status Register INTSTAT (ADC_READY = '1') and read DATAREG. TIP845 User Manual Issue 1.4 Page 26 of 32...
  • Page 27: Figure 6-3 : Flow Of Fastest Conversion Of A Specific Single Channel

    Figure 6-3 : Flow of fastest conversion of a specific single channel Conversion time is approx 2.5µs, as long as neither the channel nor the gain is changed. TIP845 User Manual Issue 1.4 Page 27 of 32...
  • Page 28: Periodic Conversion Of Multiple Channels

    ! Acknowledge the interrupt in the Interrupt Status Register INTSTAT (SEQ_READY = '1'), clear the DATA_AV flag in the Sequencer Status Register and read the Sequencer Data RAM. Figure 6-4 : Flow of periodic conversion of multiple channels TIP845 User Manual Issue 1.4 Page 28 of 32...
  • Page 29: Continuous Conversion Of Multiple Channels

    ! Start the sequencer in the Sequencer Control Register SEQCONT. ! Read the data from the Sequencer Data RAM as needed. Figure 6-5 : Flow of continuous conversion of multiple channels TIP845 User Manual Issue 1.4 Page 29 of 32...
  • Page 30: Pin Assignment - I/O Connector

    ADC Input 32 ADC Input 17+ ADC Input 33 ADC Input 17- ADC Input 34 ADC Input 18+ ADC Input 35 ADC Input 18- ADC Input 36 ADC Input 19+ ADC Input 37 TIP845 User Manual Issue 1.4 Page 30 of 32...
  • Page 31: Figure 7-1 : Pin Assignment I/O Connector

    ADC Input 23+ ADC Input 45 ADC Input 23- ADC Input 46 ADC Input 24+ ADC Input 47 ADC Input 24- ADC Input 48 Figure 7-1 : Pin Assignment I/O Connector TIP845 User Manual Issue 1.4 Page 31 of 32...
  • Page 32: Important Notes

    Make sure that all unused analog input pins are tied to the analog ground 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. TIP845 User Manual Issue 1.4 Page 32 of 32...

Table of Contents