2 firmware partitions, Firmware partitions – Maxim Integrated 78M6612 M-API Library User Manual
Page 9

UG_6612_036
78M6612 M-API Library User Guide
Rev. 1.00
9
2 Firmware Partitions
The 78M6612 firmware provided by Teridian is partitioned into three main components:
• The Compute Engine (CE) firmware, although a separate set of source code, is a component of the
MAPI libraries responsible for precision Voltage, Current, Watts, and VARs measurements handled
by a dedicated processor. The source code for the CE is not described in this document or made
available for user modification.
• The 80515-based M-API firmware, in combination with the CE firmware, completes the M-API library
set and provides all the necessary IC configuration, calibration sub-routines, scaling, data conversion,
and timing control. This set of libraries is to be linked to the application firmware specific to the
desired host interface.
• The Application firmware exercises the M-API library and manages the communication to the host
controller/application. Teridian provides an example Serial Driver to be used as sample code as well
as the application firmware that uses this Serial Driver to exercise the MAPI library. Refer to the
applicable Firmware Description Document for more information on the application firmware.
Figure 1 shows a high level partitioning of the firmware architecture. The black boxes indicate object
code to be provided by Teridian. The white box indicates object and
UART/RS232 or I2C
Serial/I2C Host
Application
Host Controller
78M6612
CE
M-API
Application
source code provided by Teridian.
Figure 1: High Level Host/Firmware Interface Architecture