2.2.3.1 Interconnection Between PIC32CXMTC-DB and MCP3914-EB

Figure 2-31. Front Connection Between Evaluation Boards
Figure 2-32. Back Connection Between Evaluation Boards

Connections between PIC32CXMTC and until 3 MCP3914 using SPI with different CS signals the same RESET signal for all the MCP3914. In this example, only CS0 signal is used.

Table 2-2. MCSPI Connections
MCP3914 EBPIC32CXMTC-DBMCP3914 Board Number
J8 – 1RESETTP68PD120,1,2,3
J8 – 3MOSIJ14-10MCP3910_PD7 (MOSI)0,1,2,3
J8 – 5MISOJ14-8MCP3910_PD6 (MISO)0,1,2,3
J8 – 7SCKJ14-7MCP3910_PD5 (SPCK)0,1,2,3 (*)
J8 – 9CS0J14-9MCP3910_PD8 (NPCS)0 (**)
J8 – 9CS1EXT CONNPD91
J8 – 9CS2EXT CONNPD102
J8 – 9CS3EXT CONNPD113
J8 – 11DRU7 – 25ITOUT (PD0)
J3 – 5CLKIU7 – 30MCLK (PD4)
J10-GNDJ3-GND
J10+9VJ3+9V
Note:
  • (*) A serial resistor may be required to maintain the signal integration. The evaluation board mounts R17 (10 Ohms), but it is placed before the connector J3.
  • (**) In case of several MCP3914, only DR signal from the MCP3914 number 0 is connected to PIC32CXMTC.

Modifications Required in MCP3914 Evaluation Board

  • Remove module of the micro-controller.
  • Jumper J6 connected (DR signal requires a 1k pull-up resistor).
  • Jumper J9 selects power supply from 9V (by default, it is selected the USB position).

Modifications Required in PIC32CXMTC-DB

  • J15 removed (PD5-8 goes to J14 instead of ATSENSE).
  • U7 (ATSENSE) removed: ITOUT, MCLK are disconnected from ATSENSE. Alternatively, ITOUT and MCLK tracks could be cut.
  • PD12 requires a pull-up resistor. For testing purposes, internal pull-up of the GPIO could be used.
  • Remove D1 to avoid powering MCP3914 evaluation board with 12V (see below explanation).

Power Supply

MCP3914 board works at 9V and PIC32CXMTC-DB at 12V (although it is able to work at 9V).

If the PIC32CXMTC-DB is powered from mains or V1 input is connected, the TRACO power supply will fix 12V as power supply voltage in PIC32CXMTC-DB. As power supply line is the same for both boards, it could damage MCP3914 evaluation board, so, it is required remove D1 from PIC32CXMTC-DB in order to neutralize TRACO power supply and power both board with a 9V external power supply.

Additional Modifications to Connect the Metrology Inputs to the WECO Tester

  • Channels CH0, CH1 and CH2 are configured to measure voltage in single-ended mode.
  • Channels CH3, CH4 and CH5 are configured to measure current in differential mode.
  • Voltage and current inputs include anti-aliasing filter with cut-off frequency of 16 kHz.
METROLOGY INPUTS CONNECTION
ComponentOld ValueNew Value/ActionNotes
C1, C2, C8, C9, C47, C500.1u3.3 nFCH0 (V1), CH1 (V2), CH2 (V3)
R4, R11, R19, R21, R18, R651kRemoveCH0 (V1), CH1 (V2), CH2 (V3)
R3, R13, R15, R22, R16, R671k4.42kCH0 (V1), CH1 (V2), CH2 (V3)
C51, C52, C53, C54, C55, C560.1u10 nFCH3 (I1), CH4(I2), CH5 (I3)
R69, R71, R75, R77, R81, R831k1.62CH3 (I1), CH4(I2), CH5 (I3)
MTC Board
D1IncludedRemovePower supply 12V (TRACO) disabled
R31, R43, R554.42kRemove
FLYING WIRES BETWEEN BOARDS
TP25 (MTC) to CH0+ (MCP)V1. Use a GND wire twisted with the signal wire. Connect the wire to J2 (MCP3914 board).
TP28 (MTC) to CH1+ (MCP)V2. Use a GND wire twisted with the signal wire. Connect the wire to J5 (MCP3914 board).
TP31 (MTC) to CH2+ (MCP)V3. Use a GND wire twisted with the signal wire. Connect the wire to J20 (MCP3914 board).
METROLOGY INPUTS CONNECTION
VoltagesVoltage sources connected from WECO tester to PIC32CXMTC board voltage inputs V1, V2, V3, VN (J1, J2 connectors).
CurrentsCurrent sources connected from CT outputs to MCP3914 board channels CH3 (I1, J22 connector), CH4(I2, J24 connector), CH5 (I3, J26 connector).
  • The jumpers of the input networks (J1, J4, J7) for the voltage measurement only must connect the CHx- to GNDA, the rest of the jumpers in the connector must be unconnected.
    Warning: The schematic of the board has an errata regarding the channel number in the external connector).
  • The jumpers of the input networks (J21, J23, J25) for the current measurement only must connect the 3-4 pins, 1-2 and 5-6 pins (CHx+ and CHx-) must be unconnected.
Figure 2-33. MCP3914 Evaluation Board Inputs