Skip to main content

Hardware Interface

Document Pictures

Power Interface

The Megrez motherboard supports the following power supply methods:

  • DC interface, specification: 5.5*2.5mm, 12V/3A or higher.
  • PC standard ATX 24-pin power supply.
  • PoE power supply via network port (requires an additional PoE module).
tip

The power consumption of the Megrez motherboard depends on the power and number of connected peripherals. Choose the appropriate power supply method based on specific requirements.

Type-C Interface

  • The Type-C interface can be used for flashing or debugging. It allows the installation of system images to the board's SPI FLASH, eMMC module, or SATA SSD.

F_PANEL Interface

F_PANEL stands for Front Panel and is a set of pins used to connect the front panel of a standard PC case. It includes signals for power button, reset button, power indicator, and hard drive activity light.

tip

After powering the Megrez motherboard using one of the methods mentioned in the Power Interface section, the board will automatically boot. The power button in the F_PANEL is used for shutting down or turning the board back on after a shutdown.

Document Pictures
Document Pictures

F_AUDIO, F_USB2, F_USB3 Interfaces

Below is an example of a standard PC case front panel USB and audio expansion board, which includes Audio, USB2.0, and USB3.0 interfaces. You can use the corresponding connectors on the Megrez motherboard to extend USB and audio interfaces to the front panel of the PC case.

tip

The Megrez motherboard already has onboard Audio, USB2.0, and USB3.0 interfaces, so the corresponding functions can be used without a PC case.

Document Pictures

F_AUDIO

The F_AUDIO audio interface on the Megrez motherboard is compatible with the AC'97 front audio interface. The pin definitions are as follows:

Document Pictures
DescriptionPINPINDescription
MIC_IN12GND
MIC_POWER34GND
AUDIO_OUT_R56RET_R(NC)
NC7
AUDIO_OUT_L910RET_L(NC)

F_USB2

The F_USB2 interface on the Megrez motherboard is compatible with standard PC motherboard USB2.0 interfaces. The pin definitions are as follows:

Document Pictures
DescriptionPINPINDescription
5V125V
USB1-34USB2-
USB1+56USB2+
GND78GND
10GND

F_USB3

The F_USB3 interface on the Megrez motherboard is compatible with standard PC motherboard USB3.0 interfaces. The pin definitions are as follows:

Document Pictures
DescriptionPINPINDescription
ID12P2-D+
P1-D+34P2-D-
P1-D-56GND
GND78P2-SSTX+
P1-SSTX+910P2-SSTX-
P1-SSTX-1112GND
GND1314P2-SSRX+
P1-SSRX+1516P2-SSRX-
P1-SSRX-1718Vbus
Vbus19

Recovery/Normal Boot Toggle Switch

The default boot order for the Megrez motherboard is SPI Flash (U-boot) -> SD/eMMC/SATA.

If the U-boot firmware in the SPI Flash is damaged and cannot boot, you can use the Recovery/Normal Boot Toggle Switch to enter recovery mode. In this mode, the Megrez motherboard will load a temporary U-boot from USB.

Document Pictures

The status definitions are as follows:

DescriptionPINPINDescription
Boot from USB U-boot (Temporary)RECOVERYNORMALBoot from SPI Flash U-boot

SATA SEL Toggle Switch

The Megrez motherboard has two SATA hard drive interfaces:

One is the M.2 SATA SSD interface, and the other is the SATA3 hard drive interface. These two interfaces share the same SATA signal and can be switched using the SATA SEL Toggle Switch.

Document Pictures

Debug/Download

The Megrez motherboard has a built-in CH340 chip. By default, connecting the Type-C port to a PC enables debugging, and a new device tty.usbserial-1220 will appear on the PC.

The default serial port parameters for the Megrez motherboard are as follows:

baudrate: 115200
data bit: 8
stop bit: 1
parity : none
flow control: none
  • hokamilkv
  • kieranmilkv