@skimans @hossam_2025, I think it has something to do with RMT driver of the ESP32S3 . I tried all day today to simulate this on my ordinary ESP32 but I don’t get the same error. But some low level routines and settings of the ESP32 and ESP32S3 are different for the RMT-function.
Is it possible to make the same test / logfiles with
define HAL_ESP32_RMT_RX_PIN_NUMBER GPIO_NUM_4
define HAL_ESP32_RCIN GPIO_NUM_4
#define AP_RCPROTOCOL_ENABLED 0
as this was used in the examples
I also have normal nodemcu esp32 wroom module, and it doesnt seem to have any issues like disconnecting or non-responsive mavlink. I tried connecting ppm signal from 3.3v arduino to it but it did not work, probably because something was wrong but even then it did not disconnect
hi @Juergen-Fahlbusch Excuse me for me late repsonde but i’m busy in these days.
I can set in my ESP32S3:
define HAL_ESP32_RMT_RX_PIN_NUMBER GPIO_NUM_4
define HAL_ESP32_RCIN GPIO_NUM_4
#define AP_RCPROTOCOL_ENABLED 0
i used this for my ESP32 normal..
in GPIO_NUM4 i have set one motor…but is not a problem i can change GPIO of motors
hi @Juergen-Fahlbusch wich board do you suggest me to use ?
becouse now i use ESP32-S3 N16R8..
thanks
@hossam_2025 i have SD card in my hands…but im’ not expert of SD-CARD youcan tell me in wich pins i must connect it ? in the firmware there are not pins…
| ESP32 | SDCARD |
|---|---|
| D2 | D0/PIN7 |
| D14 | CLK/PIN5 |
| D15 | CMD/PIN2 |
| GND | Vss1/PIN3 and Vss2/PIN6 |
| 3.3v | Vcc/PIN4 |
the readme mentions these pins. maybe you can try them.
@Ishitbh thanks for reply.
One question D14 is same pin GPIO14 of receiver…right ?
or i must try to use GPIO 4 for receiver…
What kind of SD-card tray you want to use. Iuse a SPI-Bus for my SD-card module. This must be defined by the HWDEF. In principle most free GPIOs can be used for this.
Using the GPIO definded for RCin is not possible at the same time.
Regarding which ESP32 I am using. It is the standard ESP32 Dev Module. No S2, S3 or S what ever.
hi Juergen. thanks for your answer.
i have HW-125 module. And i think that must to be connected only SPI.
The pinout of my ESP32-S3 is this:
@Juergen-Fahlbusch i have big dubt..
wich pin i must set for CS pin of HW-125 ? and wich name of SD-CARD when is set ESP32_SPIDEV ?
for now i have used pin GPIO_5
this is the code that i use for sdcard:
#ESP32_SPIBUS SPI3_HOST SPI_DMA_CH_AUTO GPIO_NUM_ GPIO_NUM_ GPIO_NUM_
Host DMA Channel MOSI MISO SCLK
ESP32_SPIBUS SPI3_HOST SPI_DMA_CH_AUTO GPIO_NUM_36 GPIO_NUM_37 GPIO_NUM_35
SPI Devices
Name Bus Device ChipSel Mode LoSpeed HiSpeed
ESP32_SPIDEV sd-card?? 0 0 GPIO_NUM_5 0 2MHZ 8MHZ
update: i have set
ESP32_SPIDEV SDCARD 0 0 GPIO_NUM_10 0 2MHZ 8MHZ
but not connect the same…
in ESP32 nodemcu i dont have set the SDCARD then i think is not this the problem..
The SDcard SPI should be not the same as the DeviceSPI
I have following entries at HWDEF:
#-----SDCARD
define HAL_ESP32_SDSPI {.host=VSPI_HOST, .dma_ch=2, .mosi=GPIO_NUM_23, .miso=GPIO_NUM_19, .sclk=GPIO_NUM_18, .cs=GPIO_NUM_5}
define HAL_ESP32_SDCARD
define HAL_LOGGING_STACK_SIZE 4096
define HAL_LOGGING_FILESYSTEM_ENABLED 1
define HAL_LOGGING_DATAFLASH_ENABLED 0
define HAL_LOGGING_MAVLINK_ENABLED 1
define LOGGER_MAVLINK_SUPPORT 1
define HAL_LOGGING_BACKENDS_DEFAULT 1
My pin definitions are based on the pinout of the ESP_DevKit_C_V4 not on your ESP32 S3. The used pins are the predefined pins for VSPI bus.
On this board VSPI_HOST is a alternative name of SPI 3.

