Signal generator with >8-bit DAC

You can only access one port at a time but if accessed directly after each other the glitch will be in the 1 micro second range.

I would first set the high 8 bits and then the 8 low bits to minimize the disruption in the signal (maybe add a small capacitor to dampen the noise effect?).