100%
mate-net-monitor mate-net-monitor view
Description

Imported from GitHub: ihartwig/mate-net-monitor · commit 8f23989 · license MIT

Description

Baseboard PCBA for MATE Net monitoring with a Particle Boron

README

mate-net-monitor

Baseboard PCBA for MATE Net and Magnum Net power system monitoring with a Particle Boron.

GPIO Pin Usage

PinFunctionUsage
0SDA-- (expansion connector)
1SCL-- (expansion connector)
2D2 / SPI_SCK-- (Mag Net activity indicator low)
3D3 / SPI_MOSI-- (Mag Net xcvr enable low unpopulated)
4D4 / SPI_MISO-- (Mag Net UART TX?)
5D5-- (Mag Net UART RX?)
6D6IRQ from MAX3100 adpt
7D7--
8D8--
9D9 / UART1_TXUART from MAX3100 adpt
10D10 / UART1_RXUART to MAX3100 adpt
11MISPI to MAX3100 adpt
12MOSPI to MAX3100 adpt
13SCKSPI to MAX3100 adpt
14A5 / SPI_SSSPI to MAX3100 adpt
15A4-- (expansion connector)
16A3-- (expansion connector)
17A2-- (expansion connector)
18A1-- (expansion connector)
19A0MATE Net activity indicator high
20--

Hardware

  • pcb - main baseboard with connectors and interface circuits for MATE Net and Magnum Net
  • pcb-max3100-uart-adpt - extra max3100 UART port (capable of 9N1) for MATE Net

The pcb dc-dc power supply required some rework to achieve stable operation.

mate-net-monitor-rework-dcdc

Additionally, some modifications during assembly are required compared to the as-designed files here. This primarily addresses pin assignment issues:

  • Mag Net is attached to pins that do not have a UART; remap these on the Boron board as the internal UART can be used for this.
  • Mate Net needs a 9-bit capable UART; stack the pcb-max3100-uart-adpt on the bottom side of the pcb mainboard to add this.
    • GND, 3V3, and /IRQ on the far side need to be wired to sources on the mainboard.
    • /SHDN needs to be pulled up (via 10k) to 3V3.

Firmware

  • fw-mate-net-monitor - WIP application firmware for reporting MATE inverter stats to particle cloud
  • fw-test - simple hardware test firmware for burn-in testing of interfaces

Inside the fw-test folder there is a MAX3100Serial9B library extended from ewpa's MAX3100Serial with some adaptations to Particle and significant new features:

  • addition of software buffers and interrupt handling for continuous stream operation
  • irq, sent, read, and overflow counters
  • (WIP) 9-bit read and write configuration
Comments
Sign in to comment

No comments yet. Be the first to ask about this board.