Sorry. As my English is not so good I didn't explained very well what I need in my application. I don't know yet the exact value for frequency. It will depend on some mechanical features which are not ready yet. But the frequency should be somewhere between 201.70 - 201.76, so I should be able to tune the frequency with a precision at least = 0.01 Hz.
The first calculation (for 16Mhz) is for CTC mode? After seeing the prescaler=2 and your calculations, I realised that I ignored that mode and I have made all my estimations in fast pwm mode.
But indeed I already have an accurate TCXO at 10MHz and I would try to use it as my application could be exposed to some temperature variations.
I need to make a microstep in that period.
I added a custom board in boards.txt. I am working on a mac so the file was in a different location. But it still don't work. Now I have more error messages.
avrdude: ser_setspeed(): tcsetattr() failed
avrdude: ser_open(): can't set attributes for device "/dev/tty.usbserial-A98VRT15": Invalid argument
ioctl("TIOCMGET"): Bad file descriptor
avrdude: ser_close(): can't reset attributes for device: Bad file descriptor
I suppose that the usb-ttl adapter don't understand that baud = 72000
I copied the records from arduino uno and I changed the name, the baud and the clock. These are the lines added: