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

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
6.1
© 2009 Microchip Technology Inc.
INTRODUCTION
Chapter 6. Meter Communications Protocol
The UART interface is used to communicate with the upper computer (MCU or PC). Via
the UART interface, the upper computer reads the measured parameters of the power
grid, and may also send system parameters and calibration parameters to target board
as well.
The communication interface is a bidirectional interface based on UART, using
master/slave half-duplex mode. The baud rate is 19,200 bps, with 1 start bit, 8 data bits
and 1 stop bit. Communication is done by frames with non-fixed-length frame structure,
definition of which is shonw in Table 6-1. Communication protocol is specified in
master-slave structure. The system in this design is the slave, and the upper computer
is the master. The master sends commands to the slave, and the slave responds to the
master.
UART communication uses half-duplex mode. The data format is 8-1-1 and the rate is
19,200 bps. The PC is the host computer, and the target board is the slave.
There are 14 command strings that the meter uses. These command strings are
defined in Table 6-1
TABLE 6-1:
Test Connection
Total Data Request
Harmonic Content, Phase A
Harmonic Content, Phase B
Harmonic Content, Phase C
Total Harmonic Distortion
Energy
Stop Energy Measurement and Clear Energy Values
Harmonic Power
Write Calibration Values to Meter
Write Phase Lag Calibration Values to Meter
Write Power Calibration Values to Meter
Write Energy Pulse Configuration - Active/Apparent
Reset All Calibration Values
Write Energy Pulse Constant
ENERGY METER REFERENCE DESIGN
COMMAND STRINGS
MCP3909 / DSPIC33F 3-PHASE
Command Description
DS51723A-page 51
Command
0x41
0x42
0x43
0x44
0x45
0x46
0x47
0x48
0x49
0x62
0x63
0x64
0x65
0x66
0x67

Related parts for DSPIC33FJ128GP706A-I/MR