The guide describes the analog modules of the PIC24FJ128GC010 MCU and provides design examples such as current monitoring, programmable current sources, and…
This document introduces the analog peripherals of the PIC24FJ128GC010 microcontroller, including a 12‑bit 10 Msps pipeline ADC, a 16‑bit Σ‑Δ ADC, two operational amplifiers, a 2‑channel 10‑bit DAC, internal band‑gap reference, CTMU, comparators, LCD controller and USB OTG. It explains the characteristics of each module and points to the device datasheet for detailed register information.
Four main sections present practical building blocks: current monitoring with a shunt resistor and the Σ‑Δ ADC PGA, a programmable current source, input‑filter/offset‑correction circuits, and additional useful modules. Each block includes circuit diagrams, design notes, and C‑code examples for initialization and calibration. This manual is written in Chinese.
| Pipeline ADC resolution | 12‑bit |
|---|---|
| Pipeline ADC sampling rate | 10 Msps |
| Σ‑Δ ADC resolution | 16‑bit |
| Number of pipeline ADC input channels | 50 |
| Operational amplifiers | 2 |
| DAC channels | 2 (10‑bit) |
| Internal band‑gap reference | present |
| LCD controller | present |
| USB OTG support | present |
Use a shunt resistor together with the Σ‑Δ ADC’s programmable gain amplifier (PGA) as shown in the “Current Monitoring” building block.
A single‑pole RC filter (e.g., 2.2 µF and 100 Ω) provides >20 dB attenuation above 8 kHz and is sufficient for the Σ‑Δ ADC.
The device offers a special measurement mode; firmware reads raw values, computes gain and offset, and applies them in the provided calibration functions.
Yes, by using an op‑amp with a reference voltage and the DAC to set the desired current, as illustrated in the “Programmable Current Source” block.