Reconfigurable fpga with 16 x 16 bit analog input, 8 x 16 bit analog output and 32 digital i/o (95 pages)
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.
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...
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.
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...
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.
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 ⋅ − −...
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...
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...
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...
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...
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.
(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...
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...
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...
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...
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...
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...
! 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...
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...
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...
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...
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...
! 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...
! 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...
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...
Need help?
Do you have a question about the TIP845 and is the answer not in the manual?
Questions and answers