Step 1 Schematic Implementation Plan — MCU + Ethernet + CAN
Purpose
This document defines the detailed schematic implementation plan for Step 1 of the CT04 Control PCB. It is a planning document only; no components should be added until the user approves this plan.
Step 1 scope:
STM32F427ZI MCU base circuit.
Local logic power required for Step 1.
KSZ8895 Ethernet switch with four external RJ45 ports using integrated magnetics.
RMII connection between STM32 Ethernet MAC and KSZ8895.
Two CAN interfaces: slave CAN uses ISO1042 isolation; master CAN is non-isolated.
RJ45 CAN connectors with the confirmed CT04 pinout.
5V for Step 1 comes from J8. The slave CAN isolated side uses isolated 5V generated from J8 5V on the Control PCB.
Out of Step 1 scope:
LoRa and Wi‑Fi.
USB hub and USB connectors.
RS‑485/BMS.
24V/5V load gating outputs.
Fans, lights, sensors, panel interface.
STO safety circuit.
Full PCB placement/routing.
Confirmed User Decisions
Table
Topic
Decision
Main MCU
STM32F427ZI, 144-pin LQFP
Ethernet switch
KSZ8895 family, 5-port switch
Ethernet topology
4 external switch ports + 1 MCU uplink
MCU ↔ switch interface
RMII
External Ethernet connectors
RJ45 connectors with integrated magnetics
CAN physical connector
RJ45
CAN RJ45 pinout
Pin 1 = CAN_H, pin 2 = CAN_L, pin 3 = GND
Master CAN termination
120Ω required
Slave CAN termination
No termination
CAN isolation reference
TI ISO1042DWEVM / ISO1042-based design for slave CAN only
ISO1042 quantity
1 unit for slave CAN
Master CAN
Non-isolated CAN transceiver
Isolated CAN supply
Isolated 5V generated locally on Control PCB from J8 5V
Library parts
Use suitable common Flux/library parts where exact MPN is not specified
Control PCB power architecture
Control PCB receives regulated rails from Power PCB; it does not implement 54.6V DC/DC conversion
Step 1 Functional Block Diagram
Diagram
Schematic Pages / Functional Sections
Sheet 1 — Step 1 Power Entry and Local Rails
Create the minimum power infrastructure needed for Step 1 only.
Planned circuits:
5V input net from J8 / Power PCB connector.
5V protection/filtering placeholder:
input bulk capacitor,
local bypass capacitors,
fuse/current limit and TVS to be finalized when full power connector is implemented.
3.3V regulator from 5V for:
STM32 VDD/VDDA,
KSZ8895 logic power as required by datasheet,
ISO1042 logic-side VCC1,
RMII pullups/straps as required.
Isolated 5V DC/DC from J8 5V for slave ISO1042 VCC2 / isolated bus side.
Separate net names:
+5V_IN
+3V3
+5V_ISO_CAN
GND
GND_CAN_ISO
Implementation notes:
Do not connect GND and GND_CAN_ISO directly.
Provide clear isolation barrier between logic ground and isolated CAN ground.
Use one isolated 5V supply sized for the slave ISO1042 bus side.
Add test points for +5V_IN, +3V3, +5V_ISO_CAN, GND, and GND_CAN_ISO.
Sheet 2 — STM32F427ZI Core
Use STM32F427ZI reference design/datasheet as source.
Planned circuits:
MCU power:
all VDD pins to +3V3,
all VSS pins to GND,
VDDA/VREF+ filtering from +3V3,
VSSA to analog ground reference per STM32 reference guidance.
Decoupling:
100nF close to every VDD/VDDA supply pin,
several bulk capacitors near the MCU supply cluster.
Clocking:
HSE 8MHz crystal with load capacitors unless a different KSZ8895/RMII clock strategy requires a shared oscillator.
LSE 32.768kHz crystal for RTC if still required.
Reset/boot:
NRST pullup/cap/reset access per STM32 recommendation,
BOOT0 strap to default application boot,
BOOT configuration accessible for recovery if desired.
Programming/debug:
SWD connector with SWDIO, SWCLK, NRST, GND, and target voltage reference.
Ethernet RMII pins:
reserve STM32 Ethernet RMII signals to KSZ8895.
CAN pins:
assign two bxCAN interfaces to ISO1042 transceivers.
Proposed STM32 interface net groups:
Table
Function
Net Group
RMII
ETH_RMII_*
Ethernet management
ETH_MDIO, ETH_MDC, switch reset/interrupt/strap pins as required
CAN master
CAN_MASTER_TX, CAN_MASTER_RX
CAN slave
CAN_SLAVE_TX, CAN_SLAVE_RX
Debug
SWDIO, SWCLK, NRST, SWO optional
Clocks
HSE_IN, HSE_OUT, LSE_IN, LSE_OUT
Sheet 3 — KSZ8895 Ethernet Switch
Use Microchip KSZ8895 datasheet/reference/eval schematic as source.
Planned circuits:
KSZ8895 power rails and decoupling:
implement all required analog/digital/core supply pins per exact KSZ8895 variant.
verify whether any rail requires 1.8V/1.2V or whether selected variant provides internal regulation.
RMII host port to STM32:
connect RMII signals between STM32 and KSZ8895.
include required series resistors if recommended.
Clocking:
define whether RMII reference clock is generated by KSZ8895, STM32/MCO, or external 50MHz oscillator.
this must be confirmed by datasheet/reference schematic before implementation.
Four external Ethernet PHY ports:
each port routed to RJ45 connector with integrated magnetics.
include Bob Smith termination / center tap termination / common-mode components exactly as recommended for the selected integrated-magnetics connector and KSZ8895 reference design.
Configuration straps:
mode straps for RMII, PHY address, LED behavior, unmanaged switch defaults, etc.
Management/control:
MDIO/MDC or SPI/I2C management interface if required by selected KSZ8895 variant.
reset pin from STM32 or RC reset supervisor.
optional interrupt/status to STM32.
Ethernet ESD:
TVS/ESD protection appropriate for Ethernet lines and chassis/earth strategy.
Ethernet open items to confirm during implementation research:
Exact KSZ8895 variant and package available in Flux library.
Exact power rails required by that variant.
RMII clock ownership and 50MHz reference-clock topology.
Exact integrated-magnetics RJ45 part number and footprint.
Whether connector shield connects to chassis, digital ground via RC/TVS, or left as mechanical shield pending enclosure grounding plan.
Sheet 4 — CAN Interfaces
Use TI ISO1042DWEVM and ISO1042 datasheet/reference schematic as source for the isolated slave CAN. Use a common non-isolated CAN transceiver reference design for master CAN.
Planned circuits:
Two CAN channels:
CAN_MASTER: non-isolated CAN transceiver.
CAN_SLAVE: ISO1042-based isolated CAN transceiver.
Slave CAN ISO1042 logic side:
VCC1 from +3V3 if ISO1042 variant supports 3.3V logic side; otherwise use the datasheet-required rail.
Source/confirm suitable common Flux library parts for STM32F427ZI, KSZ8895 variant, ISO1042, non-isolated CAN transceiver, integrated-magnetics RJ45, RJ45 CAN connector, 3.3V regulator, isolated 5V DC/DC, crystals, ESD/protection parts, and passives.
Add Step 1 power rails and regulators.
Add STM32 core with clocks, reset, BOOT straps, SWD, and decoupling.
Add KSZ8895 Ethernet switch support circuit.
Add four RJ45 integrated-magnetics Ethernet ports and Ethernet protection.
Add one non-isolated master CAN circuit, one ISO1042 isolated slave CAN circuit, isolated 5V supply, CAN protection, RJ45 connectors, and termination.
Wire Step 1 nets using the net naming above.
Run schematic ERC/design review.
Fix ERC issues.
Produce a Step 1 review summary and updated open-items list before moving to Step 2.
Verification Checklist Before Step 1 Is Considered Complete
STM32 all power pins connected and decoupled.
STM32 boot/reset/debug circuits present.
STM32 HSE/LSE clock circuits present or documented alternative chosen.