# HeciInit
**Index**: 0077 | **Size**: 41 KB (source) | **Arch**: x64 | **Phase**: PEI

## Overview
HeciInit initializes the HECI (Host Embedded Controller Interface) communication engine during PEI. It detects the ME type (SPS/WS/DFX), establishes HECI-1 and HECI-2 message channels, sends and receives HECI messages, and handles DWR (Disable Warm Reset) flows. The module provides the HECI PPI for other PEIMs to communicate with the Management Engine.

## Key Functions
- HECI-1 and HECI-2 initialization
- ME type detection (SPS/WS/DFX)
- HECI message send/receive (HeciSend, HeciRecv, HeciSendAndWait)
- DWR (Disable Warm Reset) flow handling
- ME firmware status polling
- HECI PPI installation

## Protocols / PPIs / Dependencies
- HECI PPI (produces)
- PeiServicesTablePointer PPI
- ME HOB (produces)

## Platform
HR650X (Purley platform)
