digitalWrite doesn't work after analogWrite on the same pin

Hi there,

I want to manipulate one pin with digitalWrite and analogWrite, which works fine on an Arduino-Uno. Now I have the XIAO-Board.
After switching the pin with digitalWrite to HIGH-Level - ok. LED is on.
After switching the pin with analogWrite to 100 Level - ok. LED is dim.
After switching the pin with digitalWrite to HIGH-Level - not ok. LED is still dim.

What is the reason for that?

Best

Erik