DSPIC30F2023 Microchip Technology Inc., DSPIC30F2023 Datasheet - Page 183

no-image

DSPIC30F2023

Manufacturer Part Number
DSPIC30F2023
Description
28/44-pin Dspic30f1010/202x Enhanced Flash Smps 16-bit Digital Signal Controller
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DSPIC30F2023-20E/ML
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
DSPIC30F2023-20E/PT
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
DSPIC30F2023-20E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
DSPIC30F2023-20E/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
DSPIC30F2023-30I/ML
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
DSPIC30F2023-30I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
DSPIC30F2023-30I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
DSPIC30F2023-30I/PTD32
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
DSPIC30F2023-30I/PTD32
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
DSPIC30F2023T-20E/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
DSPIC30F2023T-30I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
16.4
The ADC module contains up to 12 data output regis-
ters to store the A/D results called ADCBUF<11:0>.
The registers are 10 bits wide, but are read into differ-
ent format, 16-bit words. The buffers are read-only.
Each analog input has a corresponding data
output register.
This module DOES NOT include a circular data
buffer or FIFO. Because the conversion results may
be produced in any order, such schemes will not work
since there would be no means to determine which
data is in a specific location.
The SAR write to the buffers is synchronous to the
ADC clock. Reads from the buffers will always have
valid data assuming that the data-ready interrupt has
been processed.
If a buffer location has not been read by the software
and the SAR needs to overwrite that location, the
previous data is lost.
Reads from the result buffer pass through the data for-
matter. The 10 bits of the result data are formatted into
a 16-bit word.
FIGURE 16-2:
© 2006 Microchip Technology Inc.
PWM
Measuring peak inductor current is very important
I
I
R
L
Desired sample point
ADC Result Buffer
Critical Edge
APPLICATION EXAMPLE: IMPORTANCE OF PRECISE SAMPLING
X
X
X
Late sample yields
zero data
Preliminary
16.5
The ADC module implements a concept based on
“Conversion Pairs”. In power conversion applications,
there is a need to measure voltages and currents for
each PWM control loop. The ADC module enables the
sample and conversion process of each conversion
pair to be precisely timed relative to the PWM signals.
In a user’s application circuit, the PWM signal enables
a transistor, which allows an inductor to charge up with
current to a desired value. The longer a PWM signal is
on, the longer the inductor is charging, and therefore
the inductor current is at its maximum at the end of the
PWM signal. Often, this is the point where the user
wants to take the current and voltage measurements.
Figure 16-2 shows a typical power conversion applica-
tion (a boost converter) where the current sensing of
the inductor is done by monitoring the voltage across a
resistor in series with the power transistor that
“charges” the inductor. The significant feature of this
figure is that if the sampling of the resistor voltage
occurs slightly later than the desired sample point, the
data read will be zero. This is not acceptable in most
applications. The ADC module always samples the
analog voltages at the appointed time regardless of
whether the ADC converter is busy or not.
The Power Supply PWM module supports 2-4 indepen-
dent PWM channels as well as 2-4 trigger signals (one
per PWM generator). The user can configure these
channels to initiate an ADC conversion of a selected
input pair at the proper time in the PWM cycle. The
Power Supply PWM module also provides an addi-
tional trigger signal (Special Event Trigger), which can
be programmed to occur at a specified time during the
primary time base count cycle.
+V
dsPIC30F1010/202X
IN
PWM
V
Application Information
ISENSE
Example Boost Converter
L
I
L
R
I
R
DS70178C-page 181
+
C
V
OUT
OUT

Related parts for DSPIC30F2023