B2212 Ford S-max is defined as Knock Sensor Circuit Range Performance (Bank 1 or Single Sensor). This refers to camshaft timing, which in this case is over-retarded. The spark should have a light tan color. If the sensor probe comes with white and chalky parts, this means it has been lagging between switching phases, and should be replaced.
Possible Causes :
Pack the connector cavity with dielectric silicone compound (same stuff they use for light bulb sockets and spark plug wires) and reassemble. With the valve disconnected, the red voltmeter lead should be attached to the IMRC valve power wire and the black voltmeter lead connected to ground.
Diagnostic trouble code B2212 Ford S-max is not difficult to diagnose and repair. Thus, it always pays to have a qualified technician to look after your vehicle should this error code arise.
Diagnosing this code requires the engine to be in good running shape, without unmetered air entering the engine. If other codes that relates to misfiring condition, lean running or air entering the engine is present, then you must first fix those error codes before B2212 Ford S-max.
Fortunately, B2212 Ford S-max is a fairly common OBD code, meaning that it applies to all makes and models of vehicles made after 1996.