Yes I have the exact same code.
I noticed one thing.
Right after flashing the ESP32C I get the following log:
[17:32:43][C][logger:293]: Logger:
[17:32:43][C][logger:294]: Level: DEBUG
[17:32:43][C][logger:295]: Log Baud Rate: 115200
[17:32:43][C][logger:296]: Hardware UART: USB_SERIAL_JTAG
[17:32:44][C][uart.idf:116]: UART Bus:
[17:32:44][C][uart.idf:117]: Number: 0
[17:32:44][C][uart.idf:118]: TX Pin: GPIO6
[17:32:44][C][uart.idf:119]: RX Pin: GPIO5
[17:32:44][C][uart.idf:121]: RX Buffer Size: 256
[17:32:44][C][uart.idf:123]: Baud Rate: 115200 baud
[17:32:44][C][uart.idf:124]: Data Bits: 8
[17:32:44][C][uart.idf:125]: Parity: NONE
[17:32:44][C][uart.idf:126]: Stop bits: 1
When I disconnect and reconnect the power to the ESP32C I get the following log
[17:39:20][C][logger:293]: Logger:
[17:39:20][C][logger:294]: Level: DEBUG
[17:39:20][C][logger:295]: Log Baud Rate: 115200
[17:39:20][C][logger:296]: Hardware UART: UART0
That’s one part of the problem I think. I got a second ESP32C to see if there is any difference. There is not both XIAO boards have the same problem. I also got a second mmwave sensor. I will hook it up tomorrow to see if it makes any difference.