Skip to content

Commit 0f96904

Browse files
authored
Update M5Stack Core2 V1.0 display configuration (switch to mipi_spi platform) (#1361)
* Update M5Stack Core2 display configuration Updated display configuration to use mipi_spi with ILI9341 model. Adjusted notes to reflect changes in display compatibility. * Fix indentation for show_test_card in M5Stack-Core2 docs * Document Arduino framework requirement for axp192 Added note about Arduino framework requirement for axp192 component. * Typical conventions (width × height)
1 parent 9158fc3 commit 0f96904

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

src/docs/devices/M5Stack-Core2/index.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: M5Stack M5Core2
3-
date-published: 2025-05-29
3+
date-published: 2025-12-05
44
type: misc
55
standard: global
66
board: esp32
@@ -48,6 +48,9 @@ esphome:
4848

4949
esp32:
5050
variant: esp32
51+
# Arduino framework is required for the axp192 component
52+
framework:
53+
type: arduino
5154

5255
psram:
5356
mode: quad
@@ -119,17 +122,22 @@ i2c:
119122
scan: true
120123

121124
display:
122-
- platform: ili9xxx
123-
model: ili9342
125+
- platform: mipi_spi
126+
model: ILI9341
127+
id: main_display
124128
cs_pin: GPIO5
125129
dc_pin: GPIO15
130+
data_rate: 40MHz
126131
invert_colors: true
127-
show_test_card: true
132+
pixel_mode: 18bit
128133
dimensions:
129134
width: 320
130135
height: 240
131-
transform:
132-
mirror_x: false # must be explicitly included, otherwise it defaults to true with the ili9342
136+
transform: # must be explicitly set until bug is fixed
137+
swap_xy: false
138+
mirror_x: false
139+
mirror_y: false
140+
show_test_card: true
133141

134142
touchscreen:
135143
- platform: ft63x6
@@ -188,7 +196,7 @@ binary_sensor:
188196

189197
## Notes
190198

191-
- **Display**: works reliably with `ili9342`
199+
- **Display**: works reliably with `mipi_spi` (ILI9341)
192200
- **Touchscreen**: works well with `ft63x6`, including virtual button regions (A/B/C)
193201
- **MPU6886 IMU**: provides data for accelerometer, gyroscope, and temperature. Temperature readings are erratic and inaccurate
194202
- **Speaker**: didn't work, but some config is provided

0 commit comments

Comments
 (0)