1.4.1 Host Interface Description

Meters And More Host Interface is a Serialization Protocol, which is defined by the Meters And More Standard, and is required to perform a Certification.

This Certification requirement is the reason why the Embedded part of this Serialization Protocol is provided along with the Meters And More Stack.

Host Interface duties are to transport commands from a Serial Interface to the Meters And More Stack, and vice versa.

Figure 1-13. Host Interface Connecting Serial Iface With Meters And More

Commands and Codes

Host Interface provides different functionalities based on different commands.

Commands are specified according to the following table:
CMD NameREQUESTPositive CONFIRMNegative CONFIRMINDICATIONDescription
BIO_Reset0x3C0x3D-0x3EAllows the Host Controller to reset the Meters And More Device (REQ) and be informed of when the reset is completed (IND)
MIB_Write0x080x090x0B0x0AWrites an object on Information Base
MIB_Read0x0C0x0D0x0F-Reads an object from Information Base
Slave_Data0x240x250x270x26Send response messages to a Master Data Request over PLC behaving as a Slave node
Master_Data0x280x290x2B0x2ASend messages over PLC while behaving as a Master node
HI_Ping0x2C0x2D--Performs a “ping” on the Host Interface. CFM uses the same payload as the REQ command
HI_Error---0x36Received command frame is not recognized as a valid request command code
In addition to the standard ones, Microchip implementation adds a new command for sending frames at PHY level:
CMD NameREQUESTPositive CONFIRMNegative CONFIRMINDICATIONDescription
Phy_Data0x480x490x4B0x4ASends a frame over PLC PHY
When a Negative CONFIRM is received, the possible Error Codes are the following:
Error CodeValueDescription
WPL0x02Wrong argument/parameter length
WPV0x03Wrong argument/parameter value
BUSY0x04Function is busy or not configured
NOT_PRESENT0x06Function is physically not present or not connected
DISABLED0x07Function is disabled by a software option
TIMEOUT0x08Operation timeout
ERROR0xFFGeneric error
The BIO_Reset Indication command returns one byte of information, encoded in the following way:
Byte Indexbit 7bits 6 to 0
Reconfiguration StatusReset Cause
Reconfiguration Status:
  • 0: One or more reconfigurable MIB objects has not been reconfigured
  • 1: All reconfigurable MIB objects has been reconfigured
Reset Cause:
  • 0: Power-on or HW reset
  • 1: Watchdog reset
  • 2: SW reset
  • 3: BIO Request
  • 4: Diagnostic: Inconsistent PLC PHY ISR received
  • 5: Diagnostic: Timer and ZERO CROSSING
  • 6: Diagnostic: FSM unreachable state
  • 7: Diagnostic: No ISR from PLC