Hi,
I have bought the JC1060P470C-I-W-Y (black)
from AliExpress https://nl.aliexpress.com/item/1005010022828767.html
and have an issue:
When I got the interface I looked at the code in : Guition esp32-p4-jc1060p470 - #5 by gingermist
and wrote this config for the board:
esphome:
name: "jc1060p600"
friendly_name: "1060p600"
platformio_options:
build_flags:
- "-Wno-deprecated-declarations"
build_src_flags:
- "-Wno-literal-suffix"
esp32:
variant: esp32p4
flash_size: 16MB
cpu_frequency: 360MHZ
engineering_sample: true
framework:
type: esp-idf
advanced:
enable_idf_experimental_features: true
disable_vfs_support_termios: false
disable_vfs_support_select: false
disable_vfs_support_dir: false
sdkconfig_options:
CONFIG_SDMMC_HOST_DEFAULT: "y"
CONFIG_COMPILER_OPTIMIZATION_SIZE: "y"
CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS: "1"
CONFIG_LOG_DEFAULT_LEVEL: "2"
psram:
mode: hex
speed: 200MHz
logger:
level: WARN
api:
reboot_timeout: 0s
ota:
- platform: esphome
password: !secret ota_password
wifi:
reboot_timeout: 15min
power_save_mode: LIGHT
fast_connect: False
enable_btm: False
enable_rrm: False
passive_scan: False
enable_on_boot: True
post_connect_roaming: True
min_auth_mode: WPA2
ssid: !secret wifi_ssid
password: !secret wifi_password
esp32_hosted:
variant: esp32c6
reset_pin: GPIO54
cmd_pin: GPIO19
clk_pin: GPIO18
d0_pin: GPIO14
d1_pin: GPIO15
d2_pin: GPIO16
d3_pin: GPIO17
active_high: true
esp_ldo:
- channel: 3
id: dsi_phy_enable
voltage: 2.5V
adjustable: True
- channel: 4
id: sd_card_power
voltage: 2.7V
adjustable: True
output:
- platform: ledc
pin: GPIO23
id: gpio_backlight_pwm
light:
- platform: monochromatic
output: gpio_backlight_pwm
name: Display Backlight
icon: mdi:lightbulb-on
id: display_backlight
restore_mode: ALWAYS_ON
default_transition_length: 0s
gamma_correct: 1.0
i2c:
- id: bus_a
sda: GPIO07
scl: GPIO08
frequency: 400kHz
sda_pullup_enabled: False
scl_pullup_enabled: False
i2c_device:
- id: i2cdev1
address: 0x18
- id: i2cdev2
address: 0x32
- id: i2cdev3
address: 0x36
- id: i2cdev4
address: 0x40
touchscreen:
- platform: gt911
id: my_touchscreen
i2c_id: bus_a
reset_pin: GPIO22
interrupt_pin: GPIO21
display:
- platform: mipi_dsi
id: my_display
model: JC1060P470
color_order: RGB
reset_pin:
number: GPIO05
rotation: 0
update_interval: never
auto_clear_enabled: false
lvgl:
and I am sure I got a color correct LVGL test screen
but atfer adding my LVGL code I directly noticed that the color_order swapped from RGB to BGR!
No when I go back to my last working code (above) i still get this:
Is there someone who figured this out?




