Does Arduino work for high frequency switching?

thanks

You might need an interface FET like the Vishay Si 4559 ADY. This has a gate-source turn on voltage low enough that even a 3.3V microcontroller output can turn it on.

I've only used this at low frequencies, but it might be okay for 330kHz switching with worst case rise and fall times of 45 nS.

Si 4559 ADY

There is a whole class of FETs called Logic Level FETs. Often those FETs have an L in the name, like IRL44N where L is for logic level can open them 100% (2V for some) and the N is (I think) for Negative that to me means that transistor is a drain to GND transistor.

comment removed cause of PC types that might see it

i have access to a basic arduino uno and an arduino mega. Is there any difference?

yes, a have a couple gate drivers in mind to manage voltage, im more interested on the frequencies that arduino can supply.

thanks, ill keep it in mind