Deep Dive w/Scott: ESP IDF 5.1 #adafruit

Subscribers:
460,000
Published on ● Video Link: https://www.youtube.com/watch?v=M6lg-EiTPGk



Duration: 2:09:43
1,593 views
16


Join Scott as he answers questions about CircuitPython and goes over the changes needed for IDF 5.1 on the ESP32C6 and ESP32H2.

No deep dive next week 9/29.

Thanks to dcd for the timecodes!

0:00 Hellos and getting started
3:00 Welcome
5:10 5.0 PR merged, 5.1 PR pushed
5:50 ESP C6 mini
5:23 H2 supported
7:00 RGB Matrix
7:40 Dot Clock support 720x720 spi display
8:44 Difference i8080 parallel vs dotclock parallel ( hsync and all bits in parallel )
10:20 needed i2c gpio expander to spi because there weren't enough pins
11:00 Review ESP-IDF 5.1 and C6+H2 support #8424
12:45 H2 support without wifi
14:50 Thanks/Goodbye to Kattni
16:38 113 files in PR
17:30 Makefile changes c6 and H2 additions
18:18 Some changes are due to not using CMake
19:00 C6 uses newlib in rom
20:00 use regular libm
20:40 factored out the wifi binary blobs
21:20 Makefile 'case' to select BLE libraryu
22:02 ESP compiler bug fix
23:50 C2 also called 8624 (sp)
24:40 looking forward to P4 chip
25:25 re-did debug uart
25:50 new dev board devkit with dual usb
28:09 H2 goes to 48 Mhz
28:55 maybe turn on BLE support ? - rebuild
30:40 Circuit Python consumes RAM
32:02 what about different default frequency for i2c bus
33:50 Looking at unexpectedmaker.com's website for H2 or C6
34:30 back to review and adding BLE to
35:35 QSTR errors because changed includes without cleaning
36:05 C6 more interesting because it has wifi and more ram
36:50 H2 doesn't have wifi
38:20 Matter is IOT protocol - built with Matter
39:35 QSTR description
41:03 how to find espressif documents - in support menu
42:25 office wifi / fiber with ISP's router
43:38 speed test 900Mb/S up and down!
45:50 C6 had BLE 5.3 with BLE 5 audio streaming
47:55 nRF boards don't have wifi
49:40 Fast internet is awesome!
50:55 esp_deep_sleep_start can return
52:15 C6 has only one ADC unit - needed some refactoring
53:06 Analog in on C6 changed
53:55 Analog out updated as well
55:00 TWAI vs TWAI0 - (CAN) - comes from linker - special work required
56:20 'never reset' pins
56:42 C6 deep sleep hold enable
57:20 H2 and C6 are riscV boards
57:32 cpu frequency single target
58:08 exp camera changes
58:50 target specific C6 defaults
1:03:35 issues with kconfig and reference properties
1:05:35 verify for ci that USB vid pid not re-used
1:06:25 build output - free space - pushing changes
1:08:10 more boxes/cabinets
1:09:40 experiment with PSRAM speeds
1:14:00 ESPTOOLPY_FLASHFREQ found and copied
1:18:42 looking for test
1:20:00 overhead of S3 WROOM qualia board test-bed for test parallel displays
1:21:00 PC-bite test probes to read uart
1:22:07 matrix portal S3
1:23:45 build matrixportal_s3 clean and build
1:29:45 compiled and linked after fixing compiler error w.r.t. static/non-static
1:31:58 download package / copy and paste code into code.py
1:33:20 exception
1:34:20 query settings w/ import board /dir(board)
1:36:00 update code.py - then crashed
1:37:25 find the crash - debug build / clean / build
1:38:04 connect up to tx debug output and ground, and reboot
1:39:37 reflash and reset
1:40:20 debug mode - get backtrace / python tools/decode backtrace
1:41:26 RGBMatrix.c - examine initialization
1:42:57 add printf logging via EXP_LOGI
1:44:16 rebuild and flash
1:47:30 rebuild after moving logs earlier
1:50:30 the code should be smarter to allow de-init when pointer is null
1:55:20 32x64 pins - oh it displays now!
1:57:05 repl prompt doesn't display correctly
2:00:23 looking at learn guide and matrixportal/matrix.py
2:01:35 board.MTX_COMMON
2:03:02 try another branch with CP 8.2
2:04:55 look at esp32-common.h
2:07:16 it crashed again
2:08:02 wrap up - boxes on playground adafruit.com

Visit the Adafruit shop online - http://www.adafruit.com

-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com/
-----------------------------------------




Other Videos By Adafruit Industries


2023-09-27Python on Hardware weekly video 248 #CircuitPython #Python #adafruit @Adafruit @micropython
2023-09-27SHOW and TELL 9/27/2023
2023-09-263D Hangouts – Synth Guitar, Fraz Wrench and One Piece Ship
2023-09-26Synth Guitar #adafruit #CircuitPython #3DPrinting
2023-09-26JP's Product Pick of the Week 9/26/23 LIS3MDL 3-axis Magnetometer STEMMA QT recap #adafruit
2023-09-25JP’s Product Pick of the Week 9/26/23 LIS3MDL Triple-axis Magnetometer STEMMA QT
2023-09-25CircuitPython Weekly Meeting for September 25, 2023 @circuitpython #circuitpython #adafruit
2023-09-25The Great Search: Generic 24-series I2C EEPROM #TheGreatSearch #DigiKey @DigiKey @Adafruit
2023-09-24Desk of Ladyada - Stories about Screens & SAMD51 & Generic 24-series I2C EEPROM
2023-09-24One Piece Going Merry Ship Planter #3dprinting #adafruit #timelapse
2023-09-22Deep Dive w/Scott: ESP IDF 5.1 #adafruit
2023-09-22John Park's CircuitPython Parsec: Circuit Playground Play Files #adafruit #circuitpython
2023-09-21JOHN PARK'S WORKSHOP LIVE 9/21/23 Power Washer #adafruit
2023-09-21Adafruit Top Secret September 20, 2023 #Adafruit #AdafruitTopSecret #display @Adafruit
2023-09-21ASK AN ENGINEER 9/20/2023 LIVE!
2023-09-20Advanced Manufacturing: Made in NYC by Adafruit 9/20/2023
2023-09-20Python on Hardware weekly video 247 #CircuitPython #Python #adafruit @Adafruit @micropython
2023-09-20SHOW and TELL 9/20/2023
2023-09-20#NewProds 9/21/23 Feat. Adafruit USB Type C Power Delivery Dummy Breakout - I2C or Fixed -HUSB238!
2023-09-20EYE on NPI - Texas Instruments' TMUX821x Flat RON SPST 4-Channel Switches @TXInstruments @digikey
2023-09-203D Hangouts – Synth Guitar, Halloween Ideas and Skull Dice Tower



Tags:
adafruit
electronics
diy
arduino
hardware
opensource
projects
raspberry
pi
computer
raspberrypi
microcontrollers
limor
limorfried
ladyada
STEAM
STEM
python
microbit
circuitpython
neopixel
neopixels
raspberry pi
circuitplaygound
nyc
make
makers
micro:bit
adafrit
adafruit promo code
ada fruit
adafruit coupons
raspberry pi zero
micropython
machine learning
ai
tensorflow