10.1 Layout Guidelines
The high switching frequency and large switching currents of the LM3642 make the choice of layout important. The following steps should be used as a reference to ensure the device is stable and maintains proper LED current regulation across its intended operating voltage and current range.
- Place CIN on the top layer (same layer as the LM3642 and as close to the device as possible. The input capacitor conducts the driver currents during the low side MOSFET turn-on and turn-off and can see current spikes over 1 A in amplitude. Connecting the input capacitor through short wide traces to both the IN and GND pins will reduce the inductive voltage spikes that occur during switching and which can corrupt the VIN line.
- Place COUT on the top layer (same layer as the LM3642) and as close as possible to the OUT and GND pin. The returns for both CIN and COUT should come together at one point, and as close to the GND pin as possible. Connecting COUT through short wide traces will reduce the series inductance on the OUT and GND pins that can corrupt the VOUT and GND line and cause excessive noise in the device and surrounding circuitry.
- Connect the inductor on the top layer close to the SW pin. There should be a low-impedance connection from the inductor to SW due to the large DC inductor current, and at the same time the area occupied by the SW node should be small so as to reduce the capacitive coupling of the high dV/dt present at SW that can couple into nearby traces.
- Avoid routing logic traces near the SW node so as to avoid any capacitively coupled voltages from SW onto any high-impedance logic lines such as STROBE, SDA, and SCL. A good approach is to insert an inner layer GND plane underneath the SW node and between any nearby routed traces. This creates a shield from the electric field generated at SW.
- Terminate the Flash LED cathodes directly to the GND pin of the LM3642. If possible, route the LED returns with a dedicated path so as to keep the high amplitude LED currents out of the GND plane. For Flash LEDs that are routed relatively far away from the LM3642, a good approach is to sandwich the forward and return current paths over the top of each other on two layers. This will help in reducing the inductance of the LED current paths.