dsPIC33A Operational Amplifier (Op Amp) Peripheral
Overview
On this page, you will learn about the operational amplifier (op amp) module in dsPIC33A microcontrollers (MCUs). This op amp offers high performance with up to 100 MHz bandwidth, differential inputs, and rail-to-rail input and output ranges. It can be enabled or disabled individually, and when disabled, it becomes high impedance.
A key feature is user calibration of input offset voltage, which lets you measure and adjust the offset using an Analog-to-Digital Converter (ADC). You can calibrate for high power, low power, or both modes, and must trim both P and N channel pairs separately for best results.
You will learn about the two main operation modes: Unity Gain Buffer, which is set internally for a gain of 1, and Non-Unity Gain, which uses external resistors to set the gain. The output can be connected internally to a Digital-to-Analog Converter (DAC) or monitored by an ADC, depending on the device.
Common applications you will study include inverting and non-inverting amplifiers, where you will calculate gain and output voltage using simple formulas. By the end of this course, you will know how to configure, calibrate, and use the dsPIC33A op amp for various analog signal processing tasks.
Features
- Up to 100 MHz gain bandwidth
- Common bias supply for the op amps
- Differential inputs
- Rail-to-rail input voltage range
- Works in conjunction with pad drivers
- N-gate and P-gate output drivers
- Hi-impedance when the op amp is disabled
- Rail-to-rail output
- Amplifier internally compensated for gain ≥ 1x
- Individual enabling of op amps
- User calibration of input offset voltage
dsPIC33C to dsPIC33A New Feature: Op Amp Offset Calibration
- Users can measure and adjust the Offset.
- Offset voltage can be determined by measuring the input and output voltage of the op amp using an ADC.
- Depending on the application, the user may wish to calibrate the Input Offset Error of High Power mode, Low Power mode, or both.
- Both P and N channel differential pairs need to be trimmed independently to avoid interactions during the calibration procedure.
Peripheral Architecture
Op Amp Block Diagram
- OA1IN+ : Positive op amp input
- OA1IN- : Negative op amp input
- OA1OUT : Op amp output
Operation
Op Amp as Unity Gain Buffer
Op Amp Gain Control Using External Resistor
Op Amp Output Monitor
| SFR Bit | dsPIC33AK128MC106 Family | dsPIC33AK512MPS512 Family |
|---|---|---|
| REFEN | Feature not Avail | Feature Supported |
| OMONEN | Feature Supported | Feature not Avail |
Applications
Inverting Amplifier