**"Problema con la Comunicazione Seriale con RP2040"**

Hi there,

So Others may help: G translate…
"
This ensures the stability of serial communication between a C++ application on Windows and an RP2040 microcontroller (XIAO RP2040). I have implemented a ConnectRP function to open the serial port, configure the parameters (baud rate, timeout, etc.), simulate the behavior of the serial monitor by activating/disengaging the DTR/RTS signals and sending a wake-up signal. However, the code does not work correctly unless a serial monitor is present (for example, it is integrated in VS Code).

When I use the serial monitor:

L’RP2040 if “sveglia” correctly.
Communication becomes problematic.
When I use il mio code:

L’RP2040 does not respond to successive commands.
Do not receive any response from the device.
To try various solutions, how to simulate the behavior of the serial monitor (activating/disabling DTR/RTS), sending wake-up characters (\n\n\n) and updating again, the problem persists. "

Are you using the " While Serial " in the code? if so remove or comment it out and try again.
HTH

GL :slight_smile: PJ :v: