Hi There,
I tried to get the M5Stack CoreS3 (K128) to work with the M2Stack LAN PoE Base V12 (V012-C-V12).
I got the ethernet working, but in that case i can’t get the display work.
Both need the SPI.
My actual code:
esphome:
name: x
friendly_name: x
libraries:
- m5stack/M5GFX@^0.1.11
- m5stack/M5Unified@^0.1.11
esp32:
board: esp32-s3-devkitc-1
flash_size: 16MB
variant: esp32s3
framework:
type: arduino
# Enable logging
logger:
level: VERY_VERBOSE
# Enable Home Assistant API
api:
encryption:
key: x
ota:
- platform: esphome
password: "x"
ethernet:
type: W5500
mosi_pin: GPIO37 #GPIO38
miso_pin: GPIO35 #GPIO39
clk_pin: GPIO36 #GPIO40
cs_pin: GPIO9 #GPIO41
reset_pin: GPIO7
interrupt_pin: GPIO14 #GPIO34
clock_speed: 15MHz
manual_ip:
static_ip: 192.168.x.x
gateway: 192.168.x.x
subnet: 255.255.x.x
psram:
mode: octal
speed: 80MHz
display:
- platform: m5cores3_display
model: ILI9342
dc_pin: GPIO35
update_interval: never
id: m5cores3_lcd
allow_other_uses: true
The problem that I have ist that both (Display and Ethernet) use SPI.
But in the note of ethernet component it sayes:
SPI based chips do not use SPI Bus. This means that SPI pins can’t be shared with other devices.
What can i do?
Best regards,
Adrian