SpresenseArduinoLibraryのanalogWrite()では490Hzの周期でPWM出力されるとなっていますが、
6.5MHzで動作させるにはどうすればよいのでしょうか?
https://developer.sony.com/ja/develop/spresense/developer-tools/hardware-documentation#_pwm%E3%81%AE%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95