I have NOT been able to find libs for the onboard PDM on the sense. Everything I’ve seen out there is mbed only. I think the support folks confirmed that with me as well.
File>>Examples>>(Examples for Seeed XIAO nRF52840 Sense)>>nRF52840 PDM - Adafruit Fork>>PDMSerialPlotter