MCP3909EV-MCU16 Microchip Technology, MCP3909EV-MCU16 Datasheet - Page 37

EVALUATION BOARD FOR MCP3909

MCP3909EV-MCU16

Manufacturer Part Number
MCP3909EV-MCU16
Description
EVALUATION BOARD FOR MCP3909
Manufacturer
Microchip Technology
Datasheets

Specifications of MCP3909EV-MCU16

Number Of Adc's
2
Number Of Bits
16
Sampling Rate (per Second)
15k
Data Interface
Serial
Inputs Per Adc
1 Differential
Input Range
±1 V
Voltage Supply Source
Analog and Digital
Operating Temperature
-40°C ~ 85°C
Utilized Ic / Part
MCP3909
Silicon Manufacturer
Microchip
Application Sub Type
ADC
Kit Application Type
Data Converter
Silicon Core Number
MCP3909
Kit Contents
Board
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
3.6
TABLE 3-1:
3.7
TABLE 3-2:
© 2009 Microchip Technology Inc.
Interrupt
Sync Field
Timer
Resource Name
System Clock
2 bytes
COMMUNICATION OF UART INTERFACE
RESOURCE CONFIGURATION
SPI2
SPI1
UART RX
UART TX
FRAME STRUCTURE OF COMMUNICATION PROTOCOL
CONFIGURATION OF MCU RESOURCES
Timer2
Timer3
TMR2
ADC
IC1
Command Type
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 the 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 shown in Table 3-1. The Communication protocol is specified in a
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 slave responds to the
master.
Each command is defined in Chapter 6. “Meter Communications Protocol”.
Details of the MCU resources used in this design and their configurations are listed in
Table 3-2.
1 byte
Interrupt
Priority
none
none
none
1
1
5
2
2
2
Fcy = 29.4912M, provided by an external 7.3728 Mz timer through an inter-
nal PLL frequency doubler.
System clock, used for timing. Its cycle is 10 ms. The interrupt flag may be
set in the IRS. Used to extend the indication of timer. Also used to deal with
UART reception overtime.
Used to detect ADC's sampling synchronization of neutral current. After the
frequency of the power grid is measured, the period of TMR3 is adjusted
accordingly. 16 points are sampled by ADC for each cycle of power grid.
ditto
Driven by a 3.2768 MHz clock. The MCP3909 device can generate
12.8 ksps of data output.
Sampling input capture. An interrupt is generated for every two MCP3909
device samplings. 6.4 ksps sampling rate is realized.
In fact, active power is cumulated at 6.4 ksps sampling rate (128 sampling
points each cycle at 50 Hz), but other parameters are cumulated at 3.2 ksps
sampling rate
Receive data of UART communication
Transmit data of UART communication
Detect current of neutral line
Used in communicating with the MCP390X device - set the MCP390X
device's modes and read A/D results
Unused, but the interface is reserved and may be used to communicate
with upper computer in substitution of the UART interface
Data Length
1 byte
Data Field
N bytes
Functional Description
Checkout Byte
1 byte
Firmware
DS51723A-page 37
End Byte
1 byte

Related parts for MCP3909EV-MCU16