I report a information of problem between XIAO PWM out and Arduino Servo Library.
I tried to use both PWM output and Arduino Servo Library for SAMD on Seeeduino XIAO, but pin6 and pin7 of analogWrite() didn’t work.
I solved it by rewriting TC4 to TC5 in ServoTimers.h of Arduino Servo Library for SAMD in order to change Timer/Counter.
Arduino IDE version 1.8.12
Seeed SAMD Boards version 1.7.2