Electronic – Signal integrity at 40 MHz with parallel signals

pcb-designsignal integrity

I have to design a board with an 8 bit parallel port that carries 40 MHz signals. It is not possible to wire them very short and in parallel (I am sure the wires will be about 7 cm long), so I have to wire them separatelly in pairs of 2 or 3 wires together because my microcontroller doesn't have all the port pins together (TQFP44 package).

Is any signal integrity considerations at this frequency ? I use Altium and can make trace lenght equal but this wires are not alone and maybe can affect other wires such as UART, TIMER inputs, etc. Moreover signals are not differential so I don't know what problems can it cause.

EDIT:

It is my microcontroller:
enter image description here

I need to use the 8-bit low side or 8-bit high side of PORTB (16 bits) or PORTC (16 bits) to connect it to an 8-bit buffer. As you can see pins are not consecutive so I will have to wire the traces whit more lenght (I have been say that at 40MHz lenght is not a problem yet) but I don't know how it can affect to other traces and how can I prevent high frequency problems like EMI.

Best Answer

Let me start by saying that 7 cm is not a long distance to go for 40 MHz signals. I've ran double that frequently and didn't even break a sweat. Below is a list of issues that you need to consider when doing this:

Trace length: As I just said, 7 cm is not far. But look at your timing budget. If your budget is tight you might have to do something called "matched trace lengths", where every signal of your bus has the same length. Odds are that at 40 MHz you don't need this, but it is worth looking into.

Parallel traces: Try to keep some space between signals on this bus. This is super important for clock and control signals, and less important for data. A normal PCB might have 0.008 inches (0.2 mm) between traces, and you might consider doubling or tippling that. It is OK for them to be close for short distances, but the longer the traces the farther apart they should be.

Power/Ground Planes: Yes, have them. This is important. Run your traces on a layer that is adjacent to the power or ground plane. I am skipping over a LOT of details here that pertain to high-speed digital design. This is an area for you to learn more of in the future. If you can't have a power/gnd plane then your problem has gotten 10 times harder. Run a ground trace next to each signal trace and hope for the best!

Termination: Yes, use them! If the signals are going from one chip to another (and not connecting to more chips) then using source termination is the easiest. Normally that would be a 33 to 50 ohm resistor in series and located at the driver of the signal.

Decoupling caps: Make sure that all chips are properly decoupled. Then add decoupling caps near places where signals move through a via (no more than 1 cap every 3 square cm). Again, I am skipping details but at 40 MHz you don't need to worry that much.