In MEGA 2560, making triangular waves over 300kHz

This should be possible using DDS on the arduino with an RC integrator on the output. So you'd only need two additional components.

Google arduino dds and you should find plenty to get you started.