This manual describes the TIDM-TIA hardware and how to use it. The TIDM-TIA uses a MSP430F2274
microcontroller to convert the current produced by a photodiode into a voltage. The TIDM-TIA converts
current to voltage by using one of the MSP430F2274’s integrated op-amps and an external feedback
resistor. This voltage is then sampled by the ADC on the MSP430F2274 and converted to a 10-bit value.
Resulting conversion values can then be used to turn the LED on or off based on simple logic. Other
GPIO pins are also available to use externally. The entire process of the TIA is indicated in Figure 1.
User's Guide
TIDU443–August 2014
User's Guide
The TIDM-TIA is programmable and powered by a 4-wire JTAG connection or by an external source
through an external voltage pin.
Find more information on the MSP430F2274 datasheet.
For more information on transimpedance amplifiers and their properties, see the Transimpedance
Considerations for High-Speed Amplifiers and Compensate Transimpedance Amplifiers Intuitively
resources in Section 6.
ADC— Analog-to-Digital Converter
CCS— Texas Instruments’ Code Composer Studio
GPIO— General-Purpose Input/Output
JTAG— Joint Test Action Group
LED— Light Emitting Diode
OA— General Purpose Operational Amplifier
Op-Amp— Operational Amplifier
TI—Texas Instruments
TIA— Transimpedance Amplifier
TIDM-TIA— The name of this reference design
Blue-wire— Patch wires added to a circuit board to correct issues or change design.
The part number of the 14-pin JTAG connector is SBH11-PBPC-D07-ST-BK from Sullins Connector
Solutions.
The JTAG header provides a 4-wire method of programming and powering the TIDM-TIA. A MSPFET430UIF can be used to program and debug the TIDM-TIA.
3.2Powering the TIDM-TIA
Use the power select jumper (JP1) to switch between JTAG and external power sources for the board.
Placing a jumper between pins V and Int allows power to come from the JTAG connection. Placing a
jumper between pins V and Ext allows the board to be powered by applying voltage to pin V on the J1
jumper just to the left of JP1. A voltage of 3.3 V is recommended, but voltages can range from 1.8 to 3.6 V
for the MSP430F2274.
By default, power by the JTAG connection should be selected. Do not apply voltage to J1 when powering
the TIDM-TIA by JTAG.
3.3Measuring Current Consumption
The current consumed by the TIDM-TIA can easily be measured by connecting an ammeter between the
two pins of jumper JP2. When not measuring the current, leave a connection between these two pins.
3.4Photodiode
The part number of the photodiode is SFH 2701 from OSRAM Opto Semiconductors Inc. Find more
information on the SFH 2701 datasheet.
The photodiode is the key component to the TIDM-TIA as it creates a current to be manipulated. The
magnitude of the current depends on both the intensity of light hitting its active sensor and the wavelength
of that light. Wavelengths between 400 and 1050 nm affect the photodiode. Currents from −0.1 to −100
µA can be obtained depending on the light hitting the photodiode. With indoor lighting, current output can
range from around −0.1 to around −8 µA depending on the light source's proximity. Sunlight causes the
photodiode to output currents of −30 µA and lower depending on the brightness of the day.
To measure the current produced by the photodiode, connect an ammeter between both pins of jumper
JP5. This measurement helps when choosing an external feedback resistor (explained in Section 3.5.2).
This photodiode can also be replaced for similar designs. For example, a photodiode optimized to be
sensitive to infrared light may be used with similar board functionality. To use a different photodiode,
remove the SFH 2701 and blue-wire a new photodiode to its solder pads.
Hardware Description
3.5Feedback Resistors
3.5.1Onboard Feedback Resistor
The TIDM-TIA has an onboard 2.37-MΩ feedback resistor connected between the inverting input of the
integrated op-amp and its output. This feedback resistor provides the gain across the op-amp. Default
gain with the onboard feedback resistor is very high and optimized for low-light, indoor situations where
the photodiode only produces −0.1 to −1.5 µA of current. The feedback resistor helps convert the current
from the photodiode into a voltage readable by the ADC. Output voltage is calculated using Equation 1:
The TIDM-TIA also has an option to use an external feedback resistor for a different voltage gain. Figure 3
shows the functionality of jumpers JP3 and JP4 with regards to selecting a feedback resistor.
www.ti.com
By default, there is a jumper connecting the Int and middle pins of JP3 and JP4 to use the onboard
feedback resistor. Connecting the Ext and middle pins of both JP3 and JP4 allows for the use of an
external feedback resistor. An external resistor can be connected to the TIDM-TIA board by blue-wiring a
resistor to the R4 location on the board at the two holes. Knowing a target output voltage and measuring
the current from the photodiode makes it possible to use Equation 1 to select a proper feedback resistor.
Using an external resistor may result in a noisier output signal because there is a noise reducing capacitor
calibrated for the onboard feedback resistor’s resistance. Selecting a feedback capacitor value is
determined by Equation 2 (see the MSP430F2274 datasheet for details).
where
•RFis the feedback resistance
•Ciis 10 pF
•f
is the gain-bandwidth product of the op-amp (determined by its slew rate mode)(2)
GBW
In general, a larger feedback capacitance will result in a slightly smaller bandwidth.
For more information on selecting a feedback capacitor, see the Transimpedance Considerations for High-
Speed Amplifiers and Compensate Transimpedance Amplifiers Intuitively resources in Section 6.
3.6Operational Amplifier
The TIDM-TIA uses the MSP430F2274’s integrated op-amp with a feedback resistor to provide the
current-to-voltage conversion. Using the op-amp is preferred to simply feeding the photodiode’s current
across a resistor. A lone feedback resistor has a tradeoff between a large gain and a small response time.
Using the onboard op-amp with a feedback resistor allows for a faster response time, large gain, and
better signal-to-noise ratio of output signals. There is also a feedback capacitor added across the
feedback resistor. Its job is to act as a low-pass filter, reducing noise and oscillation created by the opamp (see Section 3.5.3 for details on changing the capacitor). The complete circuit involving the op-amp
can be seen in Figure 4 where IS1 simulates the photodiode as a current source.
The transfer function of the output is then seen in Equation 3:
As mentioned in the previous section, the TIDM-TIA has a feedback resistor with a resistance of 2.37 MΩ.
This combination of photodiode, feedback resistor, and op-amp should provide the ideal output voltage
seen in SPICE simulations in Figure 5. Currents created by the photodiode range from 0 to −1.5 µA, which
are used as test values.
www.ti.com
(3)
Figure 5. TIA SPICE Simulation
The Tina-TI SPICE model of the op-amp is available on the MSP430F2274 product web page.
Characterization data for the photodiode current versus op-amp output voltage can be seen in Figure 6.
Results are close to expected output.
NOTE: This output will change if using an external feedback resistor or different photodiode.
Figure 6. Op-Amp Voltage Output Characterization
For more information on the characteristics of the operational amplifier, see the MSP430F2274 datasheet.
The 10-bit ADC inside the MSP430F2274 converts voltage at the output of the op-amp into a 10-bit value.
Both components are connected to each other inside the MSP430F2274. By default, the ADC uses
reference voltages of 0 V (GND) and 3.3 V (VCC) for its samples in single-channel, single-conversion
mode, which is configured in software and can be changed for the different operations of the ADC.
However, channel A1 of the ADC is the only channel the op-amp output is connected to by default.
See the MSP430F2274 user’s guide for more information on the ADC.
3.8GPIO Pins
On the TIDM-TIA, P1.0 from the MSP430F2274 controls the onboard LED. The LED turns on when the
photodiode provides a dark reading and turns off for a bright reading. Whether a reading is "dark" or
"bright" is determined by the conversion value from the ADC.
The TIDM-TIA also offers access to three GPIO pins on the MSP430F2274. Pins P1.1, P2.3, and P3.6 are
all available to use through jumper J2. See the MSP430F2274 user’s guide for more information on these
pins.
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other
changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest
issue. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and
complete. All semiconductor products (also referred to herein as “components”) are sold subject to TI’s terms and conditions of sale
supplied at the time of order acknowledgment.
TI warrants performance of its components to the specifications applicable at the time of sale, in accordance with the warranty in TI’s terms
and conditions of sale of semiconductor products. Testing and other quality control techniques are used to the extent TI deems necessary
to support this warranty. Except where mandated by applicable law, testing of all parameters of each component is not necessarily
performed.
TI assumes no liability for applications assistance or the design of Buyers’ products. Buyers are responsible for their products and
applications using TI components. To minimize the risks associated with Buyers’ products and applications, Buyers should provide
adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or
other intellectual property right relating to any combination, machine, or process in which TI components or services are used. Information
published by TI regarding third-party products or services does not constitute a license to use such products or services or a warranty or
endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the
third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of significant portions of TI information in TI data books or data sheets is permissible only if reproduction is without alteration
and is accompanied by all associated warranties, conditions, limitations, and notices. TI is not responsible or liable for such altered
documentation. Information of third parties may be subject to additional restrictions.
Resale of TI components or services with statements different from or beyond the parameters stated by TI for that component or service
voids all express and any implied warranties for the associated TI component or service and is an unfair and deceptive business practice.
TI is not responsible or liable for any such statements.
Buyer acknowledges and agrees that it is solely responsible for compliance with all legal, regulatory and safety-related requirements
concerning its products, and any use of TI components in its applications, notwithstanding any applications-related information or support
that may be provided by TI. Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards which
anticipate dangerous consequences of failures, monitor failures and their consequences, lessen the likelihood of failures that might cause
harm and take appropriate remedial actions. Buyer will fully indemnify TI and its representatives against any damages arising out of the use
of any TI components in safety-critical applications.
In some cases, TI components may be promoted specifically to facilitate safety-related applications. With such components, TI’s goal is to
help enable customers to design and create their own end-product solutions that meet applicable functional safety standards and
requirements. Nonetheless, such components are subject to these terms.
No TI components are authorized for use in FDA Class III (or similar life-critical medical equipment) unless authorized officers of the parties
have executed a special agreement specifically governing such use.
Only those TI components which TI has specifically designated as military grade or “enhanced plastic” are designed and intended for use in
military/aerospace applications or environments. Buyer acknowledges and agrees that any military or aerospace use of TI components
which have not been so designated is solely at the Buyer's risk, and that Buyer is solely responsible for compliance with all legal and
regulatory requirements in connection with such use.
TI has specifically designated certain components as meeting ISO/TS16949 requirements, mainly for automotive use. In any case of use of
non-designated products, TI will not be responsible for any failure to meet ISO/TS16949.
ProductsApplications
Audiowww.ti.com/audioAutomotive and Transportationwww.ti.com/automotive
Amplifiersamplifier.ti.comCommunications and Telecomwww.ti.com/communications
Data Convertersdataconverter.ti.comComputers and Peripheralswww.ti.com/computers
DLP® Productswww.dlp.comConsumer Electronicswww.ti.com/consumer-apps
DSPdsp.ti.comEnergy and Lightingwww.ti.com/energy
Clocks and Timerswww.ti.com/clocksIndustrialwww.ti.com/industrial
Interfaceinterface.ti.comMedicalwww.ti.com/medical
Logiclogic.ti.comSecuritywww.ti.com/security
Power Mgmtpower.ti.comSpace, Avionics and Defensewww.ti.com/space-avionics-defense
Microcontrollersmicrocontroller.ti.comVideo and Imagingwww.ti.com/video
RFIDwww.ti-rfid.com
OMAP Applications Processorswww.ti.com/omapTI E2E Communitye2e.ti.com
Wireless Connectivitywww.ti.com/wirelessconnectivity