DSPIC33FJ128GP706A-I/MR Microchip Technology, DSPIC33FJ128GP706A-I/MR Datasheet - Page 34

IC DSPIC MCU/DSP 128K 64-QFN

DSPIC33FJ128GP706A-I/MR

Manufacturer Part Number
DSPIC33FJ128GP706A-I/MR
Description
IC DSPIC MCU/DSP 128K 64-QFN
Manufacturer
Microchip Technology
Series
dsPIC™ 33Fr

Specifications of DSPIC33FJ128GP706A-I/MR

Core Processor
dsPIC
Core Size
16-Bit
Speed
40 MIPs
Connectivity
CAN, I²C, IrDA, LIN, SPI, UART/USART
Peripherals
AC'97, Brown-out Detect/Reset, DMA, I²S, POR, PWM, WDT
Number Of I /o
53
Program Memory Size
128KB (128K x 8)
Program Memory Type
FLASH
Ram Size
16K x 8
Voltage - Supply (vcc/vdd)
3 V ~ 3.6 V
Data Converters
A/D 18x10b/12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-VFQFN, Exposed Pad
Product
DSCs
Processor Series
DSPIC33F
Core
dsPIC
3rd Party Development Tools
52713-733, 52714-737, 53276-922, EWDSPIC
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, DM240001, DV164033
Core Frequency
40MHz
Core Supply Voltage
3.3V
Embedded Interface Type
I2C, SPI, UART
No. Of I/o's
53
Flash Memory Size
128KB
Supply Voltage Range
3V To 3.6V
Rohs Compliant
No
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
MCP3909 / dsPIC33F 3-Phase Energy Meter Reference Design
DS51723A-page 34
The energy pulse processing program only begins when the level is close to outputting
pulse level. To simplify the process and shorten the ISR execution time, a counter is
used in place of the energy accumulation function for each pulse and to determine if a
pulse will be outputted. When the count is greater than the threshold of pulse output,
an energy pulse will be outputted, and the appropriate amount of energy will be sub-
tracted from the energy accumulating register. Output toggling will then be processed.
Once the width of the output pulse exceeds 80 ms, the pulse output will be turned off.
The program flow chart is shown in Figure 3-4.
FIGURE 3-4:
IC1 Interrupt Service Routine.
ICI Interrupt Service
Call MCP3909 data
reactive energy?
falling edge of
active energy?
active energy?
active energy?
rising edge of
falling edge of
rising edge of
read program
Processing
Processing
Processing
Processing
routine
Return
No
No
No
No
Yes
Yes
Yes
Yes
Update pulse width
counter, if pulse
width > 80 ms, toggle
pulse output level.
End pulse output
process.
Update pulse width
counter, if counter >
flip threshold, output
pulse and update
energy accumulation
register.
Update pulse width
counter, if pulse
width > 80 ms, toggle
pulse output level.
End pulse output
process.
Update pulse width
counter, if counter >
flip threshold, output
pulse and update
energy accumulation
register.
© 2009 Microchip Technology Inc.

Related parts for DSPIC33FJ128GP706A-I/MR