I'm projecting a PCB board with a Raspberry RP2040 and the WiFi module Ai-Thinker ESP-12F (it is the only available from my PCB provider) following the official documentation, but I have some doubts about electrical connection between RP2040 and ESP-12F. I would like to use Raspberry RP2040 as main processor and ESP-12F only as Wi-Fi modem for data transmission (using Blynk IoT service). This is my PCB schema; this is the Ai-Thinker datasheet.
This table is taken from the official RP2040 datasheet. These are the first 10 pins of the RP2040. Can I connect TX from RP to RX of ESP and viceversa? How do I connect other pins in order to use ESP-12F as modem for data transmission over Wi-Fi?