If you had two identical boxes (same volume) with the same mass of nitrogen in both, and both at the same temperature, then they would both have the same pressure.
pV = nRT
The molecules inside both would have the same mean (square) speed.
That's basic Gas Laws.
If you increase the temperature in one of the boxes, you will increase the pressure.