Lost unable to make this Crowpanel round 480x480 to work

Hi

I'm desperate about installing with esphome this Electraw Crowpanel :face_with_bags_under_eyes: :face_with_thermometer:

https://www.elecrow.com/wiki/CrowPanel_2.1inch-HMI_ESP32_Rotary_Display_480_IPS_Round_Touch_Knob_Screen.html

24h with Gemini and Chat and ..nothing wifi ok but no display. dozens of versions flashed and always 'black' or various backgrounds colors with vertical thin (about 1cm central area)

every try is game over

Does anyone made this shit working please ? :roll_eyes:

Thank a lot

last version:

esphome:
  name: clim-control1
  friendly_name: Clim Control1
  on_boot:
    priority: 1000.0
    then:
      - switch.turn_on: lcd_power
      - delay: 500ms

esp32:
  board: esp32-s3-devkitc-1
  framework:
    type: esp-idf



wifi:
  ssid: "Livebox-1F30"
  password: "xxxxxxxxxxx"
  power_save_mode: none
  reboot_timeout: 15min

logger:
  hardware_uart: USB_SERIAL_JTAG

api:
  encryption:
    key: "C/psM/***************="

ota:
  - platform: esphome
    password: ***************

i2c:
  sda: GPIO38
  scl: GPIO39

pcf8574:
  - id: pcf_ext
    address: 0x21

spi:
  clk_pin: GPIO2
  mosi_pin: GPIO1
  

output:
  - platform: ledc
    pin: GPIO6
    id: backlight
    frequency: 19531Hz

switch:
  - platform: gpio
    name: "Alimentation LCD"
    pin:
      pcf8574: pcf_ext
      number: 3
      mode: OUTPUT
    id: lcd_power
    restore_mode: ALWAYS_ON

  - platform: output
    name: "Rétroéclairage"
    output: backlight
    restore_mode: ALWAYS_ON

psram:
  mode: octal    

display:
  - platform: st7701s
    id: my_display
    dimensions:
      width: 480
      height: 480
    cs_pin: GPIO16
    de_pin: GPIO40
    hsync_pin: GPIO15
    vsync_pin: GPIO7
    pclk_pin: GPIO41
    spi_mode: MODE3
    color_order: RGB
    invert_colors: true      # Remis à false (zéro inversion parasite)
    pclk_frequency: 16MHz
    pclk_inverted: true     # NOTRE SÉCURITÉ : Repassé à false

    hsync_pulse_width: 10
    hsync_back_porch: 50
    hsync_front_porch: 10

    vsync_pulse_width: 8
    vsync_back_porch: 20
    vsync_front_porch: 10
    
    reset_pin:
      pcf8574: pcf_ext
      number: 4
      mode: OUTPUT

    data_pins:
      red:   [GPIO11, GPIO10, GPIO9, GPIO46, GPIO3]
      green: [GPIO8, GPIO18, GPIO17, GPIO5, GPIO45, GPIO4]
      blue:  [GPIO47, GPIO21, GPIO14, GPIO13, GPIO12]

    # FORCE LE REMPLISSAGE BLANC DIRECT POUR SQUELETTER LE SIGNAL
    #lambda: |-
    #  it.fill(Color(255, 255, 255));
 
lvgl:
  displays:
    - my_display

  widgets:
    - label:
        text: "BOOT OK"
        align: CENTER    

Thank for any working code or clues :slightly_smiling_face:

Did you try the Elecrow esphome example?

As @Karosm says have a look at their examples on GitHub

AI isn’t always great for HA/Esphome, always best to check official docs first.

looks like the ‘lessons’ on github were used as example for AI
but since then some good progression have been made .
the issue now is about external component that seems not to be compatible anymore with current ESPHOME (touchscreen)

Looks like there may be a native component, although it is for the 816 it does say it should work with 826.