Professional Documents
Culture Documents
Table of Contents Abstract ------------------------------------------------------------------------------ Page 1 Objective ----------------------------------------------------------------------------- Page 2 Project Design ----------------------------------------------------------------------- Page 3 Hardware ---------------------------------------------------------------------------- Page 3 The Power Supply --------------------------------------------------------- Page 4 Instrumentation Amplifier ----------------------------------------------- Page 5 Operational Amplifiers --------------------------------------------------- Page 5 Filters ------------------------------------------------------------------------ Page 6 Microcontroller ------------------------------------------------------------ Page 8 Transceivers ---------------------------------------------------------------- Page 8 MAX232 -------------------------------------------------------------------- Page 9 Software ------------------------------------------------------------------------------ Page 10 Transmitter Module ------------------------------------------------------- Page 10 Programming the PIC16F877A --------------------------------- Page 10 Analog to Digital Conversion (ADC) ---------------- Page 10 Sampling Rate -------------------------------------------- Page 11 Formatting ------------------------------------------------ Page 11 SPI --------------------------------------------------------- Page 11 RF Transmitter ---------------------------------------------------- Page 12 Receiver Module ---------------------------------------------------------- Page 12 RF Receiver ------------------------------------------------------- Page 12 PC Display ------------------------------------------------------------------ Page 13
Receiving the Data ------------------------------------------------ Page 14 X Plot --------------------------------------------------------------- Page 14 Y Plot --------------------------------------------------------------- Page 15 Reliability Considerations ------------------------------------------------ Page 15 Discussion and Recommendations ----------------------------------------------- Page 15 References ----------------------------------------------------------------------------Page 17
ii
List of Tables and Figures Figure 1 ECG/EKG Lead Placement ------------------------------------------- Page 1 Figure 2 Ideal I-Waveform ------------------------------------------------------ Page 1 Figure 3 Present Day ECG -------------------------------------------------------Page 2 Figure 4 Excessive Amount of Wires in the Operating Room -------------- Page 2 Figure 5 Block Diagram of Transmitter and Receiver ----------------------- Page 3 Figure 6 Power Supply Circuit ------------------------------------------------- Page 4 Figure 7 An Instrumentation Amplifier ---------------------------------------- Page 5 Figure 8 The AD620 ------------------------------------------------------------- Page 5 Figure 9 ECG Waveform with 60 Hz not removed -------------------------- Page 6 Figure 10 High Pass RC Filter -------------------------------------------------- Page 6 Figure 11 Low Pass RC Filter --------------------------------------------------- Page 6 Figure 12 2nd Order Active Butterworth Filter -------------------------------- Page 7 Figure 13 RS232 voltages --------------------------------------------------------Page 9 Figure 14 Transmitter Module Block Diagram ------------------------------- Page 10 Figure 15 Activity Diagram for Transmitter Module ------------------------ Page 12 Figure 16 Receiver Module Block Diagram ---------------------------------- Page 12 Figure 17 Single Lead Display (Lead I) --------------------------------------- Page 13 Figure 18 Multiple Lead Display -----------------------------------------------Page 14
Table 1 Voltage Requirements ------------------------------------------------- Page 4 Table 2 Filter Values ------------------------------------------------------------- Page 7 Table 3 Data Format -------------------------------------------------------------- Page 11
iii
iv
Abstract In the human body, the heart is responsible for pumping oxygen carrying blood to the entire body. To do this, it emits a small electrical charge that will cause the muscles around the heart to contract in a sequential way such that the blood is pumped through arteries to the intended tissues. If there are deficiencies or abnormalities, the individual may be susceptible to serious health issues including cardiac arrest. Care givers in hospitals world wide must be able to monitor these electrical charges and, in doing so, be able to predict complications before they cause serious harm. To do this, a device called an electrocardiogram (ECG/EKG) is used. An ECG involves placing small pads in a triangular fashion on the patients chest, with the perimeter of the triangle completely encompassing the heart (Figure 1). The lead placements are labelled according to their location on the human body; Left Arm (LA), Right Arm (RA) and Left Leg (LL). The corresponding waveforms are numbered using Roman numerals. These pads are actually small leads connected back to a monitoring system that will measure the potential voltage differences around the heart. Figure 2 depicts an ideal IWaveform taken from a healthy human body. When these results are displayed, the doctors and nurses will be able to verify proper operation or predict possible complications.
Objective As mentioned above, currently the ECG/EKG machines consist of a minimum of 3 pads being placed on the body. These pads are wired back to a monitoring station where all of the required data manipulation is performed before displaying the results on a monitor. The main problem with the current method of monitoring a patients heart is very awkward and restricting. The leads are constantly being dislodged from the patient by the nurses, doctors, and even the patient themselves. This causes complications because it appears to the monitoring station that the patient is going into cardiac arrest. (Figures 3 & 4 show a typical operating room with an excess of wires)
Figure 4 Excessive Amount of Wires in the Operating Room Another problem with the current system is that the mobility of the care givers is limited due to the number of wires connecting the patient to various monitoring equipment. It is not possible for a nurse or doctor to completely walk around the patient without having to navigate the wires. A solution to this would be to make the hospital utilize wireless data transmission as much as possible to eliminate the need for wires. This process is currently being experimented with. Currently there are various wireless applications in use in the hospital industry. The most common are wireless pulse oxymetry, a method for
measuring the oxygen content in the blood. Another example is wireless temperature sensors in which the patient swallows a small transponder that will constantly transmit the bodys core temperature. The objective of this project is to design a Wireless ECG Monitoring System. This product will reliably measure the electrical activity around the heart and transmit this data to a receiver connected to a PC. The data will then be displayed on the PC in the same manner that the current method already does. Project Design This project was split into two main tasks, hardware and software. It is the responsibility of the hardware to collect and compare the data, filter out the harmful 60 Hz signals and transmit the data. It is the softwares responsibilities to digitize the signal, package the data and synchronize the receiver and the transmitter. Hardware As mentioned above, the hardware is responsible for capturing and isolating the signal. The hardware was divided up into stages; the power supply, instrumentation amplifiers, operational amplifiers, filters, analog to digital converters, microcontroller, transceivers and a MAX232. Figure 5 shows a block diagram of how the transmitter and receiver are configured. The schematics and PCB layout are attached in Appendix A.
The Power Supply To supply power to the wireless transmitter of this project, a 12 Volt battery was chosen. Table 1 shows a list of all various components and their minimum input voltages. Device Instrumentation Amplifiers Operational Amplifiers Microcontroller MAX232 Transceiver Vmin 2.3 -18 Volts 18 Volts 2.0 5.5 Volts 0.3 6 Volts 3 Volts
Table 1 Voltage Requirements To guarantee the microcontroller received the required 5 volts, a voltage regulator was used, which required a minimum of 7 volts. Another issue that needed to be resolved was the DC offset. Since the typical ECG wave will contain both positive and negative values, it was important to bias the signal such that the ADC (analog to digital converter) would only see a level between zero and five volts. To accomplish this, a small power supply was designed (Figure 6) using zener diodes. Point A is regulated by the 5.1V Zener Diode. This level would be used as a virtual ground reference for the instrumentation and operational amplifier stages. The benefit of this is that the amplifier stage would have supply voltage of +6.9V and 5.1V. This allowed the signal to be shifted slightly closer to ground. Point B, which is regulated to 3.3V, supplies the ground reference for the microcontroller stage. This leaves 8.7V for the voltage regulator. It had to be slightly below the reference voltage for the amplifiers to compensate for the signal when it dips below zero volts. The signal from the amplifiers can now be tuned to range from 0 to 5 volts at the ADC. Figure 6 Power Supply Circuit
Instrumentation Amplifier To measure the difference in voltage between any two points on the human body, we used an instrumentation amplifier made by Analog Devices, called an AD620 (Data Sheets Attached in Appendix B). An instrumentation amplifier is a special type of differential amplifier that will amplify the difference between its two inputs (Figure 7). The gain can be set by adjusting only one resistor, Rgain. The resulting output will be:
R R gain
Figure 7 An Instrumentation Amplifier The AD620 is an instrumentation amplifier that has been combined in an integrated circuit. The benefit of this is that internal resistor values (R) are all perfectly matched. The gain can still be set by adjusting the one resistor between pins 1 and 8.
Figure 8 The AD620 Operational Amplifiers The signal that is being analyzed on the individuals chest has a typical maximum value of 1mV. To make this useful, the signal would need to be amplified to approximately 5Vpp, which equates to a gain of roughly 5000. The AD620 does offer a certain amount of gain; however it was observed that it functioned best when the gain was kept quite low. We therefore divided up the amplification into 2 stages. The first was done using the AD620 and the second done using a non-inverting op-amp. We chose the gain to be 5 for the first stage and 1000 2000 for the next. We included a potentiometer in the feedback loop of the op-amp to allow for some adjustment to the gain as necessary.
Filters The line interference (the 60Hz signal from the power lines) is abundant in the ECG signal. The human body acts like a giant antenna to this frequency, and the amplitude of the noise is roughly the same size of the ECG signal. It is therefore very difficult to monitor the ECG wave through the noise. Figure 9 shows a typical display of an ECG signal if the 60 Hz noise has not been removed.
Figure 9 ECG Waveform with 60 Hz not removed The actual signal that is measured on the human body is in the range of 1-2 mV. The useful information is in the frequency range of 1-250 Hz, although the most important data is below 40Hz. It is therefore desirable to filter out all of unwanted signals. To do this some 4 stages of filtering was used. The intended result was to produce a Band Pass Filter with the pass frequency between 1 - 40Hz. The first stage of filtering was done prior to any amplification. It was a simple high pass filter (HPF) that was designed using a simple RC circuit (Figure 10). This pre-filter was designed to eliminate all of the low frequency noise. It was designed with a cut-off frequency of 0.5 Hz.
f cutoff =
1 2RC
To eliminate the 60 Hz signal, a 4th order low pass filter (LPF) was used. This was designed by using a 1st order RC filter in series with a 2nd order Butterworth Filter and finally another the 1st order RC circuit. The RC circuit (Figure 11) is very similar to the HPF defined above. In fact the cut-off frequency is calculated the same way. These were designed to eliminate signals above 40Hz.
The Butterworth Filter (Figure 12) is an active filter that uses an op-amp to help get rid of the noise. All filters will attenuate frequencies above and below the desired cut-off frequency. The goal is to pick a filter that will be the least damaging to the desired signal while offering maximum filtering to the unwanted signal. The benefit of the Butterworth is that it will have a much more accurate cut-off frequency. It will therefore allow for more of the desired signal to get through unscathed.
f cutoff =
1 2 R1 R2 C1C 2
The filter values were chosen according to the above formulas. In practice, however, these values were only helpful in getting us close to the desired signal. The actual values used were found by using a trial and error method. Various values were tested until the best signal resulted. The final values of our filters were: Filter # 1 2 3 Filter Type Passive RC Active Butterworth Passive RC Filter Order 1 2 1 Cut-off Frequency 20 Hz 61.4 Hz 35 Hz
Microcontroller
The microcontroller performed all of the decision making processes. It was responsible for the analog to digital conversion (ADC), data packaging and transceiver synchronization. Refer to the following section on software for more information about this. The microcontroller used was a PIC16F877. The main reason this microcontroller was used was because we were most familiar with it. The main features that it has that made it quite useful are: Synchronous Serial Port with SPI In circuit programming via RS232 10 bit ADC Universal Synchronous Asynchronous Receiver Transmitter (USART) Low operating current < 0.6 mA 3 timers Simple (35 single word instructions to learn)
Transceivers
To transmit and receive all of the data, a single chip transceiver was chosen. The nRF24L01 by Nordic Semiconductor was used. This was chosen because of its wide range of features: Operates in the free to air ISM frequency band at 2.45 GHz Built in power amplifier Fully integrated frequency synthesizer Receiver chain with demodulator Crystal oscillator and modulator ShockBurstTM for low power operation Automatic CRC and preamble generation Automatic retransmission of data packet SPI interface Low current consumption Carrier detect for listen before transmit protocol Adjustable transmit power
MAX232
The final piece of hardware that was involved in the design of the wireless ECG machine was the MAX232. This IC is used to convert TTL to RS232 and vice versa. RS232 data will range from -5V to -15V for a logical high and +5V to +15V for a logical low (Figure 13). The microcontroller will output data in the range of 0-5V (TTL). The data must therefore be buffered before the two devices will be able to communicate with one another.
The MAX232 buffers the signal in both directions allowing the microcontroller to communicate with the PC. The data can now be passed to the PC and displayed on the graphic user interface (GUI)
Software
Once the electrical potential difference between leads has been acquired, the signal must then be converted to the digital domain and communicated to the monitor display. The software component of the ECG monitor includes processing the signal with the PIC 16f877A microprocessor, transmitting the signal to the display using the Nordic nRF24L01 transceiver modules and displaying the information on a PC oscilloscope application. The software was written in C for the microprocessor and in Basic to write the display application. The C compiler used was Hi-Tech C Trial version from Hi-Tech Software. The display application was designed using Visual Basic 6.0 by Microsoft.
Transmitter Module
The transmitter module is responsible for obtaining and converting the analog ECG signal into an 8-bit digital representation. It is also responsible for formatting and transmitting the data. The transmitter module is within the immediate proximity of the patient being monitored. As the system diagram presented in figure 1 shows, there are four main steps required to transmit the ECG signal.
PIC 16f877A
SPI
nRF24L0 1 TX
Figure 14 Transmitter Module Block Diagram Programming the PIC 16f877A Analog to Digital Conversion (ADC)
The amplified ECG signal is fed into the on-board ADC of the PIC. The PIC is capable of 10-bit resolution but an 8-bit digital representation provides enough accuracy and reduces the bit-rate by half. The three analog leads each have their own ADC channel and are sampled sequentially.
10
Sampling Rate
The sampling rate was determined by observing the highest frequency component of the ECG signal, the QRS complex as depicted in figure 2, and using the Nyquist criteria. The QRS complex has a possible range of frequencies between 12 Hz and 28 Hz. The Nyquist frequency is thus taken to be 28 Hz and a sampling rate of 2 * Nyquist frequency = 56 Hz must be observed. A sampling rate of 2 KHz was used for increased accuracy. The timing was accomplished manually using delay routines that wait 500us between sampling.
Formatting
The data obtained from the ADC is bundled into an array of 30 bytes. This is done to conform to the Enhanced ShockburstTM protocol employed by the nRF24L01 transceiver module. Enhanced ShockburstTM allows for packets containing up to 30 bytes of data. To maximize the ratio of data bits to total bits in a packet and thus increase efficiency, the full 30 bytes allowed was utilized. The format of used in constructing the 30-byte array is shown in Table 3 below. A/D A/D A/D Chan1 Chan2 Chan2 Sample 1 Sample 1 Sample 1
...
To communicate with the nRF24L01 transceiver module, the Serial Port Interface (SPI) module on the PIC was used. The SPI mode allows 8 bits of data to be synchronously transmitted and received simultaneously. The SPI was configured with the following parameters: Master Mode PIC is master with Clock as output Clock Polarity Idle state for clock is a low level Clock rate 1.25 MHz (fosc / 16). Data Sampling Input data sampled at middle of data output time
The activity diagram shown in figure depicts the general process followed by the PIC microprocessor.
11
A/D Conver
[array full]
Trans mit
The nRF24L01 transceivers are configured to transmit 2Mbps at a frequency of 2.45GHz, within the ISM band. The data is encoded using Enhanced ShockburstTM (refer to nRF24L01 datasheet for detailed description).
Receiver Module
The process of receiving the digital data from the patient is the responsibility of the receiver module. The receiver is connected to a PC for display. As the system diagram presented in figure 16 shows, there are four main components required to receive before the data can be sent to the PC.
PIC 16f877A
SPI Nf24L0 1 Rx
Pars ing
U A R T
PC Display
The nRF24L01 transceiver configured to perform as a receiver is much the same as the transmitter with the same parameters. Only one data pipe is used to transfer the data. This is in contrast to using a separate data pipe for each lead of the ECG. The reasoning behind this is that there is less overhead involved by eliminating the need to continuously change between data pipes.
12
The data is transferred from the transceiver to the PIC via an SPI interface. The data is received in the format described in figure 16 and the 30 bytes of data is traversed beginning with byte 0. As each byte is received, the data is sent to the PC through the PICs on-board USART module at a baud rate of 115.2 kbps. The data is transmitted at regular intervals of 500 us which corresponds to the sampling rate.
PC display
The ECG signal is displayed on a PC through a basic oscilloscope application. The application was written in Visual Basic is included on the project CD as ECGMonitor.exe. The application includes one control bar for rescaling the time interval displayed.
13
The data is received through the serial port using COMM 2 at a baud rate of 115.2 kbps in 500us intervals. The application receives the data for the three leads of the ECG signal continuously in the following order: LeadI data byte, LeadII data byte, LeadIII, data byte. As the data is received, the appropriate display area is updated.
X Plot
The display is meant to behave as an oscilloscope although limited in functionality. To observe the ECG signal moving in time from the left to right, the x-coordinate is incremented with each new data value received. A scale factor controls the rate that the screen is refreshed. Horizontal scaling provides a means of controlling the number of pulses displayed. The person observing the signal has limited control over how long it takes the ECG signal to pan the width of the display through a scroll bar located directly beneath the display. The horizontal range was chosen to be able to display 2 beats. Heart rates can vary between 40 and 240 beats per minute or 1.5 and 0.25 seconds per beat respectively so the refresh rate was chosen to vary between 0.125 sec and 3 sec. To achieve refresh rates
14
wihthin0.125 sec and 3 sec, the display width was set to be between 500 and 6000 pixels. The scroll bar controls this scale factor
Y Plot
The y-coordinate is obtained directly from the incoming data. Since the incoming data is within the range of 0 to 255, the vertical scaling for each lead translates to the same range.
Reliability Considerations
The ECG monitor needs to be very reliable considering its application in the medical field. The transmission frequency of 2.45 GHz is within the ISM band which is the band reserved for non-commercial use of RF electromagnetic fields for industrial, scientific and medical purposes. To avoid interference and loss of data, the nRF24L01 transceiver modules are capable of addressing up to six data pipes per module. In addition, reliability is ensured in the form of error detection and correction. Each data packet includes one byte for a cyclic redundancy check (CRC) to detect the presence of errors. Upon detection of any errors, a retransmission is requested to recover the data that may have been lost. Up to 15 retransmissions will be requested before finally discarding the data packet and carry on. The system can handle up to four packet losses and still maintain the integrity of the displayed signal. Testing was performed to determine the range with which the transceivers could reliable operate within, i.e. 0 packet loss. The methodology used was to observe the number lost packets in software at various distances. A radius of up to 5m found to be reliable. This was the target radius since this is roughly the upper limit on the distance between transmitter and receiver in an operating room.
Discussions & Recommendations
The Wireless ECG/EKG Monitoring System was designed and built, and was very successful. A few modifications would be implemented if time permitted. The first and most obvious change involves the circuit board. It was very big and awkward. It served its purpose as a prototype board. However, if this product were to got to production, the board would need to be re-designed into a smaller package using surface mount components. Next time, the filtering would be done digitally using a DSP chip. This would allow for much more accurate filtering using an FIR or Wavelets. The final change that would be considered would be to allow for some sort of automatic adjustments of the gain. Every individual has a unique heartbeat. The amplitudes will vary from person to person. The current configuration allows the gain to be adjusted
15
manually, but this is a slow and tedious task. Next time the gain would be adjusted in firmware. This would be much faster and more accurate. The overall performance of this project was excellent. There was positive feedback from the judges, and we were awarded 3rd prize for our efforts. Below are a series of photos from the demonstration.
16
References
Robert M. Berne and Matthew N. Levy, Cardiovascular Physiology 2nd Edition The C.V. Mosby Company, St. Louis 1972
National Semiconductor - LM741 Operational Amplifier Datasheet Analog Devices AD620 Instrumentation Amplifier Datasheet Nordic Semiconductor Single chip 433/868/915 MHz Transceiver nRF905 Dallas Semiconductor - +5V-Powered, Multichannel RS-232 Drivers/Receivers datasheet Microchip - PIC16F87X 28/40-Pin 8-Bit CMOS FLASH Microcontrollers Datasheet
17
R3 1K
C13 +6V 100nF 7 U4 8 2 R21 3.9K C4 1uF C5 1uF R24 82K R27 82K C10 10nF 6 3 5 1 4 LM741 -6V C16 100nF R30 45K A Lead I
+6V 7 1 D2 3.3 V Zener -6V 2 6 3 -6V AD620AN R6 2.2K R12 1K 5 4 Cap Pol3 100uF U1 8 2 C1 3 1
U7 8 6 5 4 -6V R9 1K LM741
R16 10K R19 200K 1K +6V 7 JP1 1 2 3 4 5 6 Header 6H +6V -6V LL LA RA RA LL 1 2 6 3 -6V AD620AN R7 2.2K R13 1K 4 5 4 Cap Pol3 100uF 1 LM741 -6V +6V 7 U2 8 C2 3 5 2 6 100nF U8 8 R22 3.9K C6 1uF C7 1uF R25 82K R28 82K C11 10nF 2 6 3 5 1 4 LM741 -6V
R4 1K
C14 +6V 7 U5 8
R10 1K
R20 200K
C15 +6V 100nF 7 U6 8 2 R23 3.9K C8 1uF C9 1uF R26 82K R29 82K C12 10nF 6 3 5 1 4 LM741 -6V C18 100nF R32 45K Lead III B
U9 8 6 5 LM741
-6V
R11 1K
C23 0.1uF
U11 C25 VDD VDD R33 4.7K OSC1 1 C C20 22pF 2 XTAL1 C19 22pF U10 Vref (micro) Vref (micro) OSC1 MCLR! 13 1 OSC1/CLKI MCLR/VPP VDD VDD OSC2/CLKO Lead I Lead II VDD R34 4.7K MCLR! D3 SW1 SW-PB C27 0.1uF IRQ 33 34 35 36 37 38 39 40 12 31 RB0/INT RB1 RB2 RB3 RB4 RB5 RB6 RB7 VSS VSS PIC16C65-20I/P Lead III 2 3 4 5 6 7 RA0 RA1 RA2 RA3 RA4/T0CKI RA5/SS RC0/T1OSI/T1CKI RC1/T1OSO/CCP2 RC2/CCP1 RC3/SCK/SCL RC4/SDI/SDA RC5/SDO RC6/TX/CK RC7/RX/DT RD0/PSP0 RD1/PSP1 RD2/PSP2 RD3/PSP3 RD4/PSP4 RD5/PSP5 RD6/PSP6 RD7/PSP7 RE0/RD RE1/WR RE2/CS 11 32 14 15 16 17 18 23 24 25 26 19 20 21 22 27 28 29 30 8 9 10 VDD VDD OSC2 JP2 CSN CE SCK MISO MOSI TX RX 1 2 3 4 5 6 7 8 Header 8 Vref (micro) IRQ MISO MOSI SCK CSN CE VCC OSC2 R36 47 D5 3.3 V Zener VCC Cap 0.1uF TX 1 3 4 5 11 10 RX 12 9 Vref (micro) Vref (micro) 15 GND MAX232 V6 C1+ C1C2+ C2VCC V+ 16 2 VDD C24 VDD 0.1uF 14 7 13 8 C26 Vref (micro) 0.1uF C
VR1 5 Volt Reg +6V D6 C21 22uF Vin Vout GND VDD R35 470 C22 0.1uF
Vref (micro)
Vref (micro)
1 D4
2 Vref (micro)
Vref (micro) Title Size A2 Date: File: 30/07/2006 Sheet of C:\Documents and Settings\..\ecg.SCHDOCDrawn By: 8 Number Revision
Designator C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12 C13 C14 C15 C16 C17 C18 C19 C20 C21 C22 C23 C24 C25 C26 C27 D1 D2 D3 D4 D5 D6 J3 JP1 JP2 R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 100u 100u 100u 1u 1u 1u 1u 1u 1u 10n 10n 10n 100n 100n 100n 100n 100n 100n 22p 22p 0.1u 22u 0.1u 0.1u 0.1u 0.1u 0.1u
Description RAD-0.1 RAD-0.1 RAD-0.1 RAD-0.1 RAD-0.1 RAD-0.1 RAD-0.1 RAD-0.1 RAD-0.1 RAD-0.1 RAD-0.1 RAD-0.1 RAD-0.1 RAD-0.1 RAD-0.1 RAD-0.1 RAD-0.1 RAD-0.1 RAD-0.1 RAD-0.1 RAD-0.1 RAD-0.1 RAD-0.1 RAD-0.1 RAD-0.1 RAD-0.1 RAD-0.1 AXIAL-0.3 AXIAL-0.3 AXIAL-0.3 AXIAL-0.3 AXIAL-0.3 AXIAL-0.3
Footprint Cap Pol3 Cap Pol3 Cap Pol3 Cap Pol3 Cap Pol3 Cap Pol3 Cap Pol3 Cap Pol3 Cap Pol3 Cap Cap Cap Cap Cap Cap Cap Cap Cap Cap Cap Cap Pol1 Cap Cap Cap Cap Cap Cap
Comment
5.1V Zener 3.3 V Zener D Zener LED1 3.3 V Zener Diode D Connector 9 Header 6H Header 8 1K 1K 1K 1K 1K 2K2 2K2 2K2 1K 1K 1K 1K 1K 1K
5.1V Zener 3.3 V Zener D Zener LED1 3.3 V Zener Diode D Connector 9 Header 6H Header 8 Res1 Res1 Res1 Res1 Res1 Res1 Res1 Res1 RPot1 RPot1 RPot1 Res1 Res1 Res1
DSUB1.385-2H9 HDR1X6 HDR1X8 AXIAL-0.3 AXIAL-0.3 AXIAL-0.3 AXIAL-0.3 AXIAL-0.3 AXIAL-0.3 AXIAL-0.3 AXIAL-0.3 VR4 VR4 VR4 AXIAL-0.3 AXIAL-0.3 AXIAL-0.3
R15 R16 R17 R18 R19 R20 R21 R22 R23 R24 R25 R26 R27 R28 R29 R30 R31 R32 R33 R34 R35 R36 SW1 U1 U2 U3 U4 U5 U6 U7 U8 U9 U10 U11 VR1 XTAL1
10K 10K 10K 200K 200K 200K 3K9 3K9 3K9 82K 82K 82K 82K 82K 82K 45K 45K 45K 4K7 4K7 470R 47R Push Button Switch AD620AN AD620AN AD620AN LM741 LM741 LM741 LM741 LM741 LM741 PIC16C65-20I/P MAX232 5 Volt Reg XTAL
AXIAL-0.3 AXIAL-0.3 AXIAL-0.3 VR4 VR4 VR4 AXIAL-0.3 AXIAL-0.3 AXIAL-0.3 AXIAL-0.3 AXIAL-0.3 AXIAL-0.3 AXIAL-0.3 AXIAL-0.3 AXIAL-0.3 AXIAL-0.3 AXIAL-0.3 AXIAL-0.3 AXIAL-0.3 AXIAL-0.3 AXIAL-0.3 AXIAL-0.3 SPST-2 DIP-8 DIP-8 DIP-8 DIP-8 DIP-8 DIP-8 DIP-8 DIP-8 DIP-8 DIP-P40/X.85 DIP-16/X1.5 SPDT-3 RAD-0.1
Res1 Res1 Res1 RPot1 RPot1 RPot1 Res1 Res1 Res1 Res1 Res1 Res1 Res1 Res1 Res1 Res1 Res1 Res1 Res1 Res1 Res1 Res1 SW-PB AD620AN AD620AN AD620AN LM741 LM741 LM741 LM741 LM741 LM741 PIC16C65-20I/P MAX232 5 Volt Reg XTAL
Appendix B Datasheets
a
FEATURES EASY TO USE Gain Set with One External Resistor (Gain Range 1 to 1000) Wide Power Supply Range (2.3 V to 18 V) Higher Performance than Three Op Amp IA Designs Available in 8-Lead DIP and SOIC Packaging Low Power, 1.3 mA max Supply Current EXCELLENT DC PERFORMANCE (B GRADE) 50 V max, Input Offset Voltage 0.6 V/ C max, Input Offset Drift 1.0 nA max, Input Bias Current 100 dB min Common-Mode Rejection Ratio (G = 10) LOW NOISE 9 nV/ Hz, @ 1 kHz, Input Voltage Noise 0.28 V p-p Noise (0.1 Hz to 10 Hz) EXCELLENT AC SPECIFICATIONS 120 kHz Bandwidth (G = 100) 15 s Settling Time to 0.01% APPLICATIONS Weigh Scales ECG and Medical Instrumentation Transducer Interface Data Acquisition Systems Industrial Process Controls Battery Powered and Portable Equipment PRODUCT DESCRIPTION
7 +VS 6 OUTPUT
AD620
TOP VIEW
5 REF
1000. Furthermore, the AD620 features 8-lead SOIC and DIP packaging that is smaller than discrete designs, and offers lower power (only 1.3 mA max supply current), making it a good fit for battery powered, portable (or remote) applications. The AD620, with its high accuracy of 40 ppm maximum nonlinearity, low offset voltage of 50 V max and offset drift of 0.6 V/C max, is ideal for use in precision data acquisition systems, such as weigh scales and transducer interfaces. Furthermore, the low noise, low input bias current, and low power of the AD620 make it well suited for medical applications such as ECG and noninvasive blood pressure monitors. The low input bias current of 1.0 nA max is made possible with the use of Supereta processing in the input stage. The AD620 works well as a preamplifier due to its low input voltage noise of 9 nV/Hz at 1 kHz, 0.28 V p-p in the 0.1 Hz to 10 Hz band, 0.1 pA/Hz input current noise. Also, the AD620 is well suited for multiplexed applications with its settling time of 15 s to 0.01% and its cost is low enough to enable designs with one inamp per channel.
10,000
The AD620 is a low cost, high accuracy instrumentation amplifier that requires only one external resistor to set gains of 1 to
30,000
25,000
1,000
20,000
TYPICAL STANDARD BIPOLAR INPUT IN-AMP 100 G = 100 10 AD620 SUPERETA BIPOLAR INPUT IN-AMP
15,000
AD620A
10,000 RG
5,000
0 0 5 10 SUPPLY CURRENT mA 15 20
0.1 1k
10k
10M
100M
REV. E
Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781/329-4700 World Wide Web Site: http://www.analog.com Fax: 781/326-8703 Analog Devices, Inc., 1999
AD620SPECIFICATIONS
Model GAIN Gain Range Gain Error2 G=1 G = 10 G = 100 G = 1000 Nonlinearity, G = 11000 G = 1100 Gain vs. Temperature Conditions G = 1 + (49.4 k/R G) VOUT = 10 V
10 10
VOLTAGE OFFSET Input Offset, VOSI Over Temperature Average TC Output Offset, V OSO Over Temperature Average TC Offset Referred to the Input vs. Supply (PSR) G=1 G = 10 G = 100 G = 1000 INPUT CURRENT Input Bias Current Over Temperature Average TC Input Offset Current Over Temperature Average TC INPUT Input Impedance Differential Common-Mode Input Voltage Range 3 Over Temperature Over Temperature Common-Mode Rejection Ratio DC to 60 Hz with I k Source Imbalance G=1 G = 10 G = 100 G = 1000 OUTPUT Output Swing Over Temperature Over Temperature Short Current Circuit
5.0
2.5
5.0
100 120 140 140 0.5 3.0 0.3 1.5 2.0 2.5 1.0 1.5
100 120 140 140 0.5 3.0 0.3 1.5 1.0 1.5 0.5 0.75
80 95 110 110
100 120 140 140 0.5 8.0 0.3 8.0 2 4 1.0 2.0
dB dB dB dB nA nA pA/C nA nA pA/C
VS = 2.3 V to 5 V VS = 5 V to 18 V
102 102 VS + 1.9 VS + 2.1 VS + 1.9 VS + 2.1 +VS 1.2 +VS 1.3 +VS 1.4 +VS 1.4 VS + 1.9 VS + 2.1 VS + 1.9 VS + 2.1
102 102 +VS 1.2 +VS 1.3 +VS 1.4 +VS 1.4 VS + 1.9 VS + 2.1 VS + 1.9 VS + 2.3
102 102 +VS 1.2 +VS 1.3 +VS 1.4 +VS 1.4
GpF GpF V V V V
VCM = 0 V to 10 V 73 93 110 110 RL = 10 k, VS = 2.3 V to 5 V VS = 5 V to 18 V 90 110 130 130 80 100 120 120 90 110 130 130 73 93 110 110 90 110 130 130 dB dB dB dB
18
18
18
V V V V mA
REV. E
AD620
Model Conditions Min AD620A Typ Max Min AD620B Typ Max Min AD620S1 Typ Max Units DYNAMIC RESPONSE Small Signal 3 dB Bandwidth G=1 G = 10 G = 100 G = 1000 Slew Rate Settling Time to 0.01% 10 V Step G = 1100 G = 1000 NOISE Voltage Noise, 1 kHz Input, Voltage Noise, e ni Output, Voltage Noise, e no RTI, 0.1 Hz to 10 Hz G=1 G = 10 G = 1001000 Current Noise 0.1 Hz to 10 Hz REFERENCE INPUT RIN IIN Voltage Range Gain to Output POWER SUPPLY Operating Range 4 Quiescent Current Over Temperature TEMPERATURE RANGE For Specified Performance
NOTES 1 See Analog Devices military data sheet for 883B tested specifications. 2 Does not include effects of external resistor R G. 3 One input grounded. G = 1. 4 This is defined as the same supply range which is used to specify PSR. Specifications subject to change without notice.
0.75
0.75
0.75
Total RTI Noise = ( e2 ni ) + ( eno / G )2 9 72 3.0 0.55 0.28 100 10 20 +50 13 100 9 72 13 100 9 72 13 100 nV/Hz nV/Hz V p-p V p-p V p-p fA/Hz pA p-p k A V
f = 1 kHz
VIN+ , VREF = 0
+60 VS + 1.6 +VS 1.6 1 0.0001 2.3 0.9 1.1 40 to +85 18 1.3 1.6
+60 VS + 1.6 +VS 1.6 1 0.0001 2.3 0.9 1.1 40 to +85 18 1.3 1.6
+60 VS + 1.6 +VS 1.6 1 0.0001 2.3 0.9 1.1 18 1.3 1.6
VS = 2.3 V to 18 V
V mA mA C
55 to +125
REV. E
AD620
ABSOLUTE MAXIMUM RATINGS 1
Supply Voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 V Internal Power Dissipation2 . . . . . . . . . . . . . . . . . . . . . 650 mW Input Voltage (Common Mode) . . . . . . . . . . . . . . . . . . . . VS Differential Input Voltage . . . . . . . . . . . . . . . . . . . . . . . . 25 V Output Short Circuit Duration . . . . . . . . . . . . . . . . . Indefinite Storage Temperature Range (Q) . . . . . . . . . . 65C to +150C Storage Temperature Range (N, R) . . . . . . . . 65C to +125C Operating Temperature Range AD620 (A, B) . . . . . . . . . . . . . . . . . . . . . . 40C to +85C AD620 (S) . . . . . . . . . . . . . . . . . . . . . . . . 55C to +125C Lead Temperature Range (Soldering 10 seconds) . . . . . . . . . . . . . . . . . . . . . . . +300C
NOTES 1 Stresses above those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only; functional operation of the device at these or any other conditions above those indicated in the operational section of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. 2 Specification is for device in free air: 8-Lead Plastic Package: JA = 95C/W 8-Lead Cerdip Package: JA = 110C/W 8-Lead SOIC Package: JA = 155C/W
ORDERING GUIDE
Model AD620AN AD620BN AD620AR AD620AR-REEL AD620AR-REEL7 AD620BR AD620BR-REEL AD620BR-REEL7 AD620ACHIPS AD620SQ/883B
Temperature Ranges Package Options* 40C to +85C 40C to +85C 40C to +85C 40C to +85C 40C to +85C 40C to +85C 40C to +85C 40C to +85C 40C to +85C 55C to +125C N-8 N-8 SO-8 13" REEL 7" REEL SO-8 13" REEL 7" REEL Die Form Q-8
METALIZATION PHOTOGRAPH
Dimensions shown in inches and (mm). Contact factory for latest dimensions.
RG* +VS OUTPUT
6 5 REFERENCE
0.0708 (1.799)
1 1 2 0.125 (3.180) 3 4
RG*
VS +IN
IN
*FOR CHIP APPLICATIONS: THE PADS 1RG AND 8RG MUST BE CONNECTED IN PARALLEL TO THE EXTERNAL GAIN REGISTER RG. DO NOT CONNECT THEM IN SERIES TO RG. FOR UNITY GAIN APPLICATIONS WHERE RG IS NOT REQUIRED, THE PADS 1RG MAY SIMPLY BE BONDED TOGETHER, AS WELL AS THE PADS 8RG.
CAUTION ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily accumulate on the human body and test equipment and can discharge without detection. Although the AD620 features proprietary ESD protection circuitry, permanent damage may occur on devices subjected to high energy electrostatic discharges. Therefore, proper ESD precautions are recommended to avoid performance degradation or loss of functionality.
WARNING!
ESD SENSITIVE DEVICE
REV. E
2.0
+IB
30
20
10
1.5
30
20
10
0.5
1000
GAIN = 1
100 GAIN = 10
30
20
10
10
400
200
+200
+400
REV. E
AD620Typical Characteristics
1000
100
10
10
100 FREQUENCY Hz
1000
100,000
TOTAL DRIFT FROM 25C TO 85C, RTI V
10,000
AD620A 100
TIME 1 SEC/DIV
10
1k
10k
10M
CMR dB
TIME 1 SEC/DIV
10
100 1k FREQUENCY Hz
10k
100k
1M
REV. E
AD620
180 160 140 G = 1000 120
PSR dB
35 G = 10, 100, 1000 30
25 G=1 20 15
100 80
G = 100
G = 10 60 40 20 0.1 G=1
10 5 G = 1000 0
BW LIMIT
10
100 1k FREQUENCY Hz
10k
100k
1M
1k
180
INPUT VOLTAGE LIMIT Volts (REFERRED TO SUPPLY VOLTAGES)
10
100 1k FREQUENCY Hz
10k
100k
1M
20
1000
+VS 0.0
100
GAIN V/V
10
0.1 100
1k
1M
10M
VS +0.0 0
20
REV. E
AD620
30
VS = 15V G = 10 20
10
Figure 23. Large Signal Response and Settling Time, G = 10 (0.5 mV = 001%)
Figure 21. Large Signal Pulse Response and Settling Time G = 1 (0.5 mV = 0.01%)
Figure 25. Large Signal Response and Settling Time, G = 100 (0.5 mV = 0.01%)
REV. E
AD620
20
10
20
1000
10
1 1
10 GAIN
100
1000
Figure 27. Large Signal Response and Settling Time, G = 1000 (0.5 mV = 0.01%)
REV. E
AD620
I1 20A VB 20A I2
IN
VS
The AD620 is a monolithic instrumentation amplifier based on a modification of the classic three op amp approach. Absolute value trimming allows the user to program gain accurately (to 0.15% at G = 100) with only one resistor. Monolithic construction and laser wafer trimming allow the tight matching and tracking of circuit components, thus ensuring the high level of performance inherent in this circuit. The input transistors Q1 and Q2 provide a single differentialpair bipolar input for high precision (Figure 33), yet offer 10 lower Input Bias Current thanks to Supereta processing. Feedback through the Q1-A1-R1 loop and the Q2-A2-R2 loop maintains constant collector current of the input devices Q1, Q2 thereby impressing the input voltage across the external gain setting resistor RG. This creates a differential gain from the inputs to the A1/A2 outputs given by G = (R1 + R2)/RG + 1. The unity-gain subtracter A3 removes any common-mode signal, yielding a single-ended output referred to the REF pin potential. The value of RG also determines the transconductance of the preamp stage. As RG is reduced for larger gains, the transconductance increases asymptotically to that of the input transistors. This has three important advantages: (a) Open-loop gain is boosted for increasing programmed gain, thus reducing gainrelated errors. (b) The gain-bandwidth product (determined by C1, C2 and the preamp transconductance) increases with programmed gain, thus optimizing frequency response. (c) The input voltage noise is reduced to a value of 9 nV/Hz, determined mainly by the collector current and base resistance of the input devices. The internal gain resistors, R1 and R2, are trimmed to an absolute value of 24.7 k, allowing the gain to be programmed accurately with a single external resistor. The gain equation is then
VOUT
+VS 11k 1k 100 G=1 G=100 G=10 49.9 499 5.49k 8 4 3 VS *ALL RESISTORS 1% TOLERANCE 2 1 G=1000 7
AD620
5
G=
49.4 k +1 RG
so that
RG =
49.4 k G 1
10
REV. E
AD620
Make vs. Buy: A Typical Bridge Application Error Budget
The AD620 offers improved performance over homebrew three op amp IA designs, along with smaller size, fewer components and 10 lower supply current. In the typical application, shown in Figure 34, a gain of 100 is required to amplify a bridge output of 20 mV full scale over the industrial temperature range of 40C to +85C. The error budget table below shows how to calculate the effect various error sources have on circuit accuracy. Regardless of the system in which it is being used, the AD620 provides greater accuracy, and at low power and price. In simple
systems, absolute accuracy and drift errors are by far the most significant contributors to error. In more complex systems with an intelligent processor, an autogain/autozero cycle will remove all absolute accuracy and drift errors leaving only the resolution errors of gain nonlinearity and noise, thus allowing full 14-bit accuracy. Note that for the homebrew circuit, the OP07 specifications for input voltage offset and noise have been multiplied by 2. This is because a three op amp type in-amp has two op amps at its inputs, both contributing to the overall input error.
+10V
OP07D
R = 350 R = 350 RG 499 R = 350 R = 350 REFERENCE 10k**
10k*
10k*
AD620A
100**
10k**
OP07D
OP07D
10k*
10k*
HOMEBREW IN-AMP, G = 100 *0.02% RESISTOR MATCH, 3PPM/C TRACKING **DISCRETE 1% RESISTOR, 100PPM/C TRACKING SUPPLY CURRENT = 15mA MAX
Error Source ABSOLUTE ACCURACY at TA = +25C Input Offset Voltage, V Output Offset Voltage, V Input Offset Current, nA CMR, dB
Error, ppm of Full Scale AD620 Homebrew 16,250 14,500 14,118 14,791 17,558 13,600 13,000 14,450 17,050 14,140 141,14 14,154 14,662 10,607 10,150 14,153 10,500 11,310 16,000 10,607 10,150 16,757 10,140 13,127 101,67 28,134
REV. E
11
AD620
+5V 20k REF
3k 3k
3k 3k G=100 499
3 8
AD620B
1 2 4 5
6 10k
IN
ADC AD705
0.6mA MAX AGND
Although useful in many bridge applications such as weigh scales, the AD620 is especially suitable for higher resistance pressure sensors powered at lower voltages where small size and low power become more significant. Figure 35 shows a 3 k pressure transducer bridge powered from +5 V. In such a circuit, the bridge consumes only 1.7 mA. Adding the AD620 and a buffered voltage divider allows the signal to be conditioned for only 3.8 mA of total supply current. Small size and low cost make the AD620 especially attractive for voltage output pressure transducers. Since it delivers low noise and drift, it will also serve applications such as diagnostic noninvasive blood pressure measurement.
The low current noise of the AD620 allows its use in ECG monitors (Figure 36) where high source resistances of 1 M or higher are not uncommon. The AD620s low power, low supply voltage requirements, and space-saving 8-lead mini-DIP and SOIC package offerings make it an excellent choice for battery powered data recorders. Furthermore, the low bias currents and low current noise coupled with the low voltage noise of the AD620 improve the dynamic range for better performance. The value of capacitor C1 is chosen to maintain stability of the right leg drive loop. Proper safeguards, such as isolation, must be added to this circuit to protect the patient from possible harm.
+3V
PATIENT/CIRCUIT PROTECTION/ISOLATION
C1
R1 10k R4 1M
R3 24.9k R2 24.9k
RG 8.25k
AD620A
G=7
G = 143
OUTPUT 1V/mV
OUTPUT AMPLIFIER
AD705J
3V
12
REV. E
AD620
Precision V-I Converter INPUT AND OUTPUT OFFSET VOLTAGE
The AD620, along with another op amp and two resistors, makes a precision current source (Figure 37). The op amp buffers the reference terminal to maintain good CMR. The output voltage VX of the AD620 appears across R1, which converts it to a current. This current less only, the input bias current of the op amp, then flows out to the load.
+VS VIN+ 7 + VX
The low errors of the AD620 are attributed to two sources, input and output errors. The output error is divided by G when referred to the input. In practice, the input errors dominate at high gains and the output errors dominate at low gains. The total VOS for a given gain is calculated as: Total Error RTI = input error + (output error/G) Total Error RTO = (input error G) + output error
REFERENCE TERMINAL
3 8 RG 1
AD620
5 4 VS Vx R1 [(V IN+) (V IN )] G R1 2
6 R1
VIN
The reference terminal potential defines the zero output voltage, and is especially useful when the load does not share a precise ground with the rest of the system. It provides a direct means of injecting a precise offset to the output, with an allowable range of 2 V within the supply voltages. Parasitic resistance should be kept to a minimum for optimum CMR. The AD620 features 400 of series thin film resistance at its inputs, and will safely withstand input overloads of up to 15 V or 60 mA for several hours. This is true for all gains, and power on and off, which is particularly important since the signal source and amplifier may be powered separately. For longer time periods, the current should not exceed 6 mA (IIN VIN/400 ). For input overloads beyond the supplies, clamping the inputs to the supplies (using a low leakage diode such as an FD333) will reduce the required resistance, yielding lower noise.
RF INTERFERENCE INPUT PROTECTION
AD705
I L=
LOAD
The AD620s gain is resistor programmed by RG, or more precisely, by whatever impedance appears between Pins 1 and 8. The AD620 is designed to offer accurate gains using 0.1%1% resistors. Table II shows required values of RG for various gains. Note that for G = 1, the RG pins are unconnected (RG = ). For any arbitrary gain RG can be calculated by using the formula:
RG =
49.4 k G 1
To minimize gain error, avoid high parasitic resistance in series with RG; to minimize gain drift, RG should have a low TCless than 10 ppm/Cfor the best performance.
Table II. Required Values of Gain Resistors 1% Std Table Value of RG, 49.9 k 12.4 k 5.49 k 2.61 k 1.00 k 499 249 100 49.9 Calculated Gain 1.990 4.984 9.998 19.93 50.40 100.0 199.4 495.0 991.0 0.1% Std Table Value of RG, 49.3 k 12.4 k 5.49 k 2.61 k 1.01 k 499 249 98.8 49.3 Calculated Gain 2.002 4.984 9.998 19.93 49.91 100.0 199.4 501.0 1,003
All instrumentation amplifiers can rectify out of band signals, and when amplifying small signals, these rectified voltages act as small dc offset errors. The AD620 allows direct access to the input transistor bases and emitters enabling the user to apply some first order filtering to unwanted RF signals (Figure 38), where RC 1/(2 f) and where f the bandwidth of the AD620; C 150 pF. Matching the extraneous capacitance at Pins 1 and 8 and Pins 2 and 3 helps to maintain high CMR.
RG
1 C R IN R +IN 3 2
4 C
REV. E
13
AD620
COMMON-MODE REJECTION GROUNDING
Instrumentation amplifiers like the AD620 offer high CMR, which is a measure of the change in output voltage when both inputs are changed by equal amounts. These specifications are usually given for a full-range input voltage change and a specified source imbalance. For optimal CMR the reference terminal should be tied to a low impedance point, and differences in capacitance and resistance should be kept to a minimum between the two inputs. In many applications shielded cables are used to minimize noise, and for best CMR over frequency the shield should be properly driven. Figures 39 and 40 show active data guards that are configured to improve ac common-mode rejections by bootstrapping the capacitances of input cable shields, thus minimizing the capacitance mismatch between the inputs.
+VS INPUT
Since the AD620 output voltage is developed with respect to the potential on the reference terminal, it can solve many grounding problems by simply tying the REF pin to the appropriate local ground. In order to isolate low level analog signals from a noisy digital environment, many data-acquisition components have separate analog and digital ground pins (Figure 41). It would be convenient to use a single ground line; however, current through ground wires and PC runs of the circuit card can cause hundreds of millivolts of error. Therefore, separate ground returns should be provided to minimize the current flow from the sensitive points to the system ground. These ground returns must be tied together at some point, usually best at the ADC package as shown.
ANALOG P.S. +15V C 15V DIGITAL P.S. C +5V
100
AD648
0.1F 0.1F
1F 1F 1F
RG 100 VS
AD620
VOUT
+
REFERENCE
AD620
AD585
S/H
AD574A
ADC
+ INPUT VS
100
AD548
RG 2
AD620
VOUT REFERENCE
+ INPUT VS
14
REV. E
AD620
GROUND RETURNS FOR INPUT BIAS CURRENTS
Input bias currents are those currents necessary to bias the input transistors of an amplifier. There must be a direct return path for these currents; therefore, when amplifying floating input
sources such as transformers, or ac-coupled sources, there must be a dc path from each input to ground as shown in Figure 42. Refer to the Instrumentation Amplifier Application Guide (free from Analog Devices) for more information regarding in amp applications.
+VS INPUT
+VS INPUT
RG
AD620
LOAD
VOUT
RG
AD620
LOAD
VOUT
+ INPUT VS
REFERENCE
+ INPUT VS
REFERENCE
Figure 42a. Ground Returns for Bias Currents with Transformer Coupled Inputs
+VS INPUT
Figure 42b. Ground Returns for Bias Currents with Thermocouple Inputs
RG
AD620
LOAD
VOUT
REFERENCE
Figure 42c. Ground Returns for Bias Currents with AC Coupled Inputs
REV. E
15
AD620
OUTLINE DIMENSIONS
Dimensions shown in inches and (mm).
0.280 (7.11) 0.240 (6.10) 0.060 (1.52) 0.015 (0.38) 0.325 (8.25) 0.300 (7.62) 0.195 (4.95) 0.115 (2.93)
0.130 (3.30) 0.160 (4.06) MIN 0.115 (2.93) 0.022 (0.558) 0.100 0.070 (1.77) SEATING PLANE 0.014 (0.356) (2.54) 0.045 (1.15) BSC
0.150 (3.81) 0.200 (5.08) MIN 0.125 (3.18) 0.023 (0.58) 0.100 0.070 (1.78) SEATING PLANE 0.014 (0.36) (2.54) 0.030 (0.76) BSC
15 0
16
REV. E
PRINTED IN U.S.A.
0.0500 0.0192 (0.49) SEATING (1.27) 0.0098 (0.25) PLANE BSC 0.0138 (0.35) 0.0075 (0.19)
C1599c07/99
August 2000
Features
Connection Diagrams
Metal Can Package Dual-In-Line or S.O. Package
00934102
00934103
Order Number LM741H, LM741H/883 (Note 1), LM741AH/883 or LM741CH See NS Package Number H08C Ceramic Flatpak
Order Number LM741J, LM741J/883, LM741CN See NS Package Number J08A, M08A or N08E
00934106
Typical Application
Offset Nulling Circuit
00934107
DS009341
www.national.com
LM741
22V
500 mW
22V
500 mW
18V
500 mW
30V 15V
Continuous 55C to +125C 65C to +150C 150C
30V 15V
Continuous 55C to +125C 65C to +150C 150C
30V 15V
Continuous 0C to +70C 65C to +150C 100C
See AN-450 Surface Mounting Methods and Their Effect on Product Reliability for other methods of soldering surface mount devices. ESD Tolerance (Note 8) 400V 400V 400V
10
15
15
mV
12 12 13
13
V V
www.national.com
LM741
(Continued) LM741A Min 50 50 200 20 200 Typ Max Min LM741 Typ Max Min LM741C Typ Max V/mV V/mV Units
32 25 10 15
16 15 12 10
10 10 25 35 40 70 80 95 90 70 90
14 13
25
12 10
14 13
25
V V mA mA dB dB
dB 77 96 0.3 5 0.5 1.7 2.8 77 96 0.3 5 0.5 1.7 2.8 dB s % MHz V/s mA mW 50 165 135 60 45 100 75 85 50 85 mW mW mW mW mW
Transient Response Rise Time Overshoot Bandwidth (Note 6) Slew Rate Supply Current Power Consumption
TA = 25C, Unity Gain 0.25 6.0 TA = 25C TA = 25C, Unity Gain TA = 25C TA = 25C VS = 20V VS = 15V 80 150 0.437 0.3 1.5 0.7 0.8 20
LM741A
LM741
Note 2: Absolute Maximum Ratings indicate limits beyond which damage to the device may occur. Operating Ratings indicate conditions for which the device is functional, but do not guarantee specific performance limits.
www.national.com
LM741
(Continued)
Note 3: For operation at elevated temperatures, these devices must be derated based on thermal resistance, and Tj max. (listed under Absolute Maximum Ratings). Tj = TA + (jA PD).
Note 4: For supply voltages less than 15V, the absolute maximum input voltage is equal to the supply voltage. Note 5: Unless otherwise specified, these specifications apply for VS = 15V, 55C TA +125C (LM741/LM741A). For the LM741C/LM741E, these specifications are limited to 0C TA +70C. Note 6: Calculated value from: BW (MHz) = 0.35/Rise Time(s). Note 7: For military specifications see RETS741X for LM741 and RETS741AX for LM741A. Note 8: Human body model, 1.5 k in series with 100 pF.
Schematic Diagram
00934101
www.national.com
LM741
Physical Dimensions
unless otherwise noted
inches (millimeters)
Metal Can Package (H) Order Number LM741H, LM741H/883, LM741AH/883, LM741AH-MIL or LM741CH NS Package Number H08C
www.national.com
LM741
Physical Dimensions
Ceramic Dual-In-Line Package (J) Order Number LM741J/883 NS Package Number J08A
www.national.com
Physical Dimensions
10-Lead Ceramic Flatpak (W) Order Number LM741W/883, LM741WG-MPR or LM741WG/883 NS Package Number W10A
National does not assume any responsibility for use of any circuitry described, no circuit patent licenses are implied and National reserves the right at any time without notice to change said circuitry and specifications. For the most current product information visit us at www.national.com. LIFE SUPPORT POLICY NATIONALS PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT AND GENERAL COUNSEL 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. BANNED SUBSTANCE COMPLIANCE National Semiconductor certifies that the products and packing materials meet the provisions of the Customer Products Stewardship Specification (CSP-9-111C2) and the Banned Substances and Materials of Interest Specification (CSP-9-111S2) and contain no Banned Substances as defined in CSP-9-111S2.
National Semiconductor Americas Customer Support Center Email: new.feedback@nsc.com Tel: 1-800-272-9959 www.national.com National Semiconductor Europe Customer Support Center Fax: +49 (0) 180-530 85 86 Email: europe.support@nsc.com Deutsch Tel: +49 (0) 69 9508 6208 English Tel: +44 (0) 870 24 0 2171 Franais Tel: +33 (0) 1 41 91 8790 National Semiconductor Asia Pacific Customer Support Center Email: ap.support@nsc.com National Semiconductor Japan Customer Support Center Fax: 81-3-5639-7507 Email: jpn.feedback@nsc.com Tel: 81-3-5639-7560
2. A critical component is any component of 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.
MAX220MAX249
________________________Applications
Portable Computers Low-Power Modems Interface Translation Battery-Powered RS-232 Systems Multidrop RS-232 Networks
PART MAX220CPE MAX220CSE MAX220CWE MAX220C/D MAX220EPE MAX220ESE MAX220EWE MAX220EJE MAX220MJE
Ordering Information
TEMP RANGE 0C to +70C 0C to +70C 0C to +70C 0C to +70C -40C to +85C -40C to +85C -40C to +85C -40C to +85C -55C to +125C PIN-PACKAGE 16 Plastic DIP 16 Narrow SO 16 Wide SO Dice* 16 Plastic DIP 16 Narrow SO 16 Wide SO 16 CERDIP 16 CERDIP
Ordering Information continued at end of data sheet. *Contact factory for dice specifications.
Selection Table
Part Number MAX220 MAX222 MAX223 (MAX213) MAX225 MAX230 (MAX200) MAX231 (MAX201) MAX232 (MAX202) MAX232A MAX233 (MAX203) MAX233A MAX234 (MAX204) MAX235 (MAX205) MAX236 (MAX206) MAX237 (MAX207) MAX238 (MAX208) MAX239 (MAX209) MAX240 MAX241 (MAX211) MAX242 MAX243 MAX244 MAX245 MAX246 MAX247 MAX248 MAX249 Power Supply (V) +5 +5 +5 +5 +5 +5 and +7.5 to +13.2 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 and +7.5 to +13.2 +5 +5 +5 +5 +5 +5 +5 +5 +5 +5 No. of RS-232 Drivers/Rx 2/2 2/2 4/5 5/5 5/0 2/2 2/2 2/2 2/2 2/2 4/0 5/5 4/3 5/3 4/4 3/5 5/5 4/5 2/2 2/2 8/10 8/10 8/10 8/9 8/8 6/10 No. of Ext. Caps 4 4 4 0 4 2 4 4 0 0 4 0 4 4 4 2 4 4 4 4 4 0 0 0 4 4 Nominal Cap. Value (F) 0.047/0.33 0.1 1.0 (0.1) 1.0 (0.1) 1.0 (0.1) 1.0 (0.1) 0.1 1.0 (0.1) 1.0 (0.1) 1.0 (0.1) 1.0 (0.1) 1.0 (0.1) 1.0 1.0 (0.1) 0.1 0.1 1.0 1.0 1.0 SHDN & ThreeState No Yes Yes Yes Yes No No No No No No Yes Yes No No No Yes Yes Yes No No Yes Yes Yes Yes Yes Rx Active in SHDN Data Rate (kbps) 120 200 120 120 120 120 120 (64) 200 120 200 120 120 120 120 120 120 120 120 200 200 120 120 120 120 120 120 Features Ultra-low-power, industry-standard pinout Low-power shutdown MAX241 and receivers active in shutdown Available in SO 5 drivers with shutdown Standard +5/+12V or battery supplies; same functions as MAX232 Industry standard Higher slew rate, small caps No external caps No external caps, high slew rate Replaces 1488 No external caps Shutdown, three state Complements IBM PC serial port Replaces 1488 and 1489 Standard +5/+12V or battery supplies; single-package solution for IBM PC serial port DIP or flatpack package Complete IBM PC serial port Separate shutdown and enable Open-line detection simplifies cabling High slew rate High slew rate, int. caps, two shutdown modes High slew rate, int. caps, three shutdown modes High slew rate, int. caps, nine operating modes High slew rate, selective half-chip enables Available in quad flatpack package
For pricing, delivery, and ordering information, please contact Maxim/Dallas Direct! at 1-888-629-4642, or visit Maxims website at www.maxim-ic.com.
Note 1: For the MAX220, V+ and V- can have a maximum magnitude of 7V, but their absolute difference cannot exceed 13V. Note 2: Input voltage measured with TOUT in high-impedance state, SHDN or VCC = 0V. Note 3: Maximum reflow temperature for the MAX223A is +225C.
Stresses beyond those listed under Absolute Maximum Ratings may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.
ELECTRICAL CHARACTERISTICSMAX220/222/232A/233A/242/243
(VCC = +5V 10%, C1C4 = 0.1F MAX220, C1 = 0.047F, C2C4 = 0.33F, TA = TMIN to TMAX unless otherwise noted.)
PARAMETER RS-232 TRANSMITTERS Output Voltage Swing Input Logic Threshold Low Input Logic Threshold High All devices except MAX220 MAX220: VCC = 5.0V All except MAX220, normal operation Logic Pullup/lnput Current SHDN = 0V, MAX222/MAX242, shutdown, MAX220 VCC = 5.5V, SHDN = 0V, VOUT = 15V, MAX222/MAX242 Output Leakage Current VCC = SHDN = 0V Data Rate Transmitter Output Resistance Output Short-Circuit Current RS-232 RECEIVERS RS-232 Input Voltage Operating Range RS-232 Input Threshold Low RS-232 Input Threshold High VCC = 5V VCC = 5V MAX220 All except MAX243 R2IN MAX243 R2 IN (Note 4) All except MAX243 R2IN MAX243 R2 IN (Note 4) 0.8 -3 1.8 -0.5 2.4 -0.1 1.3 30 25 V V V VCC = V+ = V- = 0V, VOUT = 2V VOUT = 0V VOUT = 0V MAX220 300 7 VOUT = 15V MAX220, VOUT = 12V 200 10M 22 60 2 2.4 5 0.01 0.01 0.01 40 1 10 10 25 116 kbps mA A A All transmitter outputs loaded with 3k to GND 5 8 1.4 1.4 0.8 V V V CONDITIONS MIN TYP MAX UNITS
_______________________________________________________________________________________
3k load both MAX222/MAX232A/MAX233A/ inputs MAX242/MAX243 TA = +25C TA = 0C to +70C TA = -40C to +85C TA = -55C to +125C
MAX222/ MAX242
SHDN Input Leakage Current SHDN Threshold Low SHDN Threshold High
MAX222/MAX242 MAX222/MAX242 MAX222/MAX242 CL = 50pF to MAX222/MAX232A/MAX233/ 2500pF, RL = 3k MAX242/MAX243 to 7k, VCC = 5V, TA = +25C, MAX220 measured from +3V to -3V or -3V tPHLT MAX222/MAX232A/MAX233/ MAX242/MAX243 MAX220 tPLHT MAX222/MAX232A/MAX233/ MAX242/MAX243 MAX220
1.3 4 1.5 5
3.5 10 3.5 10 s
tDT
600 300
ns
ns
tPHLR - tPLHR
ns
10 8 6 OUTPUT VOLTAGE (V) 4 2 0 -2 -4 -6 -8 -10 0 5 EITHER V+ OR V- LOADED VCC = 5V NO LOAD ON TRANSMITTER OUTPUTS (EXCEPT MAX220, MAX233A) V- LOADED, NO LOAD ON V+ 0.1F
1F
11 10 OUTPUT CURRENT (mA) 9 8 7 6 5 ALL CAPS 0.1F ALL CAPS 1F VCC = +5.25V OUTPUT LOAD CURRENT FLOWS FROM V+ TO V-
+10V
0.1F
1F
VCC = +4.75V
_______________________________________________________________________________________
ELECTRICAL CHARACTERISTICSMAX223/MAX230MAX241
(MAX223/230/232/234/236/237/238/240/241, VCC = +5V 10; MAX233/MAX235, VCC = 5V 5% C1C4 = 1.0F; MAX231/MAX239, VCC = 5V 10%; V+ = 7.5V to 13.2V; TA = TMIN to TMAX; unless otherwise noted.) PARAMETER Output Voltage Swing VCC Power-Supply Current CONDITIONS All transmitter outputs loaded with 3k to ground MAX232/233 No load, TA = +25C MAX223/230/234238/240/241 MAX231/239 MAX231 MAX239 TA = +25C MAX223 MAX230/235/236/240/241 2.0 2.4 1.5 -30 200 +30 V A V MIN 5.0 TYP 7.3 5 7 0.4 1.8 5 15 1 10 15 1 5 15 50 10 0.8 mA A V mA MAX UNITS V
V+ Power-Supply Current Shutdown Supply Current Input Logic Threshold Low Input Logic Threshold High Logic Pull-Up Current Receiver Input Voltage Operating Range
TIN; EN, SHDN (MAX233); EN, SHDN (MAX230/235241) TIN EN, SHDN (MAX223); EN, SHDN (MAX230/235/236/240/241) TIN = 0V
_______________________________________________________________________________________
TA = +25C, VCC = 5V
1.7
2.4 V
TA = +25C, VCC = 5V
1.5 0.5 5
RS-232 Input Hysteresis RS-232 Input Resistance TTL/CMOS Output Voltage Low TTL/CMOS Output Voltage High TTL/CMOS Output Leakage Current Receiver Output Enable Time
VCC = 5V, no hysteresis in shutdown TA = +25C, VCC = 5V IOUT = 1.6mA (MAX231/232/233, IOUT = 3.2mA) IOUT = -1mA 0V ROUT VCC; EN = 0V (MAX223); EN = VCC (MAX235241 ) Normal operation Normal operation MAX223 MAX235/236/239/240/241 MAX223 MAX235/236/239/240/241
3.5
ns
Propagation Delay
tPHLS tPLHS 3
4 6 5.1
MAX223/MAX230/MAX234241, TA = +25C, VCC = 5V, RL = 3k to 7k CL = 50pF to 2500pF, measured from +3V to -3V or -3V to +3V MAX231/MAX232/MAX233, TA = +25C, VCC = 5V, RL = 3k to 7k, CL = 50pF to 2500pF, measured from +3V to -3V or -3V to +3V VCC = V+ = V- = 0V, VOUT = 2V
V/s 4 300 10 30 mA mA
_______________________________________________________________________________________
TRANSMITTER OUTPUT VOLTAGE (VOH) vs. LOAD CAPACITANCE AT DIFFERENT DATA RATES
MAX220-05
12.0
7.0
6.5 4.5
3 TRANSMITTERS LOADED TA = +25C C1C4 = 1F TRANSMITTER 4 TRANSMITTERS LOADS = 3k || 2500pF LOADED 5.0 VCC (V) 5.5
160kbits/sec 80kbits/sec 20kbits/sec TA = +25C VCC = +5V 3 TRANSMITTERS LOADED RL = 3k C1C4 = 1F 500 1000 1500 2000 2500 LOAD CAPACITANCE (pF)
TRANSMITTER OUTPUT VOLTAGE (VOL) vs. LOAD CAPACITANCE AT DIFFERENT DATA RATES
-6.2 -6.4 -6.6 VOL (V) -6.8 -7.0 -7.2 TA = +25C VCC = +5V 3 TRANSMITTERS LOADED RL = 3k C1C4 = 1F 160kbits/sec 80kbits/sec 20Kkbits/sec
MAX220-08
-6.0 -6.5 -7.0 VOL (V) -7.5 -8.0 -8.5 -9.0 4.5 5.0 VCC (V) 1 TRANSMITTER LOADED 2 TRANSMITTERS LOADED 3 TRANSMITTERS LOADED
-6.0
V+ LOADED, NO LOAD ON V-
-6 -8 -10 0 500 1000 1500 2000 2500 0 5 LOAD CAPACITANCE (pF) ALL TRANSMITTERS UNLOADED 10 15 20 25 30 35 40 45 50 CURRENT (mA)
MAX220-13
V+
O V-
_______________________________________________________________________________________
Note 5: Input voltage measured with transmitter output in a high-impedance state, shutdown, or VCC = 0V. Note 6: Maximum reflow temperature for the MAX225/MAX245/MAX246/MAX247 is +225C.
Stresses beyond those listed under Absolute Maximum Ratings may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.
ELECTRICAL CHARACTERISTICSMAX225/MAX244MAX249
(MAX225, VCC = 5.0V 5%; MAX244MAX249, VCC = +5.0V 10%, external capacitors C1C4 = 1F; TA = TMIN to TMAX; unless otherwise noted.) PARAMETER RS-232 TRANSMITTERS Input Logic Threshold Low Input Logic Threshold High Logic Pull-Up/lnput Current Data Rate Output Voltage Swing Tables 1a1d Normal operation Shutdown 5 2 1.4 1.4 10 0.01 120 7.5 0.01 0.01 300 7 10M 30 25 VCC = 5V VCC = 5V VCC = 5V IOUT = 3.2mA IOUT = -1.0mA Sourcing VOUT = GND Shrinking VOUT = VCC Normal operation, outputs disabled, Tables 1a1d, 0V VOUT VCC, ENR_ = VCC 3.5 -2 10 0.2 3 0.8 1.3 1.8 0.5 5 0.2 VCC - 0.2 -10 30 0.05 0.10 2.4 1.0 7 0.4 25 A 25 mA V V V V k V V mA A 50 1 64 0.8 V V A kbps V CONDITIONS MIN TYP MAX UNITS
Tables 1a1d, normal operation All transmitter outputs loaded with 3k to GND ENA, ENB, ENT, ENTA, ENTB = VCC, VOUT = 15V VCC = 0V, VOUT = 15V
Tables 1a1d
Transmitter Output Resistance Output Short-Circuit Current RS-232 RECEIVERS RS-232 Input Voltage Operating Range RS-232 Input Threshold Low RS-232 Input Threshold High RS-232 Input Hysteresis RS-232 Input Resistance TTL/CMOS Output Voltage Low TTL/CMOS Output Voltage High TTL/CMOS Output Short-Circuit Current TTL/CMOS Output Leakage Current
_______________________________________________________________________________________
MAX220MAX249
Receiver-Output Enable Time, Figure 3 tER Receiver-Output Disable Time, Figure 3 tDR
tDT
Note 7: The 300 minimum specification complies with EIA/TIA-232E, but the actual resistance when in shutdown mode or VCC = 0V is 10M as is implied by the leakage specification.
_______________________________________________________________________________________
TRANSMITTER OUTPUT VOLTAGE (V+, V-) vs. LOAD CAPACITANCE AT DIFFERENT DATA RATES
8.5 8.0 V+, V (V) 7.5 7.0 6.5 VCC = 5V WITH ALL TRANSMITTERS DRIVEN LOADED WITH 5k 10kb/sec 20kb/sec 40kb/sec 60kb/sec
MAX220-12
10 8 6 OUTPUT VOLTAGE (V) V+ AND V- LOADED VCC = 5V EXTERNAL CHARGE PUMP 1F CAPACITORS 8 TRANSMITTERS DRIVING 5k AND 2000pF AT 20kbits/sec V+ AND V- LOADED V+ LOADED EITHER V+ OR V- LOADED
9.0
EXTERNAL POWER SUPPLY 1F CAPACITORS 40kb/s DATA RATE 8 TRANSMITTERS LOADED WITH 3k
4 2 0 -2 -4 -6 -8 -10 0
V- LOADED 6.0 5.5 5.0 5 10 15 20 25 30 35 0 LOAD CURRENT (mA) 1 200kb/sec ALL CAPACITIORS 1F 2 3 4 5 LOAD CAPACITANCE (nF) 100kb/sec
10
______________________________________________________________________________________
tPLHT
EN RX OUT RX IN a) TEST CIRCUIT 150pF EN INPUT +3V 0V V+ EN OUTPUT ENABLE TIME (tER) +3.5V RECEIVER OUTPUTS +0.8V a) TIMING DIAGRAM b) ENABLE TIMING +3V EN INPUT VOH RECEIVER OUTPUTS VOL c) DISABLE TIMING VOL + 0.5V 0V OUTPUT DISABLE TIME (tDR) VOH - 0.5V VCC - 2V b) TEST CIRCUIT EN 1 OR 0 TX 3k 50pF V+5V 0V -5V OUTPUT DISABLE TIME (tDT) RX 1k VCC - 2V SHDN +3V 0V
______________________________________________________________________________________
Shutdown
All 3-State
All 3-State
Shutdown
All 3-State
All 3-State
Shutdown
All 3-State
All Active
Shutdown
All 3-State
All 3-State
12
______________________________________________________________________________________
MAX220MAX249
Shutdown
All 3-State
All 3-State
Shutdown
All 3-State
All 3-State
Shutdown
All 3-State
All 3-State
All 3-State
Shutdown
All 3-State
All 3-State
All 3-State
______________________________________________________________________________________
13
RS-232 Receivers
EIA/TIA-232E and V.28 specifications define a voltage level greater than 3V as a logic 0, so all receivers invert. Input thresholds are set at 0.8V and 2.4V, so receivers respond to TTL level inputs as well as EIA/TIA-232E and V.28 levels. The receiver inputs withstand an input overvoltage up to 25V and provide input terminating resistors with
RS-232 Drivers
The typical driver output voltage swing is 8V when loaded with a nominal 5k RS-232 receiver and VCC = +5V. Output swing is guaranteed to meet the EIA/TIA232E and V.28 specification, which calls for 5V minimum driver output levels under worst-case conditions. These include a minimum 3k load, VCC = +4.5V, and maximum operating temperature. Unloaded driver output voltage ranges from (V+ -1.3V) to (V- +0.5V). Input thresholds are both TTL and CMOS compatible. The inputs of unused drivers can be left unconnected since 400k input pull-up resistors to VCC are built in (except for the MAX220). The pull-up resistors force the outputs of unused drivers low because all drivers invert. The internal input pull-up resistors typically source 12A, except in shutdown mode where the pull-ups are disabled. Driver outputs turn off and enter a high-impedance statewhere leakage current is typically microamperes (maximum 25A)when in shutdown
14
__
__
______________________________________________________________________________________
ShutdownMAX222MAX242
On the MAX222 MAX235 MAX236 MAX240 and MAX241 all receivers are disabled during shutdown. On the MAX223 and MAX242 two receivers continue to operate in a reduced power mode when the chip is in shutdown. Under these conditions the propagation delay increases to about 2.5s for a high-to-low input transition. When in shutdown, the receiver acts as a CMOS inverter with no hysteresis. The MAX223 and MAX242 also have a receiver output enable input (EN for the MAX242 and EN for the MAX223) that allows receiver output control independent of SHDN (SHDN for MAX241). With all other devices SHDN (SHDN for MAX241) also disables the receiver outputs. The MAX225 provides five transmitters and five receivers while the MAX245 provides ten receivers and eight transmitters. Both devices have separate receiver and transmitter-enable controls. The charge pumps turn off and the devices shut down when a logic high is applied to the ENT input. In this state, the supply current drops to less than 25A and the receivers continue to operate in a low-power receive mode. Driver outputs enter a high-impedance state (three-state mode). On the MAX225 all five receivers are controlled by the ENR input. On the MAX245 eight of the receiver outputs are controlled by the ENR input while the remaining two receivers (RA5 and RB5) are always active. RA1RA4 and RB1RB4 are put in a three-state mode when ENR is a logic high.
MAX220MAX249
Negative ThresholdMAX243
The MAX243 is pin compatible with the MAX232A, differing only in that RS-232 cable fault protection is removed on one of the two receiver inputs. This means that control lines such as CTS and RTS can either be driven or left floating without interrupting communication. Different cables are not needed to interface with different pieces of equipment. The input threshold of the receiver without cable fault protection is -0.8V rather than +1.4V. Its output goes positive only if the input is connected to a control line that is actively driven negative. If not driven, it defaults to the 0 or OK to send state. Normally the MAX243s other receiver (+1.4V threshold) is used for the data line (TD or RD) while the negative threshold receiver is connected to the control line (DTR DTS CTS RTS, etc.). Other members of the RS-232 family implement the optional cable fault protection as specified by EIA/TIA232E specifications. This means a receiver output goes high whenever its input is driven negative left floating or shorted to ground. The high output tells the serial communications IC to stop sending data. To avoid this the control lines must either be driven or connected with jumpers to an appropriate positive voltage level.
______________________________________________________________________________________
15
__________Applications Information
Figures 5 through 25 show pin configurations and typical operating circuits. In applications that are sensitive to power-supply noise, VCC should be decoupled to ground with a capacitor of the same value as C1 and C2 connected as close as possible to the device.
16
______________________________________________________________________________________
TOP VIEW
C5 C1+ 1 V+ 2 C1- 3 C2+ 4 C2- 5 V- 6 T2OUT 7 R2IN 8 16 VCC 15 GND 14 T1OUT C2 1 C1 C1+ 16 VCC +5V TO +10V VOLTAGE DOUBLER V+ 2 +10V 6 -10V C4
3 C14 C2+ +10V TO -10V 5 C2- VOLTAGE INVERTER +5V 400k 11 T1IN
V-
DIP/SO
CAPACITANCE (F) DEVICE C1 C2 C3 C4 C5 MAX220 0.047 0.33 0.33 0.33 0.33 MAX232 1.0 1.0 1.0 1.0 1.0 MAX232A 0.1 0.1 0.1 0.1 0.1 TTL/CMOS OUTPUTS
9 R2OUT
R2IN 8 5k GND 15
TOP VIEW
(N.C.) EN 1 (N.C.) EN 1 C1+ 2 V+ 3 C1- 4 C2+ 5 C2- 6 V- 7 T2OUT 8 R2IN 9 18 SHDN 17 VCC 16 GND 15 T1OUT C1+ 2 V+ 3 C1- 4 C2+ 5 C2- 6 V- 7 T2OUT 8 R2IN 9 R2OUT 10
C1
C2
MAX222 MAX242
MAX222 MAX242
DIP/SO
SSOP
TOP VIEW
0.1 +5V T1IN +5V 400k 4 T2IN +5V 400k 25 T3IN +5V 400k 24 T4IN +5V 400k 23 26 5 T5IN ENT T5OUT R1OUT R1IN 5k 6 R2OUT R2IN 5k 7 R3OUT R3IN 5k 22 R4OUT R4IN 5k 21 R5OUT R5IN 5k 1 2 ENR ENR 20 19 8 9 T5OUT 16 15 10 T4OUT 17 T3OUT 18 T2OUT 12 T1OUT 28 VCC 400k 3 ENR 1 ENR 2 T1IN 3 T2IN 4 R1OUT 5 R2OUT 6 R3OUT 7 R3IN 8 R2IN 9 R1IN 10 T1OUT 11 T2OUT 12 GND 13 GND 14 28 VCC 27 VCC 26 ENT 25 T3IN 11 27 VCC
MAX225
24 T4IN 23 T5IN 22 R4OUT 21 R5OUT 20 R5IN 19 R4IN 18 T3OUT 17 T4OUT 16 T5OUT 15 T5OUT
SO
MAX225 FUNCTIONAL DESCRIPTION 5 RECEIVERS 5 TRANSMITTERS 2 CONTROL PINS 1 RECEIVER ENABLE (ENR) 1 TRANSMITTER ENABLE (ENT)
PINS (ENR, GND, VCC, T5OUT) ARE INTERNALLY CONNECTED. CONNECT EITHER OR BOTH EXTERNALLY. T5OUT IS A SINGLE DRIVER.
GND 13
GND 14
18
______________________________________________________________________________________
12 1.0F 1.0F
C1+
1.0F V+ 13
V-
17 1.0F
MAX223 MAX241
8 R1OUT
R1
R1IN 9 5k
5 R2OUT
R2
R2IN 4 5k
LOGIC OUTPUTS
26 R3OUT
R3
R3IN 5k
27
RS-232 INPUTS
22 R4OUT
R4
R4IN 5k
23
19 R5OUT *R4 AND R5 IN MAX223 REMAIN ACTIVE IN SHUTDOWN NOTE: PIN LABELS IN ( ) ARE FOR MAX241 24 EN (EN)
R5
R5IN
18
GND 10
5k SHDN 25 (SHDN)
______________________________________________________________________________________
19
11 +10V TO -10V C2+ 12 C2- VOLTAGE INVERTER +5V 5 T1IN +5V 4 T2IN +5V 400k 400k T1 400k T2
1.0F
T1OUT 2
MAX230
T2OUT 3
T3OUT 1
RS-232 OUTPUTS
15 T4IN +5V
T4OUT 20
DIP/SO
19 T5IN N.C. x 18
T5 GND 6
T5OUT 16 17 SHDN
+5V INPUT
TOP VIEW
1 1.0F C+ 1 CV2 3 14 V+ 13 VCC 12 GND C+ 1 C- 2 V- 3 T2OUT 4 R2IN 5 R2OUT 6 T2IN 7 N.C. 8 16 V+ 15 VCC 14 GND TTL/CMOS INPUTS 7 (11) TTL/CMOS OUTPUTS 9 (10) 8 T1IN 2
1.0F 13 (15) C1+ C1+5V 400k T1 400k T2IN R1OUT T2 R1 5k 6 R2OUT VCC +12V TO -12V VOLTAGE CONVERTER
+7.5V TO +12V
V+ V-
14 3
T1OUT 11
MAX231
MAX231
DIP SO
R2
Figure 10. MAX231 Pin Configurations and Typical Operating Circuit 20 ______________________________________________________________________________________
TOP VIEW
+5V 400k T2IN 1 20 R2OUT 19 R2IN 18 T2OUT 17 VTTL/CMOS INPUTS 1 3 TTL/CMOS OUTPUTS 20 R2OUT 8 (13) DO NOT MAKE CONNECTIONS TO 13 (14) THESE PINS 12 (10) INTERNAL -10 17 POWER SUPPLY INTERNAL +10V POWER SUPPLY ( ) ARE FOR SO PACKAGE ONLY. C1+ C1VT2IN R1OUT 2 T1IN +5V 400k VCC
T1OUT 5 RS-232 OUTPUTS T2OUT 18 R1IN 4 5k RS-232 INPUTS R2IN 19 5k C2+ 11 (12) C2+ C2C2GND 6 GND 9 10 (11) 15 16
T1IN 2 R1OUT 3 R1IN 4 T1OUT 5 GND 6 VCC 7 (V+) C1+ 8 GND 9 (V-) CS- 10
MAX233 MAX233A
DIP/SO
V14 (8) V+
TOP VIEW
7 1.0F 9 10 T1OUT 1 T2OUT 2 T2IN 3 T1IN 4 GND 5 VCC 6 C1+ 7 V+ 8 16 T3OUT 15 T4OUT 14 T4IN 4 T1IN 1.0F C1+ C1C2+
1.0F 6 VCC +5V TO +10V VOLTAGE DOUBLER +10V TO -10V VOLTAGE INVERTER +5V 400k
T1
1.0F 8 V+ 12 1.0F
11 C2-
V-
T1OUT 1
MAX234
+5V 400k
T2
+5V 400k
T3
T3OUT 16
DIP/SO
14 T4IN
+5V 400k
T4
T4OUT 15
GND 5
Figure 12. MAX234 Pin Configuration and Typical Operating Circuit ______________________________________________________________________________________ 21
TOP VIEW
1.0F 12 +5V 8 T1IN +5V 7 T2IN +5V TTL/CMOS INPUTS 15 T3IN +5V 16 T4IN +5V 22 T5IN 400k T5 T5OUT 19 VCC 400k T1 T1OUT 3
T4OUT 1 T3OUT 2 T1OUT 3 T2OUT 4 R2IN 5 R2OUT 6 T2IN 7 T1IN 8 R1OUT 9 R1IN 10 GND 11 VCC 12
MAX235
9 R1OUT
T1
R1IN 10 5k
6 R2OUT
R2
R2IN 5 5k
DIP
TTL/CMOS OUTPUTS
23 R3OUT
R3
R3IN 24 5k
RS-232 INPUTS
17 R4OUT
R4
R4IN 18 5k
14 R5OUT
R5
R5IN 13 5k SHDN 21
20 EN GND 11
22
______________________________________________________________________________________
TOP VIEW
1.0F
+5V INPUT
9 10 1.0F 12 13 1.0F C1+ C1C2+ +10V TO -10V VOLTAGE INVERTER +5V 400k 7 T1IN T3OUT 1 T1OUT 2 T2OUT 3 R1IN 4 R1OUT 5 T2IN 6 T1IN 7 GND 8 VCC 9 C1+ 10 V+ 11 C1- 12 24 T4OUT 23 R2IN 22 R2OUT 21 SHDN TTL/CMOS INPUTS 18 T3IN +5V 400k 19 T4IN T4 T4OUT 24 6 T2IN +5V 400k T3 T3OUT 1 +5V 400k T2 T2OUT 3 T1 T1OUT 2 VCC +5V TO +10V VOLTAGE DOUBLER V+ 11
1.0F
V-
15 1.0F
14 C2-
MAX236
RS-232 OUTPUTS
R1
R1IN 4 5k
DIP/SO
TTL/CMOS OUTPUTS 22 R2OUT R2 R2IN 5k 17 R3OUT R3IN 5k 20 EN GND 8 SHDN 21 16 23 RS-232 INPUTS
R3
______________________________________________________________________________________
23
10 1.0F 12 13 1.0F 14
V-
15 1.0F
MAX237
DIP/SO
5 R1OUT
R1
R1IN 4 5k
TTL/CMOS OUTPUTS
22 R2OUT
R2
R2IN 5k
23
RS-232 INPUTS
17 R3OUT
R3
R3IN 5k
16
GND 8
24
______________________________________________________________________________________
15 1.0F
MAX238
6 R1OUT
R1
R1IN 7 5k
DIP/SO
4 R2OUT TTL/CMOS OUTPUTS 22 R3OUT R3 R2
R2IN 5k R3IN 5k
3 RS-232 INPUTS 23
17 R4OUT
R4
R4IN 5k
16
GND 8
______________________________________________________________________________________
25
MAX239
1 R1OUT
R1
R1IN 2 5k
22 R2OUT
R2
R2IN 21 5k
DIP/SO
TTL/CMOS OUTPUTS
17 R3OUT
R3
R3IN 5k
18
RS-232 INPUTS
11 R4OUT
R4
R4IN 5k
12
10 R5OUT
R5
R5IN 5k N.C.
14 EN GND 3
15
26
______________________________________________________________________________________
TOP VIEW
25 1.0F 1.0F
1.0F 19 VCC +5V TO +10V VOLTAGE DOUBLER +5V TO -10V VOLTAGE INVERTER +5V 15 T1IN +5V 14 T2IN N.C. R2IN N.C. T2OUT T1OUT T3OUT T4OUT R3IN R3OUT T5IN N.C. +5V TTL/CMOS INPUTS 37 T3IN +5V 400k T4 400k T5 R1 T5OUT 41 T4OUT 5 400k T3 T3OUT 6 RS-232 OUTPUTS 400k T2 T2OUT 8 1.0F V+ 26
C1+
V-
30 1.0F
400k T1 T1OUT 7
11 10 9 8 7 6 5 4 3 2 1 44 43 42 41 40 39 38 37 36 35 34
N.C. R2OUT T2IN T1IN R1OUT R1IN GND VCC N.C. N.C. N.C.
12 13 14 15 16 17 18 19 20 21 22
MAX240
N.C. SHDN EN T5OUT R4IN R4OUT T4IN T3IN R5OUT R5IN N.C.
R1IN 17 5k
13 R2OUT
R2
R2IN 10 5k
23 24 25 26 27 28 29 30 31 32 33
TTL/CMOS OUTPUTS
3 R3OUT
R3
R3IN 5k
RS-232 INPUTS
Plastic FP
39 R4OUT R4 R4IN 5k 36 R5OUT R5 R5IN 5k 42 EN GND 18 SHDN 43 35 40
______________________________________________________________________________________
27
1 0.1F C1+ 1 V+ 2 C1- 3 C2+ 4 C2- 5 V- 6 T2OUT 7 R2IN 8 16 VCC 15 GND 14 T1OUT
C1+
16 VCC +5V TO +10V VOLTAGE DOUBLER +10V TO -10V VOLTAGE INVERTER +5V 400k
V+
+10V
0.1F
V-
-10V 0.1F
MAX243
13 R1IN 12 R1OUT 11 T1IN 10 T2IN 9 R2OUT TTL/CMOS INPUTS 10 T2IN 11 T1IN +5V
400k
DIP/SO
12 R1OUT TTL/CMOS OUTPUTS 9 R2OUT RECEIVER INPUT -3 V OPEN +3V R1 OUTPUT HIGH HIGH LOW R2 OUTPUT HIGH LOW LOW 5k GND 15 5k R2IN 8 R1IN 13 RS-232 INPUTS
28
______________________________________________________________________________________
TOP VIEW
1F 21 TA4OUT TB4OUT TA3OUT TA2OUT TA1OUT TB1OUT TB2OUT TB3OUT RA4IN RA5IN RB5IN 1F 1F C1+ 23 C124 C2+ 25 C22 TA1OUT 15 TA1IN 2 TA2OUT 16 TA2IN 3 TA3OUT 17 TA3IN 4 TA4OUT 18 TA4IN 9 RA1IN 5k 10 RA1OUT 8 RA2IN 5k 11 RA2OUT 7 RA3IN 5k 12 RA3OUT 6 RA4IN 5k 13 RA4OUT 5 RA5IN 5k 14 RA5OUT +5V 400k +5V +5V 400k +5V +5V 400k +5V 20 VCC +5V TO +10V VOLTAGE DOUBLER
1F
22 V+ 26 V- 1F
44 43 42 41 40
TB1OUT 44 TB1IN 30 TB2OUT 43 TB2IN 29 TB3OUT 42 TB3IN 28 TB4OUT 41 TB4IN 27 RB1IN 36 5k RB1OUT 35 RB2IN 37 5k RB2OUT 34 RB3IN 38 5k RB3OUT 33 RB4IN 39 5k RB4OUT 32 RB5IN 40 5k RB5OUT 31
RA3IN RA2IN RA1IN RA1OUT RA2OUT RA3OUT RA4OUT RA5OUT TA1IN TA2IN TA3IN
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
39 RB4IN 38 RB3IN 37 RB2IN 36 RB1IN 35 RB1OUT 34 RB2OUT 33 RB3OUT 32 RB4OUT 31 RB5OUT 30 TB1IN 29 TB2IN
MAX244
GND
C1+
C1-
C2+
C2-
V+
TA4IN
V-
TB4IN
PLCC
MAX249 FUNCTIONAL DESCRIPTION 10 RECEIVERS 5 A-SIDE RECEIVER 5 B-SIDE RECEIVER 8 TRANSMITTERS 4 A-SIDE TRANSMITTERS 4 B-SIDE TRANSMITTERS NO CONTROL PINS
TB3IN
VCC
GND 19
Figure 20. MAX244 Pin Configuration and Typical Operating Circuit ______________________________________________________________________________________ 29
TOP VIEW
1F 40 VCC ENR TA1IN TA2IN TA3IN TA4IN RA5OUT RA4OUT RA3OUT RA2OUT RA1OUT RA1IN RA2IN RA3IN RA4IN RA5IN TA1OUT TA2OUT TA3OUT TA4OUT GND 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 40 39 38 37 36 35 VCC ENT TB1IN TB2IN TB3IN TB4IN RB5OUT RB4OUT RB3OUT RB2OUT RB1OUT RB1IN RB2IN RB3IN RB4IN RB5IN TB1OUT TB2OUT TB3OUT TB4OUT 9 RA2OUT RB2OUT 31 RB3IN 27 5k RB3OUT 32 RB4IN 26 5k RB4OUT 33 RB5IN 25 5k RB5OUT 34 GND 20 13 RA3IN 5k 10 RA1OUT 12 RA2IN 5k RB1OUT 30 RB2IN 28 5k 11 RA1IN 5k RB1IN 29 5k 18 TA3OUT 4 TA3IN 19 TA4OUT 5 TA4IN 1 ENR +5V 400k TB4IN 35 ENT 39 +5V +5V 400k TB3IN 36 TB4OUT 21 +5V TB3OUT 22 17 TA2OUT 3 TA2IN +5V 400k TB2IN 37 +5V TB2OUT 23 16 TA1OUT 2 TA1IN +5V 400k TB1IN 38 +5V TB1OUT 24
MAX245
34 33 32 31 30 29 28 27 26 25 24 23 22 21
DIP
MAX245 FUNCTIONAL DESCRIPTION 10 RECEIVERS 5 A-SIDE RECEIVERS (RA5 ALWAYS ACTIVE) 5 B-SIDE RECEIVERS (RB5 ALWAYS ACTIVE) 8 TRANSMITTTERS 4 A-SIDE TRANSMITTERS 2 CONTROL PINS 1 RECEIVER ENABLE (ENR) 1 TRANSMITTER ENABLE (ENT)
Figure 21. MAX245 Pin Configuration and Typical Operating Circuit 30 ______________________________________________________________________________________
TOP VIEW
1F 40 VCC +5V +5V 16 TA1OUT 400k 2 TA1IN +5V 17 TA2OUT 400k 3 TA2IN +5V 18 TA3OUT 400k 4 TA3IN +5V 19 TA4OUT 400k 5 TA4IN 1 ENA 11 RA1IN 5k 10 RA1OUT 12 RA2IN 5k 9 RA2OUT 13 RA3IN 5k 8 RA3OUT 14 RA4IN 5k 7 RA4OUT 15 RA5IN 5k 6 RA5OUT GND 20 TB4IN 35 ENB 39 RB1IN 29 5k RB1OUT 30 RB2IN 28 5k RB2OUT 31 RB3IN 27 5k RB3OUT 32 RB4IN 26 5k RB4OUT 33 RB5IN 25 5k RB5OUT 34 +5V TB4OUT 21 TB3IN 36 +5V TB3OUT 22 TB2IN 37 +5V TB2OUT 23 TB1IN 38 TB1OUT 24
ENA TA1IN TA2IN TA3IN TA4IN RA5OUT RA4OUT RA3OUT RA2OUT RA1OUT RA1IN RA2IN RA3IN RA4IN RA5IN TA1OUT TA2OUT TA3OUT TA4OUT GND
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
40 39 38 37 36 35
VCC ENB TB1IN TB2IN TB3IN TB4IN RB5OUT RB4OUT RB3OUT RB2OUT RB1OUT RB1IN RB2IN RB3IN RB4IN RB5IN TB1OUT TB2OUT TB3OUT TB4OUT
MAX246
34 33 32 31 30 29 28 27 26 25 24 23 22 21
DIP
MAX246 FUNCTIONAL DESCRIPTION 10 RECEIVERS 5 A-SIDE RECEIVERS (RA5 ALWAYS ACTIVE) 5 B-SIDE RECEIVERS (RB5 ALWAYS ACTIVE) 8 TRANSMITTERS 4 A-SIDE TRANSMITTERS 4 B-SIDE TRANSMITTERS 2 CONTROL PINS ENABLE A-SIDE (ENA) ENABLE B-SIDE (ENB)
Figure 22. MAX246 Pin Configuration and Typical Operating Circuit ______________________________________________________________________________________ 31
TOP VIEW
1F 1 ENTA ENTA TA1IN TA2IN TA3IN TA4IN RB5OUT RA4OUT RA3OUT RA2OUT RA1OUT ENRA RA1IN RA2IN RA3IN RA4IN TA1OUT TA2OUT TA3OUT TA4OUT GND 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 40 39 38 37 36 35 VCC ENTB TB1IN TB2IN TB3IN TB4IN RB4OUT RB3OUT RB2OUT RB1OUT ENRB RB1IN RB2IN RB3IN RB4IN RB5IN TB1OUT TB2OUT TB3OUT TB4OUT 12 RA1IN 5k 10 RA1OUT 13 RA2IN RB1IN 29 5k RB1OUT 31 RB2IN 28 5k RB2OUT 32 RB3IN 27 5k RB3OUT 33 RB4IN 26 5k RB4OUT 34 ENRB 30 GND 20 5k 19 TA4OUT 400k 5 TA4IN 6 RB5OUT TB4IN 35 RB5IN 25 18 TA3OUT 400k 4 TA3IN +5V +5V TB4OUT 21 TB3IN 36 2 TA1IN +5V 17 TA2OUT 400k 3 TA2IN +5V +5V TB3OUT 22 TB2IN 37 +5V TB2OUT 23 16 TA1OUT 400k TB1IN 38 40 VCC +5V +5V ENTB 39 TB1OUT 24
MAX247
34 33 32 31 30 29 28 27 26 25 24 23 22 21
DIP
5k
MAX247 FUNCTIONAL DESCRIPTION 9 RECEIVERS 4 A-SIDE RECEIVERS 5 B-SIDE RECEIVERS (RB5 ALWAYS ACTIVE) 8 TRANSMITTERS 4 A-SIDE TRANSMITTERS 4 B-SIDE TRANSMITTERS 4 CONTROL PINS ENABLE RECEIVER A-SIDE (ENRA) ENABLE RECEIVER B-SIDE (ENRB) ENABLE RECEIVER A-SIDE (ENTA) ENABLE RECEIVERr B-SIDE (ENTB)
Figure 23. MAX247 Pin Configuration and Typical Operating Circuit 32 ______________________________________________________________________________________
+5V 1F
44 43 42 41 40
V+ V-
22 26 1F
+5V TB1OUT 44
400k 14 TA1IN +5V 2 TA2OUT 400k 15 TA2IN +5V 3 TA3OUT 400k 16 TA3IN +5V 4 TA4OUT 400k 17 TA4IN 8 RA1IN 5k TB4IN 28 RB1IN 37 5k RB1OUT 35 RB2IN 38 5k RB2OUT 34 RB3IN 39 5k RB3OUT 33 RB4IN 40 5k RB4OUT 32 ENRB 36 GND 19 +5V TB4OUT 41 TB3IN 29 +5V TB3OUT 42 TB2IN 30 +5V TB2OUT 43 TB1IN 31
MAX248
GND
C1+
C1-
C2+
ENTA
C2-
ENTB
V+
V-
PLCC
TB4IN
VCC
Figure 24. MAX248 Pin Configuration and Typical Operating Circuit ______________________________________________________________________________________ 33
+5V
1F
44 43 42 41 40
V+ V-
22 26 1F
+5V TB1OUT 44
400k 15 TA1IN +5V 2 TA2OUT 400k 16 TA2IN +5V 3 TA3OUT 400k 17 TA3IN 8 RA1IN 5k 10 RA1OUT 7 RA2IN 5k TB3IN 28 RB1IN 37 5k RB1OUT 35 RB2IN 38 5k RB2OUT 34 RB3IN 39 5k RB3OUT 33 RB4IN 40 5k RB4OUT 32 RB5IN 41 5k RB5OUT 31 ENRB 36 GND 19 +5V TB3OUT 42 TB2IN 29 +5V TB2OUT 43 TB1IN 30
MAX249
GND
C1+
C1-
C2+
C2-
V+
V-
PLCC
TB3IN
ENTA
ENTB
VCC
MAX249 FUNCTIONAL DESCRIPTION 10 RECEIVERS 5 A-SIDE RECEIVERS 5 B-SIDE RECEIVERS 6 TRANSMITTERS 3 A-SIDE TRANSMITTERS 3 B-SIDE TRANSMITTERS 4 CONTROL PINS ENABLE RECEIVER A-SIDE (ENRA) ENABLE RECEIVER B-SIDE (ENRB) ENABLE RECEIVER A-SIDE (ENTA) ENABLE RECEIVER B-SIDE (ENTB)
Figure 25. MAX249 Pin Configuration and Typical Operating Circuit 34 ______________________________________________________________________________________
MAX220MAX249
Package Information
For the latest package outline information, go to www.maxim-ic.com/packages.
Revision History
Pages changed at Rev 15: 25, 8, 9, 36
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
36 __________________Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 (408) 737-7600 2006 Maxim Integrated Products is a registered trademark of Maxim Integrated Products, Inc.
PRODUCT SPECIFICATION
APPLICATIONS
Wireless data communication Alarm and security systems Home Automation Remote control Surveillance Automotive Telemetry Industrial sensors Keyless entry Toys
GENERAL DESCRIPTION
nRF905 is a single-chip radio transceiver for the 433/868/915 MHz ISM band. The transceiver consists of a fully integrated frequency synthesiser, receiver chain with demodulator, a power amplifier, a crystal oscillator and a modulator. The ShockBurstTM feature automatically handles preamble and CRC. Configuration is easily programmable by use of the SPI interface. Current consumption is very low, in transmit only 9mA at an output power of -10dBm, and in receive mode 12.5mA. Built in power down modes makes power saving easily realizable.
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
ORDERING INFORMATION
Type Number nRF905 IC nRF905-EVKIT 433 nRF905-EVKIT 868/915 Description 32L QFN 5x5mm Evaluation kit 433MHz Evaluation kit 868/915MHz Version 1.0 1.0
BLOCK DIAGRAM
DVDD_1V2 (31) VDD (17) VDD (25) VSS (16) VSS (18) VSS (22) VSS (24) VSS (26) VSS (27) VSS (28) VSS (29) VSS (30) VDD (4) VSS (5) VSS (9)
XC1 (14)
IF BBF
SPI interface TX - addr. TX - reg. RX - reg. Config-reg. ShockBurst Demod Dataslicer CRC code/ decode Address decode GFSK filter Manchester encoder/ decoder
Voltage regulators
Crystal oscillator
XC2 (15)
LNA
Frequency Synthesiser
VDD_PA (19)
ANT1 (20)
PA
uPCLK (3)
ANT2 (21)
IREF (23)
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
TABLE OF CONTENTS
Pin Functions..................................................................................................................... 4 Pin Assignment ................................................................................................................. 5 Electrical Specifications.................................................................................................... 6 Current Consumption........................................................................................................ 8 Modes of Operation .......................................................................................................... 9 5.1 Active Modes ........................................................................................................... 9 5.2 Power Saving Modes................................................................................................ 9 5.3 nRF ShockBurst Mode ......................................................................................... 9 5.4 Typical ShockBurstTM TX ...................................................................................... 10 5.5 Typical ShockBurstTM RX...................................................................................... 12 5.6 Power Down Mode................................................................................................. 14 5.7 Standby Mode......................................................................................................... 14 6 Device Configuration...................................................................................................... 15 6.1 SPI Register Configuration .................................................................................... 15 6.2 SPI Instruction Set.................................................................................................. 16 6.3 SPI Timing ............................................................................................................. 17 6.4 RF Configuration Register Description............................................................... 19 6.5 Register Contents ................................................................................................... 20 7 Important Timing Data.................................................................................................... 21 7.1 Device Switching Times ........................................................................................ 21 7.2 ShockBurstTM TX timing........................................................................................ 21 7.3 ShockBurstTM RX timing........................................................................................ 22 7.4 Preamble................................................................................................................. 22 7.5 Time On Air ........................................................................................................... 23 8 Peripheral RF Information .............................................................................................. 24 8.1 Crystal Specification .............................................................................................. 24 8.2 External Clock Reference....................................................................................... 24 8.3 Microprocessor Output Clock ................................................................................ 24 8.4 Antenna Output ...................................................................................................... 25 8.5 Output Power Adjustment ...................................................................................... 25 8.6 Modulation ............................................................................................................. 25 8.7 Output Frequency................................................................................................... 26 8.8 PCB Layout and Decoupling Guidelines ............................................................... 27 9 nRF905 features .............................................................................................................. 28 9.1 Carrier Detect. ........................................................................................................ 28 9.2 Address Match........................................................................................................ 28 9.3 Data Ready ............................................................................................................. 28 9.4 Auto Retransmit ..................................................................................................... 29 9.5 RX Reduced Power Mode...................................................................................... 29 10 Package Outline .......................................................................................................... 30 10.1 Package marking .................................................................................................... 31 11 Application Examples................................................................................................. 32 11.1 Differential Connection to a Loop Antenna ........................................................... 32 11.2 PCB Layout Example; Differential Connection to a Loop Antenna ...................... 33 11.3 Single ended connection to 50 antenna ............................................................... 34 11.4 PCB Layout Example; Single Ended Connection to 50 Antenna ....................... 36 12 Absolute Maximum Ratings ....................................................................................... 37 13 Glossary of Terms....................................................................................................... 38 14 Definitions .................................................................................................................. 39 1 2 3 4 5
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
1
Pin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
PIN FUNCTIONS
Name TRX_CE PWR_UP uPCLK VDD VSS CD AM DR VSS MISO MOSI SCK CSN XC1 XC2 VSS VDD VSS VDD_PA ANT1 ANT2 VSS IREF VSS VDD VSS VSS VSS VSS VSS DVDD_1V2 TX_EN Pin function Digital input Digital input Clock output Power Power Digital output Digital output Digital output Power SPI - interface SPI - interface SPI - Clock SPI - enable Analog Input Analog Output Power Power Power Power output RF RF Power Analog Input Power Power Power Power Power Power Power Power Digital input Description Enables chip for receive and transmit Power up chip Output clock, divided crystal oscillator full-swing clock Power supply (+3V DC) Ground (0V) Carrier Detect Address Match Receive and transmit Data Ready Ground (0V) SPI output SPI input SPI clock SPI enable, active low Crystal pin 1/ External clock reference pin Crystal pin 2 Ground (0V) Power supply (+3V DC) Ground Positive supply (1.8V) to nRF905 power amplifier Antenna interface 1 Antenna interface 2 Ground (0V) Reference current Ground (0V) Power supply (+3V DC) Ground (0V) Ground (0V) Ground (0V) Ground (0V) Ground (0V) Low voltage positive digital supply output for de-coupling TX_EN=1TX mode, TX_EN=0RX mode
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
PIN ASSIGNMENT
TX_EN DVDD_1V2 VSS VSS VSS VSS VSS VDD
32
TRX_CE
31
30
29
28
27
26
25 24
VSS
1 2 3 4 5 6 7 8 9
VSS
PWR_UP
nRF905
32L QFN 5x5
23 22 21 20 19 18 17
IREF
uPCLK
VSS
VDD
ANT2
VSS
ANT1
CD
VDD_PA
AM
VSS
DR
VDD
10
MISO
11
MOSI
12
SCK
13
CSN
14
XC1
15
XC2
16
VSS
Figure 2 nRF905 pin assignment (top view) for a 32L QFN 5x5 package.
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
ELECTRICAL SPECIFICATIONS
Notes Min.
1.9 -40 0.7VDD VSS 1) VDD-0.3 VSS 2) 3) 4) 5) 6) 7) 8) 430 4 42 100 12.5 2.5 20 928 20 58
Conditions: VDD = +3V VSS = 0V, TEMP = -40C to +85C (typical +27C)
Typ.
Max.
3.6 85 VDD 0.3VDD 5 10 VDD 0.3
Units
V C V V pF nA V V A A A A MHz MHz kHz kbps kHz kHz dBm dBm dBm dBm kHz kHz kHz kHz dBc dBc mA mA mA dBm dBm dB dB dB dB dB dB dB dB dB dB dB
Digital input/output
HIGH level input voltage LOW level input voltage Pin capacitance Pin leakage current HIGH level output voltage (IOH=-0.5mA) LOW level output voltage (IOL=0.5mA)
General RF conditions
Operating frequency Crystal frequency Frequency deviation Data rate Channel spacing for 433MHz band Channel spacing for 868/915MHz band 50 50 100 200 10 6 -2 -10 173 222 238 313 -27 -54 30 9 12.5 -100 0 11) 11) 11) 11) 11) 11) 11) 11) 11) 11) 11) 13 -7 -16 -40 -50 -63 -70 -65 -69 -67 -36
Transmitter operation
Output power 10dBm setting Output power 6dBm setting Output power 2dBm setting Output power -10dBm setting -16dBc bandwidth for modulated carrier -24dBc bandwidth for modulated carrier -32dBc bandwidth for modulated carrier -36dBc bandwidth for modulated carrier 1st adjacent channel transmit power 2nd adjacent channel transmit power Supply current @ 10dBm output power Supply current @ -10dBm output power 9) 9) 9) 9) 8) 8) 8) 8) 10) 10) 7 3 -6 -14 11 9 2 -6
Receiver operation
Supply current in receive mode Sensitivity at 0.1%BER Maximum received signal C/I Co-channel 1st adjacent channel selectivity C/I 200kHz 2nd adjacent channel selectivity C/I 400kHz Blocking at +1MHz Blocking at -1MHz Blocking at -2MHz Blocking at +5MHz Blocking at -5MHz Blocking at +10MHz Blocking at -10MHz Image rejection
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
1) Max value determined by design and characterization testing. 2) Output frequency is 4MHz load of external clock pin is 5pF, Crystal is 4MHz. 3) Crystal is 4MHz. 4) Pin voltages are VSS or VDD. 5) Chip in power down, SPI_SCK frequency is 1MHz. 6) Operates in the 433, 868 and 915 MHz ISM band. 7) The crystal frequency may be chosen from 5 different values (4, 8, 12, 16, and 20MHz) 8) Data is Manchester-encoded before GFSK modulation. 9) Optimum load impedance, please see peripheral RF information. 10) Channel width and channel spacing is 200kHz. 11) Channel Level +3dB over sensitivity, interfering signal a standard CW, image lies 2MHz above wanted.
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
CURRENT CONSUMPTION
TYPICAL OUTPUT CURRENT CLOCK FREQ. [MHZ] Power Down 16 OFF 2.5 uA Standby 4 OFF 12 uA Standby 8 OFF 25 uA Standby 12 OFF 27 uA Standby 16 OFF 32 uA Standby 20 OFF 46 uA Standby 4 0.5 110 uA Standby 8 0.5 125 uA Standby 12 0.5 130 uA Standby 16 0.5 135 uA Standby 20 0.5 150 uA Standby 4 1 130 uA Standby 8 1 145 uA Standby 12 1 150 uA Standby 16 1 155 uA Standby 20 1 170 uA Standby 4 2 170 uA Standby 8 2 185 uA Standby 12 2 190 uA Standby 16 2 195 uA Standby 20 2 210 uA Standby 4 4 260 uA Standby 8 4 275 uA Standby 12 4 280 uA Standby 16 4 285 uA Standby 20 4 300 uA Rx @ 433 16 OFF 12.2 mA Rx @ 868/915 16 OFF 12.8 mA Reduced Rx 16 OFF 10.5 mA Tx @ 10dBm 16 OFF 30 mA Tx @ 6dBm 16 OFF 20 mA Tx @ -2dBm 16 OFF 14 mA Tx @ -10dBm 16 OFF 9 mA Conditions: VDD = 3.0V, VSS = 0V, TA = 27C, Load capacitance of external clock = 13pF, Crystal load capacitance = 12pF MODE CRYSTAL FREQ. [MHZ]
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
MODES OF OPERATION
The nRF905 has two active (RX/TX) modes and two power-saving modes 5.1 Active Modes ShockBurst RX ShockBurst TX Power Saving Modes Power down and SPI - programming Standby and SPI - programming
5.2
The nRF905 mode is decided by the settings of TRX_CE, TX_EN and PWR_UP.
PWR_UP 0 1 1 1 1 TRX_CE X 0 X 1 1 TX_EN X X 0 0 1 Operating Mode Power down and SPI programming Standby and SPI programming Read data from RX register Radio Enabled - ShockBurstTM RX Radio Enabled - ShockBurstTM TX
5.3
The nRF905 uses the Nordic Semiconductor ASA ShockBurst feature. ShockBurstTM makes it possible to use the high data rate offered by the nRF905 without the need of a costly, high-speed micro controller (MCU) for data processing/clock recovery. By placing all high speed signal processing related to RF protocol on-chip, the nRF905 offers the application micro controller a simple SPI interface, the data rate is decided by the interface-speed the micro controller itself sets up. By allowing the digital part of the application to run at low speed, while maximizing the data rate on the RF link, the nRF905 ShockBurst mode reduces the average current consumption in applications. In ShockBurstTM RX, Address Match (AM) and Data Ready (DR) notifies the MCU when a valid address and payload is received respectively. In ShockBurstTM TX, the nRF905 automatically generates preamble and CRC. Data Ready (DR) notifies the MCU that the transmission is completed. All together, this means reduced memory demand in the MCU resulting in a low cost MCU, as well as reduced software development time.
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
5.4
Typical ShockBurstTM TX 1. When the application MCU has data for a remote node, the address of the receiving node (TX-address) and payload data (TX-payload) are clocked into nRF905 via the SPI interface. The application protocol or MCU sets the speed of the interface. 2. MCU sets TRX_CE and TX_EN high, this activates a nRF905 ShockBurst transmission. 3. nRF905 ShockBurst: Radio is automatically powered up. Data packet is completed (preamble added, CRC calculated). Data packet is transmitted (100kbps, GFSK, Manchester-encoded). Data Ready is set high when transmission is completed. 4. If AUTO_RETRAN is set high, the nRF905 continuously retransmits the packet until TRX_CE is set low. 5. When TRX_CE is set low, the nRF905 finishes transmitting the outgoing packet and then sets itself into standby mode.
If TX_EN is set low while TRX_CE is kept high, the nRF905 finishes transmitting the outgoing packet and then enter RX-mode in the channel already programmed in the RF-CONFIG register. The ShockBurstTM mode ensures that a transmitted packet that has started always finishes regardless of what TRX_EN and TX_EN is set to during transmission. The new mode is activated when the transmission is completed. Please see subsequent chapters for detailed timing For test purposes such as antenna tuning and measuring output power it is possible to set the transmitter so that a constant carrier is produced. To do this TRX_CE must be maintained high instead of being pulsed. In addition Auto Retransmit should be switched off. After the burst of data has been sent then the device will continue to send the unmodulated carrier.
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
Data Package
SPI - programming uController loading ADDR and PAYLOAD data (Configuration register if changes since last TX/RX) ADDR PAYLOAD
TRX_CE = HI ?
NO
nRF ShockBurst TX Generate CRC and preamble Sending package DR is set high when completed DR is set low after preamble Preamble ADDR PAYLOAD CRC
NO
TRX_CE = HI ?
YES
Figure 3 Flowchart ShockBurstTM transmit of nRF905. NB: DR is set low under the following conditions after it has been set high: If TX_EN is set low If PWR_UP is set low
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
5.5
Typical ShockBurstTM RX 1. ShockBurstTM RX is selected by setting TRX_CE high and TX_EN low. 2. After 650s nRF905 is monitoring the air for incoming communication. 3. When the nRF905 senses a carrier at the receiving frequency, Carrier Detect (CD) pin is set high. 4. When a valid address is received, Address Match (AM) pin is set high. 5. When a valid packet has been received (correct CRC found), nRF905 removes the preamble, address and CRC bits, and the Data Ready (DR) pin is set high. 6. MCU sets the TRX_CE low to enter standby mode (low current mode). 7. MCU can clock out the payload data at a suitable rate via the SPI interface. 8. When all payload data is retrieved, nRF905 sets Data Ready (DR) and Address Match (AM) low again. 9. The chip is now ready for entering ShockBurstTM RX, ShockBurstTM TX or power down mode.
If TX_EN is set high while TRX_CE is kept high, the nRF905 would enter ShockBurstTMTX and start a transmission according to the present contents in the SPIregisters. If TRX_CE or TX_EN is changed during an incoming packet, the nRF905 changes mode immediately and the packet is lost. However, if the MCU is sensing the Address Match (AM) pin, it knows when the chip is receiving an incoming packet and can therefore decide whether to wait for the Data Ready (DR) signal or enter a different mode. To avoid spurious address matches it is recommended that the address length be 24 bits or higher in length. Small addresses such as 8 or 16 bits can often lead to statistical failures due to the address being repeated as part of the data packet. This can be avoided by using a longer address. Each byte within the address should be unique. Repeating bytes within the address reduces the effectiveness of the address and increases its susceptibility to noise hence increasing the packet error rate. The address should also have several level shifts (i.e. 10101100) to reduce the statistical effect of noise and hence reduce the packet error rate.
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
NO
Data Package
NO
Preamble
ADDR
PAYLOAD
CRC
Receiving data
AM is set low
NO
Correct CRC? YES DR high is set high DR and AM are set low DR and AM are set low
PAYLOAD
TRX_CE = HI ?
YES
RX Remains On
NO
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
5.6 Power Down Mode In power down the nRF905 is disabled with minimal current consumption, typically less than 2.5A. When entering this mode the device is not active which will minimize average current consumption and maximizing battery lifetime. The configuration word content is maintained during power down.
5.7 Standby Mode Standby mode is used to minimize average current consumption while maintaining short start up times to ShockBurstTM RX and ShockBurstTM TX. In this mode part of the crystal oscillator is active. Current consumption is dependent on crystal frequency, Ex: IDD= 12A @4MHz and IDD =46A @20MHz. If the uP-clock (pin 3) of nRF905 is enabled, current consumption increases and is dependent on the load capacitance and frequency. The configuration word content is maintained during standby.
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
DEVICE CONFIGURATION
All configuration of the nRF905 is via the SPI interface. The interface consists of five registers; a SPI instruction set is used to decide which operation shall be performed. The SPI interface can be activated in any mode however Nordic Semiconductor ASA recommends the chip be in standby or power down mode. 6.1 SPI Register Configuration The SPI interface consists of five internal registers. A register read-back mode is implemented to allow verification of the register contents.
MISO MOSI SCK CSN EN I/O-reg DTA CLK STATUS-REGISTER
Figure 5 SPI interface and the five internal registers. Status Register Register contains status of Data Ready (DR) and Address Match (AM). RF Configuration Register Register contains transceiver setup information such as frequency and output power ext. TX Address Register contains address of target device. How many bytes used is set in the configuration register. TX Payload Register containing the payload information to be sent in a ShockBurst How many bytes used is set in the configuration register. RX Payload Register containing the payload information derived from a received valid ShockBurst TM packet. How many bytes used is set in the configuration register. Valid data in the RX-Payload register is indicated with a high Date Ready (DR) signal.
TM
packet.
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
6.2 SPI Instruction Set The available commands to be used on the SPI interface is shown below. Whenever CSN is set low the interface expects an instruction. Every new instruction must be started by a high to low transition on CSN.
Instruction set for the nRF905 SPI Serial Interface Instruction Operation Format W_CONFIG 0000 AAAA Write Configuration-register. AAAA indicates which byte (WC) the write operation is to be started from. Number of bytes depends on start address AAAA. R_CONFIG 0001 AAAA Read Configuration-register. AAAA indicates which byte (RC) the read operation is to be started from. Number of bytes depends on start address AAAA. W_TX_PAYLOAD 0010 0000 Write TX-payload: 1 32 bytes. A write operation will (WTP) always start at byte 0. R_TX_PAYLOAD 0010 0001 Read TX-payload: 1 32 bytes. A read operation will (RTP) always start at byte 0. W_TX_ADDRESS 0010 0010 Write TX-address: 1 4 bytes. A write operation will (WTA) always start at byte 0. R_TX_ADDRESS 0010 0011 Read TX-address: 1 4 bytes. A read operation will (RTA) always start at byte 0 R_RX_PAYLOAD 0010 0100 Read RX-payload: 1 32 bytes. A read operation will (RRP) always start at byte 0. CHANNEL_CONFIG 1000 pphc Special command for fast setting of CH_NO, (CC) cccc cccc HFREQ_PLL and PA_PWR in the CONFIGURATION REGISTER. CH_NO= ccccccccc, HFREQ_PLL = h PA_PWR = pp STATUS REGISTER N.A. The content of the status-register (S[7:0]) will always be read to MISO after a high to low transition on CSN as shown in Figure 6 and 7. Instruction Name
Table 7 Instruction set for the nRF905 SPI interface. A read or a write operation may operate on a single byte or on a set of succeeding bytes from a given start address defined by the instruction. When accessing succeeding bytes one will read or write MSB of the byte with the smallest byte number first.
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
6.3 SPI Timing The interface supports SPI mode 0. SPI operation and timing is given in Figure 6 to Figure 8 and in Table 8. The device must be in one of the power saving modes for the configuration registers to be read or written to.
CSN SCK MOSI MISO
C7 C6 C5 C4 C3 C2 C1 C0
S7
S6
S5
S4
S3
S2
S1
S0
D7
D6
D5
D4
D3
D2
D1
D0
D1 5
D1 4
D1 3
D1 2
D1 1
D1 0
D9
D8
S7
S6
S5
S4
S3
S2
S1
S0
Tcwh
CSN
Tcc
SCK
Tch
Tcl
Tcch
Tdh Tdc
MOSI
C7 C6 C0
Tcsd
MISO
S7
Tcd
S0
Tcdz
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
PARAMETER Data to SCK Setup SCK to Data Hold CSN to Data Valid SCK to Data Valid SCK Low Time SCK High Time SCK Frequency SCK Rise and Fall CSN to SCK Setup SCK to CSN Hold CSN Inactive time CSN to Output High Z
SYMBOL Tdc Tdh Tcsd Tcd Tcl Tch Tsck Tr,Tf Tcc Tcch Tcwh Tcdz
MIN 5 5
MAX
45 45 40 40 DC 5 5 500 45
10 100
UNITS ns ns ns ns ns ns MHz ns ns ns ns ns
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
6.4
TX_AFW
RX_PW
TX_PW
32 2
UP_CLK_ EN XOF
CRC_EN
CRC_ MODE
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
6.5
Byte # 0 1 2 3 4 5 6 7 8 9
Register Contents
RF-CONFIG_REGISTER (R/W) Content bit[7:0], MSB = bit[7] CH_NO[7:0] bit[7:6] not used, AUTO_RETRAN, RX_RED_PWR, PA_PWR[1:0], HFREQ_PLL, CH_NO[8] bit[7] not used, TX_AFW[2:0] , bit[3] not used, RX_AFW[2:0] bit[7:6] not used, RX_PW[5:0] bit[7:6] not used, TX_PW[5:0] RX_ADDRESS (device identity) byte 0 RX_ADDRESS (device identity) byte 1 RX_ADDRESS (device identity) byte 2 RX_ADDRESS (device identity) byte 3 CRC_MODE,CRC_EN, XOF[2:0], UP_CLK_EN, UP_CLK_FREQ[1:0] TX_PAYLOAD (R/W) Content bit[7:0], MSB = bit[7] TX_PAYLOAD[7:0] TX_PAYLOAD[15:8] TX_PAYLOAD[247:240] TX_PAYLOAD[255:248] TX_ADDRESS (R/W) Content bit[7:0], MSB = bit[7] TX_ADDRESS[7:0] TX_ADDRESS[15:8] TX_ADDRESS[23:16] TX_ADDRESS[31:24] RX_PAYLOAD (R) Content bit[7:0], MSB = bit[7] RX_PAYLOAD[7:0] RX_PAYLOAD[15:8] RX_PAYLOAD[247:240] RX_PAYLOAD[255:248] STATUS_REGISTER (R) Content bit[7:0], MSB = bit[7]
AM, bit [6] not used, DR, bit [0:4] not used
Init value
0110_1100 0000_0000 0100_0100 0010_0000 0010_0000 E7 E7 E7 E7 1110_0111
Byte # 0 1 30 31
Init value
X X X X X X
Byte # 0 1 2 3
Init value
E7 E7 E7 E7
Byte # 0 1
Init value
X X X X X X
30 31
Byte # 0
Init value
X
Table 10 RF register contents. The length of all registers is fixed. However, the bytes in TX_PAYLOAD, RX_PAYLOAD, TX_ADDRESS and RX_ADDRESS used in ShockBurst TM RX/TX are set in the configuration register. Register content is not lost when the device enters one of the power saving modes.
Main office: Nordic Semiconductor ASA Revision: 1.3 - Vestre Rosten 81, N-7075 Tiller, Norway Page 20 of 41 - Phone +4772898900 -Fax +4772898989 December 2005
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
The following timing must be obeyed during nRF905 operation. 7.1 Device Switching Times
nRF905 timing PWR_DWN ST_BY mode STBY TX ShockBurst STBY RX ShockBurst RX ShockBurst TX ShockBurst TX ShockBurst RX ShockBurst Notes to table: 1) Max. 3 ms 650 s 650 s 550 1s 550 1s
RX to TX or TX to RX switching is available without re-programming of the RF configuration register. The same frequency channel is maintained.
7.2
M OSI
CSN
PW R_U P
TX_EN
TRX_CE
TX DATA
T IM E P r o g r a m m in g o f C o n f i g u r a ti o n R e g is t e r a n d T X D a ta R e g is te r T0 T1 T2 T r a n s m it t e d D a t a 1 0 0 k b p s M a n c h e s te r E n c o d e d T3
T0 T1 T2 T3
= = = =
R a d io E n a b l e d T 0 + 1 0 u S M in im u m T R X _ C E p u ls e T 0 + 6 5 0 u S . S t a r t o f T X D a t a t r a n s m is s io n E n d o f D a ta P a c k e t, e n te r S ta n d b y m o d e
After a data packet has finished transmitting the device will automatically enter Standby mode and wait for the next pulse of TRX_CE. If the Auto Re-Transmit function is enabled the data packet will continue re-sending the same data packet until TRX_CE is set low.
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
7.3
PW R _U P
ShockBurstTM RX timing
TX_EN
TRX_CE
RX DATA
CD
AM
DR
T IM E
650uS 6 5 0 u S to e n te r R X m o d e fro m T R X _ C E b e in g s e t h ig h .
T0 T T T T 0 1 2 3 = = = =
T1
T2
T3
R e c e iv e r E n a b l e d - L is t e n in g f o r D a t a C a r r ie r D e t e c t f in d s a c a r r ie r A M - C o rre c t A d d re s s F o u n d D R - D a t a p a c k e t w it h c o r r e c t A d d r e s s / C R C
Figure 10 Timing diagram for standby to receiving. After the Data Ready (DR) has been set high a valid data packet is available in the RX data register. This may be clocked out in RX mode or standby mode. After the data has been clocked out via the SPI interface the Data Ready (DR) and Address Match (AM) pins are reset to low. The RX register is reset if the PWR_UP pin is taken low or if the device is switched into TX mode i.e. TXEN is taken high. This will also results in the Data Ready(DR) and Address Match (AM) pins being reset to low.
7.4 Preamble In each data-packet transmitted by the nRF905 a preamble is added automatically. The preamble is a predefined bit-sequence used to adjust the receiver for optimal performance. A ten-bit sequence is used as preamble in nRF905. The length of the preamble, tpreamble, is then 200s.
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
7.5 Time On Air The time-on-air is the sum of the radio start-up time and the data-packet length. The length of the preamble, address field, payload and CRC-checksum give the datapacket length while the radio start-up time is given in Table 11. While preamble length and start-up time are fixed the user sets the other parameters in the RFconfiguration register. The below equation shows how to calculate TOA
TOA = t startup + t preamble + N address + N payload + N CRC BR
tstartup and tpreamble are RF-start-up time and preamble time respectively. Naddress, Npayload and NCRC are numbers of bits in the address, payload and CRC-checksum while BR is the bitrate, which is equal to 50kbps.
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
PERIPHERAL RF INFORMATION
8.1 Crystal Specification Tolerance includes initially accuracy and tolerance over temperature and aging.
Frequency 4MHz 8MHz 12MHz 16MHz 20MHz CL 8pF 16pF 8pF 16pF 8pF 16pF 8pF 16pF 8pF 16pF ESR 150 100 100 100 100 C0max 7.0pF 7.0pF 7.0pF 7.0pF 7.0pF Tolerance @ 868/915 MHz 30ppm 30ppm 30ppm 30ppm 30ppm Tolerance @ 433 MHz 60ppm 60ppm 60ppm 60ppm 60ppm
Table 12 Crystal specification of nRF905. To achieve a crystal oscillator solution with low power consumption and fast start-up time, it is recommended to specify the crystal with a low value of crystal load capacitance. Specifying a lower value of crystal parallel equivalent capacitance, Co=1.5pF is also good, but this can increase the price of the crystal itself. Typically Co=1.5pF at a crystal specified for Co_max=7.0pF. The crystal load capacitance, CL, is given by:
CL = C1 'C 2 ' , C1 '+C 2 ' where C1 ' = C1 + C PCB1 + C I 1 and C 2 ' = C 2 + C PCB 2 + C I 2
C1 and C2 are 0603 SMD capacitors as shown in the application schematics. CPCB1 and CPCB2 are the layout parasitic on the circuit board. CI1 and CI2 are the capacitance seen into the XC1 and XC2 pin respectively; the value is typical 1pF. 8.2 External Clock Reference An external reference clock, such as a MCU clock, may be used instead of a crystal. The clock signal should be applied directly to the XC1 pin, the XC2 pin can be left high impedance. When operating with an external clock instead of a crystal the clock must be applied in standby mode to achieve low current consumption. If the device is set into standby mode with no external clock or crystal then the current consumption will increase up to a maximum of 1mA. 8.3 Microprocessor Output Clock By default a microprocessor clock output is provided. Providing an output clock will increase the current consumption in standby mode. The current consumption in standby will depend on frequency and load of external crystal, frequency of output clock and capacitive load of the provided output clock. Typical current consumption values are found in Table 5.
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
8.4 Antenna Output The ANT1 & ANT2 output pins provide a balanced RF output to the antenna. The pins must have a DC path to VDD_PA, either via a RF choke or via the center point in a dipole antenna. The load impedance seen between the ANT1/ANT2 outputs should be in the range 200-700. The optimum differential load impedance at the antenna ports is given as: 900MHz 430MHz 225+j210 300+j100
A low load impedance (for instance 50) can be obtained by fitting a simple matching network or a RF transformer (balun). Further information regarding balun structures and matching networks may be found in the Application Examples chapter. 8.5 Output Power Adjustment The power amplifier in nRF905 can be programmed to four different output power settings by the configuration register. By reducing output power, the total TX current is reduced.
Power setting RF output power DC current consumption
00 -10 dBm 9.0 mA 01 -2 dBm 14.0 mA 10 6 dBm 20.0 mA 11 10 dBm 30.0 mA Conditions: VDD = 3.0V, VSS = 0V, TA = 27C, Load impedance = 400 .
8.6 Modulation The modulation of nRF905 is Gaussian Frequency Shift Keying (GFSK) with a datarate of 100kbps. Deviation is 50kHz. GFSK modulation results in a more bandwidth effective transmission-link compared with ordinary FSK modulation. The data is internally Manchester encoded (TX) and Manchester decoded (RX). That is, the effective symbol-rate of the link is 50kbps. By using internally Manchester encoding, no scrambling in the microcontroller is needed.
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
8.7 Output Frequency The operating RF-frequency of nRF905 is set in the configuration register by CH_NO and HFREQ_PLL. The operating frequency is given by: f OP = (422.4 + (CH _ NO / 10)) (1 + HFREQ _ PLL) MHz When HFREQ_PLL is 0 the frequency resolution is 100kHz and when it is 1 the resolution is 200kHz. The application operating frequency has to be chosen to apply with the Short Range Devise regulation in the area of operation.
Operating frequency 430.0 MHz 433.1 MHz 433.2 MHz 434.7 MHz HFREQ_PLL [0] [0] [0] [0] CH_NO [001001100] [001101011] [001101100] [001111011]
862.0 MHz 868.2 MHz 868.4 MHz 869.8 MHz 902.2 MHz 902.4 MHz 927.8 MHz
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
8.8 PCB Layout and Decoupling Guidelines nRF905 is an extremely robust RF device due to internal voltage regulators and requires the minimum of RF layout protocols. However the following design rules should still be incorporated into the layout design. A PCB with a minimum of two layers including a ground plane is recommended for optimum performance. The nRF905 DC supply voltage should be decoupled as close as possible to the VDD pins with high performance RF capacitors. It is preferable to mount a large surface mount capacitor (e.g. 4.7F tantalum) in parallel with the smaller value capacitors. The nRF905 supply voltage should be filtered and routed separately from the supply voltages of any digital circuitry. Long power supply lines on the PCB should be avoided. All device grounds, VDD connections and VDD bypass capacitors must be connected as close as possible to the nRF905 IC. For a PCB with a topside RF ground plane, the VSS pins should be connected directly to the ground plane. For a PCB with a bottom ground plane, the best technique is to place via holes as close as possible to the VSS pins. A minimum of one via hole should be used for each VSS pin. Full swing digital data or control signals should not be routed close to the crystal or the power supply lines. A fully qualified RF-layout for the nRF905 and its surrounding components, including antennas and matching networks, can be downloaded from www.nordicsemi.no.
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
nRF905 FEATURES
9.1 Carrier Detect. When the nRF905 is in ShockBurst TM RX, the Carrier Detect (CD) pin is set high if a RF carrier is present at the channel the device is programmed to. This feature is very effective to avoid collision of packets from different transmitters operating at the same frequency. Whenever a device is ready to transmit it could first be set into receive mode and sense whether or not the wanted channel is available for outgoing data. This forms a very simple listen before transmit protocol. Operating Carrier Detect (CD) with Reduced RX Power mode is an extremely power efficient RF system. Typical Carrier Detect level (CD) is typically 5dB lower than sensitivity, i.e. if sensitivity is 100dBm then the Carrier Detect function will sense a carrier wave as low as 105dBm. Below 105dBm the Carrier Detect signal will be low, i.e. 0V. Above 95dBm the Carrier Detect signal will be high, i.e. Vdd. Between approximately -95 to -105 the Carrier Detect Signal will toggle. 9.2 Address Match When the nRF905 is in ShockBurst TM RX mode, the Address Match (AM) pin is set high as soon as an incoming packet with an address that is identical with the devices own identity is received. With the Address Match pin the controller is alerted that the nRF905 is receiving data actually before the Data Ready (DR) signal is set high. If the Data Ready (DR) pin is not set high i.e. the CRC is incorrect then the Address Match (AM) pin is reset to low at the end of the received data packet. This function can be very useful for an MCU. If Address Match (AM) is high then the MCU can make a decision to wait and see if Data Ready (DR) will be set high indicating a valid data packet has been received or ignore that a possible packet is being received and switch modes. 9.3 Data Ready The Data Ready (DR) signal makes it possible to largely reduce the complexity of the MCU software program. In ShockBurst TM TX, the Data Ready (DR) signal is set high when a complete packet is transmitted, telling the MCU that the nRF905 is ready for new actions. It is reset to low at the start of a new packet transmission or when switched to a different mode i.e. receive mode or standby mode. In ShockBurst TM TX Auto Retransmit the Data Ready (DR) signal is set high at the beginning of the pre-amble and is set low at the end of the preamble. The Data Ready (DR) signal therefore pulses at the beginning of each transmitted data packet. In ShockBurst TM RX, the signal is set high when nRF905 has received a valid packet, i.e. a valid address, packet length and correct CRC. The MCU can then retrieve the payload via the SPI interface. The Data Ready (DR) pin is reset to low once the data has been clocked out of the data buffer or the device is switched to transmit mode.
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
9.4 Auto Retransmit One way to increase system reliability in a noisy environment or in a system without collision control is to transmit a packet several times. This is easily accomplished with the Auto Retransmit feature in nRF905. By setting the AUTO_RETRAN bit to 1 in the configuration register, the circuit keeps sending the same data packet as long as TRX_CE and TX_EN are high. As soon as TRX_CE is set low the device will finish sending the packet it is currently transmitting and then return to standby mode. 9.5 RX Reduced Power Mode To maximize battery lifetime in application where the nRF905 high sensitivity is not necessary; nRF905 offers a built in reduced power mode. In this mode, the receive current consumption reduces from 12.5mA to only 10.5mA. The sensitivity is reduced to typical 85dBm, 10dB. Some degradation of the nRF905 blocking performance should be expected in this mode. The reduced power mode is an excellent option when using Carrier Detect to sense if the wanted channel is available for outgoing data.
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
10 PACKAGE OUTLINE
nRF905 uses the QFN 32L 5x5 green package with a mat tin finish. Dimensions are in mm. Recommended soldering reflow profile can be found in application note nAN400-08, QFN soldering reflow guidelines, www.nordicsemi.no.
+
Package Type QFN32 (5x5 mm) A 0.8 A1 0.0 A2 0.65 b 0.18 0.23 0.3 D E e J 3.2 3.3 3.4 K 3.2 3.3 3.4 L 0.3 0.4 0.5
5 BSC
5 BSC
0.5 BSC
0.9
0.05
0.69
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
B X n R F D D D D D D Y Y W W L L
Figure 12 nRF905 package marking layout Abbreviations: DDDDDD Product number, e.g. 905 B Build Code, i.e. unique code for silicon revision, production site, package type and test platform X "X" grade, i.e. Engineering Samples (optional) YY 2 digit Year number WW 2 digit Week number LL 2 letter wafer lot number code
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
11 APPLICATION EXAMPLES
11.1 Differential Connection to a Loop Antenna
aaaaaaaa VDD C7 10nF 0603 C5 33pF 0603 C6 4.7nF 0603
32 31 30 29 28 27 26 25
TXEN TRX_C E PWR_UP uPCLK aaaaaaaa VDD CD AM DR SPI_MISO SPI_MOSI SPI_SC K SPI_C SN
1 2 3 4 5 6 7 8
nRF 905
U1 nRF905
Description
NP0 ceramic chip capacitor, (Crystal oscillator) NP0 ceramic chip capacitor, (Crystal oscillator) NP0 ceramic chip capacitor, (PA supply decoupling) X7R ceramic chip capacitor, (PA supply decoupling) NP0 ceramic chip capacitor, (Supply decoupling) X7R ceramic chip capacitor, (Supply decoupling) X7R ceramic chip capacitor, (Supply decoupling) NP0 ceramic chip capacitor, (Supply decoupling) NP0 ceramic chip capacitor, (Antenna tuning) NP0 ceramic chip capacitor, (Antenna tuning) NP0 ceramic chip capacitor, (Antenna tuning) NP0 ceramic chip capacitor, (Antenna tuning) NP0 ceramic chip capacitor, (Antenna tuning) 0.1W chip resistor, (Crystal oscillator bias) 0.1W chip resistor, (Reference bias) nRF905 Transceiver Crystal, CL = 12pF
Size
0603 0603 0603 0603 0603 0603 0603 0603 0603 0603 0603 0603 0603 0603 0603 QFN32L/5x5 LxWxH = 4.0x2.5x0.8
Value
22 22 180 3.3 33 4.7 10 33 3.9 6.8 4.7 27 27 1 22 16
Tol.
5% 5% 5% 10% 5% 10% 10% 5% 0.1 0.1 0.1 5% 5% 5% 1% 60ppm
Units
pF pF pF nF pF nF nF pF pF pF pF pF pF M k MHz
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
11.2 PCB Layout Example; Differential Connection to a Loop Antenna Figure 14 shows a PCB layout example for the application schematic in Figure 13. A double-sided FR-4 board of 1.6mm thickness is used. This PCB has a ground plane on the bottom layer. Additionally, there are ground areas on the component side of the board to ensure sufficient grounding of critical components. A large number of via holes connect the top layer ground areas to the bottom layer ground plane. There is no ground plane beneath the antenna.
c) Top view
d) Bottom view
Figure 14 PCB layout example for nRF905, differential connection to a loop antenna. A fully qualified RF-layout for the nRF905 and its surrounding components, including antennas and matching networks, can be downloaded from www.nordicsemi.no.
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
433MHz 180pF, 5% 18pF, 5% 18pF, 5% Optional 6.8pF, 5% Optional 12nH, 5% 39nH, 5% 39nH, 5%
C12 2.2pF, 5%
VDD C7 10nF C5 33pF C6 4.7nF
32 31 30 29 28 27 26 25
R2 22K 24 23 22 21 20 19 18 17
C9 L2 C12
TXEN TRX_CE PWR_UP uPCLK aaaaaaaa VDD CD AM DR SPI_MISO SPI_MOSI SPI_SCK SPI_CSN
1 2 3 4 5 6 7 8
nRF905
C10
C8 33pF
9 10 11 12 13 14 15 16
U1 nRF905
C4 3.3nF X1
aaaaaaaa
Figure 15 nRF905 Application schematic, single ended connection to 50 antenna by using a differential to single ended matching network. It is recommended to add pull up or pull down resistors on signals that can enter a floating state. For the nRF905 it is recommended to have pull up on the CSN signal and pull down on the MOSI and SCK signal.
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
Component
C1 C2 C3
Description
NP0 ceramic chip capacitor, (Crystal oscillator) NP0 ceramic chip capacitor, (Crystal oscillator) NP0 ceramic chip capacitor, (PA supply decoupling) @ 433MHz @ 868MHz @ 915MHz X7R ceramic chip capacitor, (PA supply decoupling) NP0 ceramic chip capacitor, (Supply decoupling) X7R ceramic chip capacitor, (Supply decoupling) X7R ceramic chip capacitor, (Supply decoupling) NP0 ceramic chip capacitor, (Supply decoupling) NP0 ceramic chip capacitor, (Impedance matching) @ 433MHz @ 868MHz @ 915MHz NP0 ceramic chip capacitor, (Impedance matching) @ 433MHz @ 868MHz @ 915MHz NP0 ceramic chip capacitor, (Impedance matching) NP0 ceramic chip capacitor, (Impedance matching) @ 433MHz @ 868MHz @ 915MHz NP0 ceramic chip capacitor, (Impedance matching) @ 433MHz @ 868MHz @ 915MHz Chip inductor, (Impedance matching) @ 433MHz: SRF> 433MHz @ 868MHz: SRF> 868MHz @ 915MHz: SRF> 915MHz Chip inductor, (Impedance matching) @ 433MHz: SRF> 433MHz @ 868MHz: SRF> 868MHz @ 915MHz: SRF> 915MHz Chip inductor, (Impedance matching) @ 433MHz: SRF> 433MHz @ 868MHz: SRF> 868MHz @ 915MHz: SRF> 915MHz 0.1W chip resistor, (Crystal oscillator bias) 0.1W chip resistor, (Reference bias) nRF905 Transceiver Crystal, CL = 12pF
Size
0603 0603 0603
Value
22 22 180 33 33 3.3 33 4.7 10 33 18 3.9 3.9
Tol.
5% 5% 5%
Units
pF pF pF
C4 C5 C6 C7 C8 C9
nF pF nF nF pF pF
C10
0603 18 3.9 3.9 Not fitted 6.8 2.2 2.2 0603 Not fitted Not fitted Not fitted 0603 12 12 12 0603 39 18 18 0603 39 12 12 1 22 16 5% 5% 5% 5% 1% 30ppm 5% 5% 5% 5% 5% <0.25pF <0.25pF
pF
C11 C12
0603 0603
pF pF 5% 5% 5% pF
C13
L1
nH
L2
nH
L3
nH
R1 R2 U1 X1
M k MHz
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
11.4 PCB Layout Example; Single Ended Connection to 50 Antenna Figure 16 shows a PCB layout example for the application schematic in Figure 15. A double-sided FR-4 board of 1.6mm thickness is used. This PCB has a ground plane on the bottom layer. Additionally, there are ground areas on the component side of the board to ensure sufficient grounding of critical components. A large number of via holes connect the top layer ground areas to the bottom layer ground plane.
c) Top view
d) Bottom view
Figure 16 PCB layout example for nRF905, single ended connection to 50 antenna by using a differential to single ended matching network. A fully qualified RF-layout for the nRF905 and its surrounding components, including antennas and matching networks, can be downloaded from www.nordicsemi.no.
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
13 GLOSSARY OF TERMS
Term ADC AM CD CLK CRC DR GFSK ISM kSPS MCU PWR_DWN PWR_UP RX SPI CSN MISO MOSI SCK SPS STBY TRX_EN TX TX_EN Description Analog to Digital Converter Address Match Carrier Detect Clock Cyclic Redundancy Check Data Ready Gaussian Frequency Shift Keying Industrial-Scientific-Medical kilo Samples per Second Micro Controller Unit Power Down Power Up Receive Serial Programmable Interface SPI Chip Select Not SPI Master In Slave Out SPI Master Out Slave In SPI Serial Clock Samples per Second Standby Transmit/Receive Enable Transmit Transmit Enable
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
14 DEFINITIONS
Product Specification Identification
Objective Product Specification
Product Specification
Table 18 Product status definitions Nordic Semiconductor ASA reserves the right to make changes without further notice to the product to improve reliability, function or design. Nordic Semiconductor does not assume any liability arising out of the application or use of any product or circuits described herein.
LIFE SUPPORT APPLICATIONS These products are not designed for use in life support appliances, devices, or systems where malfunction of these products can reasonably be expected to result in personal injury. Nordic Semiconductor ASA customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify Nordic Semiconductor ASA for any damages resulting from such improper use or sale.
All rights reserved . Reproduction in whole or in part is prohibited without the prior written permission of the copyright holder.
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
YOUR NOTES
- Phone +4772898900
PRODUCT SPECIFICATION
nRF905 Single Chip 433/868/915 MHz Radio Transceiver
Main Office: Vestre Rosten 81, N-7075 Tiller, Norway Phone: +47 72 89 89 00, Fax: +47 72 89 89 89 Visit the Nordic Semiconductor ASA website at http://www.nordicsemi.no
- Phone +4772898900
10/07/2006
//20MHz #define dly200n asm("nop") #define dly400n dly200n;dly200n #define WaitFor1Us dly200n; dly200n; dly200n; dly200n; dly200n #define Jumpback asm("goto $ - 2") #define dly1u dly200n; dly200n; dly200n; dly200n #define dly2u dly1u; dly1u void DelayUs(unsigned char x); void DelayMs(unsigned char cnt); #endif
delay.c
30/07/2006
/***************************************************************************** * File: delay.c Date: July 10, 2006 Author: Dennis Leote Compiler: Hi-Tech PICC, Hi-Tech Software (http://www.htsoft.com) Description: This program provide the functions to perform delays between 0 - 255 us, and 0 - 255 ms for a PIC 16f877A u controller with a 20 MHz crystal. ***************************************************************************** */ #ifndef __DELAY_C #define __DELAY_C #include #include <pic.h> "delay.h"
unsigned char delayus_variable; /* * Function: DelayUs * Input: 8-bit value which defines the delay time (0 - 255 us) * Output: None * * Description: Will delay execution of further instructions (except Interrupts) * for a length of 0 - 255 us defined by x */ void DelayUs(unsigned char x) { delayus_variable=x; WaitFor1Us; asm("decfsz _delayus_variable,f"); Jumpback; } /* * Function: DelayMs * Input: 8-bit value which defines the delay time (0 - 255 ms) * Output: None * * Description: Will delay execution of further instructions (except Interrupts) * for a length of 0 - 255 ms defined by x */ void DelayMs(unsigned char cnt) { unsigned char i; do { i = 4; do { DelayUs(250); DelayUs(57); // fine tuning } while(--i); } while(--cnt); } #endif
mainRx.c
30/07/2006
/***************************************************************************** * File: main.c Date: July 10, 2006 Author: Dennis Leote Compiler: Hi-Tech PICC, Hi-Tech Software (http://www.htsoft.com) Description: This program runs on th PIC 16f877A uController for use with an nRF24L01 tranceiver Module configured as a receiver. Information is accepted in a 30-byte array and each byte is output to a PC via the UART in 0.5 ms intervals. ***************************************************************************** */ #include #include #include #include #include <pic.h> "Rx24L01.h" "C:\ekg\includes\delay.h" "C:\ekg\includes\uart.h" "C:\ekg\includes\spi.h"
void main(void) { spiConfig(); SetupComPort(); configure16f877_for_24L01(); configure_Rx24L01(); TRISB1 = 0; RB1 = 0; while(1) { while(IRQ); Rx24L01(); } }
// // // //
// wait for next received data packet // receive the next data packet and output to PC
mainTx.c
30/07/2006
/***************************************************************************** * File: main.c Date: July 10, 2006 Author: Dennis Loete Compiler: Hi-Tech PICC, Hi-Tech Software (http://www.htsoft.com) Description: This Program performs an A/D conversion on three input channels into the PIC 16f877A uController in regular 0.5ms intervals and saves the data in an 30-byte array. Once the array is full. The information is sent to an nRF24L01 tranceiver via the SPI interface on the PIC. ***************************************************************************** */ #include #include #include #include #include <pic.h> "C:\ekg\includes\delay.h" "C:\ekg\includes\uart.h" "C:\ekg\includes\spi.h" "Tx24L01.h"
#define CHAN1 1 #define CHAN2 2 #define CHAN3 3 void ekgTxInit(void); char getData(char); void convertByteToBits(char); main() { char leads[30], dataToSend[30]; int i, j = 0; ekgTxInit(); SetupComPort(); configure16f877_for_24L01(); configure_Tx24L01(); PORTD = 0x00; while(1){ // obtain 10 bytes of data from each of the A/D input channels for (i = 0; i < 30;) { leads[i++] = getData(CHAN1); // lead I data leads[i++] = getData(CHAN2); // lead II data leads[i++] = getData(CHAN3); // lead III data // delay 0.5 ms until next conversion. if (i != 30) { DelayUs(250); DelayUs(250); } } // transmit data through nRF24L01 Tx24L01(leads); // wait until transmission complete while (IRQ); } } /* * Function: ekgTxInit * Input: None 1
mainTx.c * Output: None * * Description: Configure the PIC A/D for three input channels. * RA0 = Lead I, RA1 = Lead II, RA5 = Lead III * RA2 = reference voltage - 0V * RA3 = reference voltage - 5V */ void ekgTxInit(void){ TRISD = 0x00; TRISA0 = 1; TRISA1 = 1; TRISA2 = 1; TRISA3 = 1; TRISA5 = 1; ADCON0 = 0x81; ADCON1 = 0x09; } // // // // // // output A/D result A/D channel 0 A/D channel 1 VrefVref+ A/D channel 2
30/07/2006
// set Fosc/32 and channel 0 (RA0) // RA0 = Analogue input, Vref+/Vref- = VDD/VSS;
/* * Function: getData * Input: channel - chooses which channel to perform the A/D conversion * Output: Result of A/D conversion. Stored in an 8-bit char * * Description: Performs the A/D conversion on a single channel defined by * "channel" input and obtains the lower 8 bits of the 10 bit * result. */ char getData(char channel) { // select channel switch(channel) { case CHAN1: ADCON0 = 0x81; break; case CHAN2: ADCON0 = 0x89; break; case CHAN3: ADCON0 = 0xA1; break; default: break; } // begin conversion DelayUs(50); ADGO = 1; while(ADGO); return ADRESH; } /* * Function: convertByteToBits * Input: byte_value = single byte * Output: None * * Description: Takes a byte and displays a the value in 8 bits - xxxxxxxx. * The bits are displayed by sending ascii '0' or '1' through * the serial port on a PC. PC would use Hyperterminal or some * similiar software to display the value */ void convertByteToBits(char byte_value) { char tmp; char i; // parse the byte bit-by-bit and send the appropriate '0' or '1' to UART for (i = 128; i > 0;) { tmp = byte_value & i; if (tmp == 0) uartTx('0'); else uartTx('1'); i >>= 1; 2
30/07/2006
Rx24L01.c
30/07/2006
/***************************************************************************** * File: Rx24L01.c Date: July 10, 2006 Author: Dennis Loete Compiler: Hi-Tech PICC, Hi-Tech Software (http://www.htsoft.com) Description: This program provides the functions necessary to interface with the Nordic Semiconductor nRF24L01 Transceiver modules. The is configured as a receiver with a 5-byte datapipe address, datarate of 2Mbps, CRC, Retransmit, and Enhanced Shockburst. ***************************************************************************** */ #include #include #include #include #include <pic.h> "Rx24L01.h" "C:\ekg\includes\uart.h" "C:\ekg\includes\delay.h" "C:\ekg\includes\spi.h"
void byteToBits(char); /* * Function: configure16f877_for_24L01 * Input: None * Output: None * * Description: Configures the PIC 16f877A uController to interface with the * transceiver through the SPI. */ void configure16f877_for_24L01(void) { spiConfig(); TRISB5 = 1; // IRQ pin TRISC2 = 0; // CE pin TRISC1 = 0; // CSN pin CE = 0; CSN = 1; } /* * Function: configure_Rx24L01 * Input: None * Output: None * * Description: Configures the nRF24L01 transceiver to perform as a receiver */ void configure_Rx24L01(void) { wReg(0x00, 0x09); // set this device as PRX wReg(0x01, 0x3F); // enable auto acknowledge (Tx) wReg(0x02, 0x03); // enable auto acknowledge (Rx) wReg(0x03, 0x03); // set address width to 5 Bytes wReg(0x04, 0x1F); // disable retransmit wReg(0x05, 0x02); // set channel 2 (default value) wReg(0x06, 0x0F); // set data rate = 2 Mbps // set Rx (pipe 1) address to E7E7E7E7E7 CSN = 0; spiTx(0x2A); spiTx(0xE7); spiTx(0xE7); spiTx(0xE7); spiTx(0xE7); spiTx(0xE7); CSN = 1; 1
Rx24L01.c DelayUs(10); // set Rx (pipe 1) address to C2C2C2C2C2 CSN = 0; spiTx(0x2B); spiTx(0xC2); spiTx(0xC2); spiTx(0xC2); spiTx(0xC2); spiTx(0xC2); CSN = 1; DelayUs(10); wReg(0x11, 0x1E); wReg(0x12, 0x1E); wReg(0x00, 0x0B); CE = 1; } /* * * * * * Function: Rx24L01 Input: None Output: None // set # bytes in payload (pipe 0) // set # bytes in payload (pipe 1) // power up
30/07/2006
Description: Receives a 30 byte array and sends the information through the
* PIC UART for display on a PC in 0.5 ms intervals. */ void Rx24L01(void) { int i, data[3]; char status; CE = 0; CSN = 0; status = spiTx(0x61); for (i = 0; i < 30;) { // LeadI data data[i] = spiRx(); uartTx(data[i++]); // LeadII data data[i] = spiRx(); uartTx(data[i++]); // LeadIII data data[i] = spiRx(); uartTx(data[i++]); // delay 0.5 ms if (i != 30) { DelayUs(250); DelayUs(250); } } RB1 ^= 1; CSN = 1; DelayUs(10); flushRx(); wReg(0x07, 0x7F); CE = 1; // flush Rx FIFO // clear previous interrupts // power up RF front end 2 // Power down RF front end // receive payload
Rx24L01.c }
30/07/2006
/* * Function: getStatus * Input: None * Output: Value of the nRF24L01 Staus register * * Description: Obtains the value of the nRF24L01 status register for debugging * purposes. */ char getStatus(void) { char status; CSN = 0; status = spiTx(0xFF); CSN = 1; DelayUs(10); return status; } /* * Function: showStatus * Input: None * Output: Value of the nRF24L01 Status register * * Description: Obtains and displays Status register and sends the value to * the PIC 16f877A UART for display on PC */ char showStatus(void) { char status; CSN = 0; status = spiTx(0xFF); CSN = 1; DelayUs(10); byteToBits(status); return status; } /* * Function: wReg * Input: address - addr of nRF24L01 register, value - byte value to be written * register at "address" * Output: Value of Staus register * * Description: This function writes an 8-bit value to one of the configuration * registers of the nRF24L01. The contents of the "Status" register * is returned for debugging purposes. */ char wReg(char address, char value) { char addr, status; addr = address | 0x20; CSN = 0; status = spiTx(addr); spiTx(value); CSN = 1; DelayUs(10); 3
30/07/2006
/* * Function: rReg * Input: address - addr of configuration register to be read * Output: Contents of the register being addressed. * * Description: This function reads the value of the configuration register * at "address" */ char rReg(char address) { char reg_value; CSN = 0; spiTx(address); reg_value = spiRx(); CSN = 1; byteToBits(reg_value); DelayUs(10); return reg_value; } /* * Function: flushTx * Input: None * Output: None * * Description: Flushes the Transmit Stack of any values currently being stored */ void flushTx(void) { // flush tx stack CSN = 0; spiTx(0xE1); CSN = 1; DelayUs(10); } /* * Function: flushRx * Input: None * Output: None * * Description: Flushes the Receive Stack of any values currently being stored */ void flushRx(void) { // flush rx stack CSN = 0; spiTx(0xE2); CSN = 1; DelayUs(10); } /* * Function: readRegisters * Input: None * Output: None * * Description: Reads the values of the first seven configuration registers for * debugging purposes. */ void readRegisters(void) { 4
Rx24L01.c uartTx('R'); NEW_LINE; rReg(0x00); rReg(0x01); rReg(0x02); rReg(0x03); rReg(0x04); rReg(0x05); rReg(0x06); }
30/07/2006
/* * Function: ByteToBits * Input: byte_value = single byte * Output: None * * Description: Takes a byte and displays a the value in 8 bits - xxxxxxxx. * The bits are displayed by sending ascii '0' or '1' through * the serial port on a PC. PC would use Hyperterminal or some * similiar software to display the value */ void byteToBits(char byte_value) { char tmp; char i; for (i = 128; i > 0;) { tmp = byte_value & i; if (tmp == 0) uartTx('0'); else uartTx('1'); i >>= 1; } NEW_LINE; }
Rx24L01.h #ifndef __RX24L01_H #define __RX24L01_H #define CE #define CSN #define IRQ #define COMMAND #define DATA RC2 // Chip Enable RC1 // Chip Select NOT RB5 // Interrupt Request 1 0
29/06/2006
void configure16f877_for_24L01(void); void configure_Rx24L01(void); void Rx24L01(void); void byteToBits(char); void readRegisters(void); char getStatus(void); char showStatus(void); char wReg(char, char); char rReg(char); void flushTx(void); void flushRx(void); #endif
spi.c
30/07/2006
/***************************************************************************** * File: spi.c Date: July 10, 2006 Author: Dennis Leote Compiler: Hi-Tech PICC, Hi-Tech Software (http://www.htsoft.com) Description: This file rovides the functions necessary to use the PIC 16f877A SPI interface running on a 20MHz crystal oscillator. ***************************************************************************** */ #include <pic.h> #include "spi.h" #include "delay.h" /* * Function: spiConfig * Input: None * Output: None * * Description: Configures the 16f877 SPI */ void spiConfig(void) { STAT_CKE = 1; // Data transmitted on rising edge of SCK STAT_SMP = 0; // Input data sampled at middle of data output time CKP = 0; // Idle state for clock is a low level SSPEN = 1; // Enables serial port and configrues SCK, SDO, SDI, and SS as the source of the serial port pins SSPM0 = 1; // SPI Master mode, clock = Fosc/16 TRISC5 = 0; // SDO TRISC3 = 0; // SCK } /* * Function: spiTx * Input: 8-bit data value * Output: Value of the nRF24L01 Staus register * * Description: This function sends one byte of data to an nRF24L01 tranceiver * module through the SPI interface. The value of the Status * register is returned */ char spiTx(char data) { char buf_value; SSPBUF = data; while(!SSPIF); buf_value = SSPBUF; SSPIF = 0; return buf_value; } /* * Function: spiRx * Input: None * Output: 8-bit value * * Description: Obtains one byte of data from the nRF24L01 tranceiver module */ char spiRx(void) { 1
30/07/2006
spi.h #ifndef __SPI_H #define __SPI_H void spiConfig(void); char spiTx(char); char spiRx(void); #endif
28/06/2006
Tx24L01.c
30/07/2006
/***************************************************************************** * File: Tx24L01.c Date: July 10, 2006 Author: Dennis Loete Compiler: Hi-Tech PICC, Hi-Tech Software (http://www.htsoft.com) Description: This program provides the functions necessary to interface with the Nordic Semiconductor nRF24L01 Transceiver modules. The is configured as a transmitter with a 5-byte datapipe address, datarate of 2Mbps, CRC, Retransmit, and Enhanced Shockburst. ***************************************************************************** */ #include #include #include #include #include <pic.h> "Tx24L01.h" "C:\ekg\includes\uart.h" "C:\ekg\includes\delay.h" "C:\ekg\includes\spi.h"
void byteToBits(char); /* * Function: configure16f877_for_24L01 * Input: None * Output: None * * Description: Configures the PIC 16f877A uController to interface with the * transceiver through the SPI. */ void configure16f877_for_24L01(void) { spiConfig(); // configure the SPI with clock = 20MHz / 16 TRISB5 = 1; // IRQ pin TRISC2 = 0; // CE pin TRISC1 = 0; // CSN pin CE = 0; CSN = 1; // RB0 used for debugging TRISB1 = 0; RB0 = 0; } /* * Function: configure_Tx24L01 * Input: None * Output: None * * Description: Configures the nRF24L01 transceiver to perform as a transmitter */ void configure_Tx24L01(void) { CE = 0; CSN = 0; wReg(0x00, wReg(0x01, wReg(0x02, wReg(0x03, wReg(0x04, wReg(0x05, wReg(0x06, 0x08); 0x3F); 0x03); 0x03); 0x1F); 0x02); 0x0F); // // // // // // // set PTX enable auto acknowledge (Tx) enable auto acknowledge (Rx) set address width to 5 Bytes four retransmit attempts set channel 2 (default value) set data rate = 2 Mbps
Tx24L01.c CSN = 0; spiTx(0x2A); spiTx(0xC2); spiTx(0xC2); spiTx(0xC2); spiTx(0xC2); spiTx(0xC2); CSN = 1; DelayUs(50); // set Tx address to E7E7E7E7E7 CSN = 0; spiTx(0x30); spiTx(0xC2); spiTx(0xC2); spiTx(0xC2); spiTx(0xC2); spiTx(0xC2); CSN = 1; DelayUs(50); } /* * Function: Tx24L01 * Input: 30-byte array * Output: None * * Description: Transmits the input array */ void Tx24L01(char leads[]) { int i; wReg(0x07, 0x7F); wReg(0x00, 0x0A); flushTx(); // Transmit data CSN = 0; spiTx(0xA0); for(i = 0; i < 30; i++) { spiTx(leads[i]); } CSN = 1; DelayUs(10); CE = 1; DelayUs(20); CE = 0; } // clear previous interrupts // power up
30/07/2006
/* * Function: showStatus * Input: None * Output: None * * Description: Sends the contents of the nRF24L01 status register through * the UART for display in Hyperterminal - Used for debugging */ void showStatus(void) { char status; CSN = 0; status = spiTx(0xFF); 2
30/07/2006
/* * Function: wReg * Input: address - addr of nRF24L01 register, value - byte value to be written * register at "address" * Output: Value of Staus register * * Description: This function writes an 8-bit value to one of the configuration * registers of the nRF24L01. The contents of the "Status" register * is returned for debugging purposes. */ char wReg(char address, char value) { char addr, status; addr = address | 0x20; CSN = 0; status = spiTx(addr); spiTx(value); CSN = 1; DelayUs(10); return status; } /* * Function: rReg * Input: address - addr of configuration register to be read * Output: Contents of the register being addressed. * * Description: This function reads the value of the configuration register * at "address" */ char rReg(char address) { char reg_value; CSN = 0; spiTx(address); reg_value = spiRx(); CSN = 1; byteToBits(reg_value); DelayUs(10); return reg_value; } /* * Function: flushTx * Input: None * Output: None * * Description: Flushes the Transmit Stack of any values currently being stored */ void flushTx(void) { // flush tx stack CSN = 0; spiTx(0xE1); CSN = 1; 3
Tx24L01.c DelayUs(10); }
30/07/2006
/* * Function: flushRx * Input: None * Output: None * * Description: Flushes the Receive Stack of any values currently being stored */ void flushRx(void) { // flush rx stack CSN = 0; spiTx(0xE2); CSN = 1; DelayUs(10); } /* * Function: readRegisters * Input: None * Output: None * * Description: Reads the values of the first seven configuration registers for * debugging purposes. */ void readRegisters(void) { uartTx('R'); NEW_LINE; rReg(0x00); rReg(0x01); rReg(0x02); rReg(0x03); rReg(0x04); rReg(0x05); rReg(0x06); } /* * Function: ByteToBits * Input: byte_value = single byte * Output: None * * Description: Takes a byte and displays a the value in 8 bits - xxxxxxxx. * The bits are displayed by sending ascii '0' or '1' through * the serial port on a PC. PC would use Hyperterminal or some * similiar software to display the value */ void byteToBits(char byte_value) { char tmp; char i; for (i = 128; i > 0;) { tmp = byte_value & i; if (tmp == 0) uartTx('0'); else uartTx('1'); i >>= 1; } NEW_LINE; }
Tx24L01.h #ifndef __TX24L01_H #define __TX24L01_H #define CE #define CSN #define IRQ #define COMMAND #define DATA void void void void void char char void void RC2 // Chip Enable RC1 // Chip Select NOT RB5 // Interrupt Request 1 0
29/06/2006
configure16f877_for_24L01(void); configure_Tx24L01(void); Tx24L01(char data[]); readRegisters(void); showStatus(void); wReg(char, char); rReg(char); flushTx(void); flushRx(void);
#endif
uart.c
30/07/2006
/***************************************************************************** * File: uart.c Date: July 10, 2006 Author: Dennis Leote Compiler: Hi-Tech PICC, Hi-Tech Software (http://www.htsoft.com) Description: This file provides the functions necessary to use the PIC 16f877A Universal Asynchronous Receiver Transmitter (UART) interface. ***************************************************************************** */ #include <pic.h> #include "uart.h" /* * Function: SetupComPort * Input: None * Output: None * * Description: Will setup COM port for 20Mhz clk with 115200 Baud */ void SetupComPort(void) { char dummy; TRISC6 = 1; TRISC7 = 1; SPBRG = 10; // 115200 Baud // SPBRG = (20000000/(16UL * 19200) -1); // 19200 Baud BRGH = 1; TX9 = 0; // High data rate for sending // 8-bit transmission // 8-bit reception // Asynchronous // Enable serial port pins // Clear the RCIF interrupt flag // Enable reception // Enable the transmitter // Clear the RCREG
/* * Function: uartTx * Input: One byte value to transmit * Output: None * * Description: Will transmit a given character defined by txChar */ void uartTx(char txChar) { while(!TXIF); // Wait while other transmission is over TXREG = txChar; // Place the given character in tx buffer ResetRx(); // Clears Interrupt flags } /* * Function: uartRx * Input: None 1
uart.c
30/07/2006
* Output: One byte value received by UART * * Description: Receive a character from object interfaced to by UART */ char uartRx(void) { char dummy = '\0'; if (RCIF) { dummy = RCREG; ResetRx(); ResetTx(); } return dummy; } /* * Function: uartTxLine * Input: String to be transmitted * Output: None * * Description: Sends a string of characters through the UART one byte at a time */ void uartTxLine(char *line_out) { int i; while(line_out[i] != '\0') {uartTx(line_out[i++]);} } /* * * * * * Function: ResetTx Input: None Output: None Description: Resets the interrupt flags associated with the UART to prepare // If receive interrupt flag is set // Get the character stored in rx buffer // Clears the interrupt flags // Clears the interrupt flags
* for next transmission. */ void ResetTx(void) { TXEN = 0; TXEN = 1; } /* * * * * * Function: ResetRx Input: None Output: None Description: Resets the interrupt flags associated with the UART to prepare
uart.h #ifndef __UART_H #define __UART_H #define NEW_LINE uartTx(10);uartTx(13) void void void void char void SetupComPort(void); uartTxLine(char*); ResetTx(void); ResetRx(void); uartRx(void); uartTx(char); // // // // // // Setup for 19200 Baud Transmit a line Reset Transmitter Reset Receiver Receieve a char Transmit a char
28/06/2006
#endif