For a balanced PCB design, it’s generally advisable to dedicate about half of the layers to planes. This can be adjusted for higher layer counts where crosstalk is less of an issue (e.g., most digital communications, but not precision RF).
In a 4-layer PCB, the outer layers are typically used for component placement (assuming a mostly-SMT design), leaving the inner layers for ground (GND) and power (VCC). Therefore, a typical stack-up would involve using the two inner layers for GND and VCC, divided as needed.
For a 2-layer PCB, you can only afford one dedicated plane layer. However, this setup has limitations because you may need to route traces on both sides to resolve crossings, creating slots in the ground pour and reducing coverage.
To mitigate this, you can use a technique where both top and bottom layers have ground pours, connected with stitching vias around any crossings or slots. This minimizes the loop area for ground paths, improving signal integrity.
In cases where two traces cross, it’s crucial to add vias at the corners of the intersection to keep the loop size minimal. This helps maintain a solid ground reference even with routing on both layers.
Routing both VCC and GND on the same layer can create numerous voids, complicating connections and increasing impedance. Instead, route VCC point-to-point with local bypass capacitors at every power pin or group of pins. This method approximates a lumped-equivalent transmission line network, easily terminated with resistance at one or both ends. Use an R+C termination with an electrolytic or tantalum capacitor and a series resistor for added stability.
Therefore, it is recommended to route a 2-layer board with ground pours on both sides, varying layer affinity by area. Preferably, most components and routing should be on the top layer, but bottom routing or placement is acceptable if stitched as well as the top. VCC should be routed point-to-point with point-of-use bypass capacitors and other PDN considerations. This approach approximates a lumped-equivalent transmission line network, easily terminated with some resistance at one or both ends using an R+C network (e.g., an electrolytic or tantalum capacitor with nominal ESR or a ceramic capacitor with added ESR in series).