DSPIC33FJ128GP706-E/PT Microchip Technology, DSPIC33FJ128GP706-E/PT Datasheet - Page 51

IC DSPIC MCU/DSP 128K 64TQFP

DSPIC33FJ128GP706-E/PT

Manufacturer Part Number
DSPIC33FJ128GP706-E/PT
Description
IC DSPIC MCU/DSP 128K 64TQFP
Manufacturer
Microchip Technology
Series
dsPIC™ 33Fr

Specifications of DSPIC33FJ128GP706-E/PT

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 ~ 125°C
Package / Case
64-TFQFP
For Use With
DM300024 - KIT DEMO DSPICDEM 1.1DV164033 - KIT START EXPLORER 16 MPLAB ICD2MA330012 - MODULE DSPIC33 100P TO 84QFPMA330011 - MODULE DSPIC33 100P TO 100QFPDM300019 - BOARD DEMO DSPICDEM 80L STARTERDM240001 - BOARD DEMO PIC24/DSPIC33/PIC32AC164327 - MODULE SKT FOR 64TQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
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 DSPIC33FJ128GP706-E/PT