Deep Dive w/Scott: ESP32-S2 Sleep! #adafruit

Subscribers:
458,000
Published on ● Video Link: https://www.youtube.com/watch?v=NJXvKJ0qFHQ



Duration: 2:04:15
2,098 views
30


I’m sponsored by Adafruit to work on CircuitPython. Support them, and by extension me, by purchasing hardware from https://adafruit.com
Chat with me and lot of others on the Adafruit Discord at https://adafru.it/discord.
Deep Dive happens every week. Normally Fridays at 2pm Pacific but occasionally shifted to Thursday at 2pm. Typically goes for two hours or more. Questions are welcome.

Next week is on Friday too.


0:00 Getting going and hellos
7:00 - Distributors in India
08:06 Housekeeping
12:45 Plan
18:06 debugging process for SAMD21
20:28 power monitoring tools
23:01 debugging the hang
24:00 git submodule update --init ../..
27:04 git push --force-with-lease
30:33 ESP32-S2 tweaks - Beta 2 is out w/ preliminary sleep support
33:00 Using print on control-c when half-hung ( rtos/usb running, but CP is hung )
34:56 RTOS …
37:20 UF2 on nrf52840
38:00 Back to the tls debugging code
43:00 Nina firmware - adafruit branch
47:00 Print a backtrace code ( for each thread )
49:49 Lots of Sleep
50:00 shared-bindings ( reason codes for waking up / restarting )
1:02:00 Recommending starting projects with python
1:16:00 Question about External Interrupt - ( next week ? )
1:19:00 watching Joulescope - ( a hang has occurred )
1:31:28 another crash - while in pretend deep sleep ( safe mode crash )
1:35:32 back to boot loader ( boot & reset )
1:37:49 rebuild after adding backtrace in sleep_tweaks branch
1:41:00 b.r.b…
1:47:52 reset and back in pretend deep sleep....
1:53:41 save to file during fake deep sleep - needed to be tested
1:55:46 perhaps the display is not re-initialized ?? investigating…
1:56:30 main.c dive ( fix board display while in deep sleep )
2:01:52 wrap up …...

Links:

First sleep implementation: https://github.com/adafruit/circuitpython/pull/3767
Json parsing speedup is merged in
No task switching during flash erase: https://github.com/adafruit/circuitpython/pull/3780
Switch to nina-fw certs: https://github.com/adafruit/circuitpython/pull/3775
Socket timeout and no broken socket error: https://github.com/adafruit/circuitpython/pull/3776
Exit earlier from closed sockets: https://github.com/adafruit/circuitpython/pull/3759



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

-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord

Adafruit on Instagram: https://www.instagram.com/adafruit

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


2020-12-09JP’s Product Pick of the Week RECAP PMSA003I Air Quality Sensor @adafruit @johnedgarpark
2020-12-093D Hangouts – MagTag, Trees and Darksaber #adafruit
2020-12-08MagTag E Ink Christmas Countdown
2020-12-08JP’s Product Pick of the Week 12/8/20 PMSA003I AQI sensor @adafruit @johnedgarpark
2020-12-08The Great Search: CAN Bus Transceivers and How To Find Lead Times #TheGreatSearch #DigiKey
2020-12-08Maker Update #211: 2020 Besties #Adafruit #Making #MakerUpdate @Adafruit
2020-12-07Collapsible Christmas Tree #3DPrinting #Timelapse #adafruit
2020-12-07CircuitPython Weekly for December 7th, 2020 @circuitpython #circuitpython #adafruit
2020-12-07THINK INK - Eink Partial Updates #adafruit #thinkink
2020-12-06DESK OF LADYADA - Sleepy Sunday - Deep Sleep testing for ESP32-S2 & a new ESP32-S2 chip arrives
2020-12-04Deep Dive w/Scott: ESP32-S2 Sleep! #adafruit
2020-12-04MakeCode Minute: Arcade Grid @adafruit @johnedgarpark #adafruit @MSMakeCode #makecode
2020-12-03New Products 12/02/2020 Featuring TMP117 ±0.1°C High Accuracy I2C Temp Sensor - STEMMA QT / Qwiic!
2020-12-03Raspberry Pi Streams Chill LoFi YouTube While I Code!
2020-12-03MagTag Showerthoughts Viewer @adafruit @johnedgarpark #adafruit #showerthoughts
2020-12-03JOHN PARK'S WORKSHOP LIVE 12/3/20 MagTag Showerthoughts @adafruit @johnedgarpark #adafruit
2020-12-03EYE on NPI – Nordic Power Profiler Kit II #EyeOnNPI #DigiKey @NordicTweets @DigiKey @Adafruit
2020-12-03Adafruit Top Secret! December 2, 2020 #Adafruit #AdafruitTopSecret @Adafruit
2020-12-03The Python on Hardware weekly video 109 #CircuitPython #Adafruit #Python #MicroPython @Adafruit
2020-12-03Made in NYC 12/2/2020 Featuring #Adafruit #MagTag Stacks & #TFT FeatherWing Manufacturing
2020-12-02ASK AN ENGINEER 12/2/2020 LIVE!



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