bgoodwine / SeniorDesign

Code for Senior Design II
0 stars 1 forks source link

Migrate ESP32 devkit code to ESP32S3 #12

Closed bgoodwine closed 1 year ago

bgoodwine commented 1 year ago

Programming Errors

Program ESP32-S3-WROOM i.e. had to add this file and modify platform.ini

New error:

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x10 (RTCWDT_RTC_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x43c
load:0x403c9700,len:0xbec
load:0x403cc700,len:0x2a3c
SHA-256 comparison failed:
Calculated: 74cb8a0835ff948a23b1fa30f5641bd3d3fc50d3e848150763aab2d791fb9d34
Expected: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
Attempting to boot anyway...
entry 0x403c98d8
bgoodwine commented 1 year ago

SDA: ESP32 GPIO1 --> Pi GPIO2 SCL: ESP32 GPIO2 --> Pi GPIO3

bgoodwine commented 1 year ago
build_flags =
   -DARDUINO_USB_MODE=1
   -DARDUINO_USB_CDC_ON_BOOT=1
monitor_speed = 115200
monitor_rts = 0
monitor_dtr = 0

Added to enable serial monitor

bgoodwine commented 1 year ago

Issue: just connected wrong pins lol SDA: GPIO48 SCL: GPIO47

bgoodwine commented 1 year ago

Might have to slow clock down to 10kHz... Wire.setSpeed()

bgoodwine commented 1 year ago

Instructions Jake followed that worked :)