Skip to content

The hardware ​

One board is in service: can-mdv v2. There is a single kind of box to order, to wire and to program, and one series of firmware images for it.

can-mdv v2
Hardware ID990010058
MicrocontrollerSTM32U575 @ 160 MHz
MUXEN busone CAN bus, 500 kbit/s
Sensor busone LIN bus, 19200 baud
Switch drive outputs2
Switch position feedback1
Current measurement1 analog input
Software version series6.x

A box reporting a 5.x software version is an earlier board that never went into service. If you meet one, it is not a box to commission — report it rather than trying to update it.

The MUXEN bus ​

Speed500 kbit/s, fixed — it is not a setting
Framesclassic CAN, extended (29-bit) identifiers
Sample point75 %
Terminationthe MUXEN bus is terminated at its two physical ends — not at the can-mdv unless the can-mdv is an end

Ordinary 120 Ω CAN: two wires plus a common ground, 120 Ω at each end of the segment and nowhere else. A bus with one termination too many or one too few may work on the bench with a short cable and fail on the boat; it is worth checking with an ohmmeter (60 Ω across a powered-down, correctly terminated bus).

A can-mdv has only one CAN connector. There is no second CAN side to get the connectors the wrong way round on.

The LIN bus ​

Rolethe can-mdv is the LIN master
Speed19200 baud, 8 data bits, no parity, 1 stop bit
What goes on itthe battery sensor — see the battery-switch manual
Transceiverswitched by the firmware; it is turned off when the box goes to standby

The LIN transceiver being off is normal in standby and is not a fault. The bus is dead while the box sleeps and comes back when it wakes.

Inputs and outputs ​

Whatever firmware is loaded, the board carries these:

CountWhat it is
Switch drive outputs2the two coils of a bistable remote battery switch — one pulses it open, the other pulses it closed
Switch position feedback1a contact input, closed to ground when the switch is closed; internal pull-up, no external resistor needed
Supply-present input1tells the box whether the boat's supply is there; internal pull-up
CAN power injection output1supplies the MUXEN bus side from the box, so the bus survives the switch opening
Auxiliary power output1a switched output that follows the power injection
Current measurement1a 12-bit analog input measuring the current the box injects
System LED1the local diagnostic — see Common mistakes

The current measurement is scaled by a configurable coefficient before it is published. The two switch outputs are not a held state: a coil is driven only until the position feedback says the switch has moved, then released — a bistable switch holds its own position from there. If the switch never reaches the position asked for, the drive stops by itself after a configurable timeout.

Power and mounting ​

The box is powered from the boat's DC distribution, and is expected to stay powered when the battery switch it drives is open — that is the whole point of the supply-present input and the power injection output. Follow the mechanical and electrical figures on the product data brief for the product ID you are installing; this manual describes behaviour, not ratings.

Memory and firmware slots ​

The microcontroller's flash is split four ways, and this is why an update cannot leave a box with nothing to run:

AreaSizeWhat is in it
Bootloader40 KBvalidates and installs firmware; never written over the bus
Running firmware480 KBwhat the box is executing
Spare slot488 KBwhere an upload lands, before anything is installed
Settings16 KBevery parameter, kept across resets and firmware updates

Settings survive a firmware update. They do not survive a factory reset — see Common mistakes.

Firmware compatibility ​

A firmware image is built for one product ID and one board, and is signed with that board's key. An image the bootloader does not recognise is refused before anything is written; the box restarts on the firmware it already had. In practice this means the 6.x image carrying the right product ID, and nothing else. See Loading and updating a firmware.

Integration of multiplexed solutions
MUXEN and the MUXEN logo are trademarks of MUXEN SAS.