Change SERIAL Pins

How to change the tx and rx pins of SERIAL2?

Hi @Tarciso
Unfortunately, You can’t because the peripheral pins are used in other layers of the firmware.
You can access them only through the pinmap of each device and use them as stated in the pinmap.