25kHz PWM signal to analog voltage (DC) using low-pass filter: Weird output

Looks like the signal generator may be giving an output that alternates between -5V and +5V, rather than 0V and +5V.

So at 50%, the positive and negative going parts of a cycle cancel out and give 0V.