Deep Dive w/Scott: #CircuitPython2022 and ESP32-S3 #adafruit
Channel: Adafruit Industries
Date: 2022-01-21

Join Scott as he recaps other folks' #CircuitPython2022, discusses ongoing ESP32-S3 work and answers questions folks have.

Support Adafruit by purchasing hardware from https://adafruit.com

Chat on the Adafruit Discord at https://adafru.it/discord.

All notes are available on GitHub with links into the videos. Thanks to @askpatrickw and @dcd for making and maintaining the notes: https://github.com/adafruit/deep-dive-notes/

0:00 Getting Started
1:00 hellos to all 
3:00 cat cam 
3:40 Hello/housekeeping 
7:00 github notes https://github.com/adafruit/deep-dive-notes/ archive
9:09 CP 2022 - send emails - get blogged
10:07 Kevin - display io
11:25 Q: when debugging with print statements, is there a way to include the statement line number in the print string?
11:45 Question: does circuit python have the ability yet to play simultaneous audio? E.g. via 2 wav files or foreground / background. Maybe through mixer
12:58 Desktop - github - why is issue 5881 is "longterm"? https://github.com/adafruit/circuitpython/issues/5881  (BLE )
14:45 github BLE  Adafruit_CircuitPython_BLE
17:25 desired: want to disconnect the undesired centrals!  / examine the source code
19:30 Various issues involved - connection central vs. peripheral
20:55 github  Adafruit_CircuitPython_BLE issues / look into device info service
22:30 back to the 2 wave files 
23:53 Q:working with the analog in features on a QT pi 2040 and when I tied the pin I was reading from to ground on the board it was giving me a value other than zero, around 160. Is this normal?
24:45  Q: built latest CPY for S3 - doesn't boot on any of my S3 boards. Known issue? copy firmware.uf2 over, seems ok, re-starts, never mounts. No error on UART0 output.
25:48 back to CP 2022  - graphical widgets
28:22 unpythonic.net
31:05 github gist  / broadcom / midi
32:09 forums / 
33:00 blog comment - 
33:34 BlueMicro / skip forward to CircuitPython 2022 / seesaw / i2c peripherals / keyboards / very deep sleep
36:00 - RISC-V vs. ARM Core… 
36:45 Awesome CircuitPython called Popular Projects Enabled by CircuitPython
37:44 forums / overclocking / platform knowledge
39:00 SPI peripheral
39:25 forums / CP.org login  / my adafruit page ?
40:00 intuitive flash file system / handle secrets storage
40:53 limited multicore access 
41:20 Q: ​if any of your viewers could please, please, take up i2c peripheral support for the rp2040 I would be grateful!
41:57 I2C peripheral thoughts - copy API 
42:55 integrate learn guides with what user purchased 
44:00 Unified event system
44:33 some comments on youtube re: CP 2022
45:20 github gist 
46:50 Lego collaboration?
47:35 Python threading 
48:20 considerations when setting priority
48:53 adafruit blog 
50:30 Multicore 
52:07 ulab extension
54:30 new  CP podcast coming 
55:20 I played with the Micropython multicore a few months ago and it wasn't stable
55:39 dafruit_requests and adafruit_minimqtt would be nice to be threaded / asyncio
56:15 AIOHTTP  Async IO for networking
58:30 Does Wippersnapper use mqtt?
59:10 be more sciency 
1:00:20 2022 will be different with weeks off from Deep Dives
1:01:49 switching gears to ESP-land
1:02:00 Adding BLE to ESP 
1:03:30 How many cores are on the ESP32-S3 ?
1:05:11 tannewt esp_ble branch 
1:06:49 beyond compare / sublime merge ( git manipulation tools )
1:07:35 How much power does the ESP32-S3 use with BLE (no WIFI)?
1:10:10 Are there any examples in CP doing double buffering aka glitch free bucket logging ? Maybe via M2M ?
1:10:35 how well does the nordic power tool work with measuring other processors power usage?
1:12:09 also the JouleScope
1:12:55  any information if there are nRF52840 successors on the horizon with more RAM memory?
1:13:17 NRF 5340 
1:15:00 Zepher support not in Circuit Python
1:15:18 rf 9160
1:15:39 dual M-33
1:16:30 https://www.youtube.com/watch?v=JFDiqPHw3Vc&ab_channel=AndreasSpiess
1:16:49 The second core is basically just a built in HCI adapter so if you can get the IPC to work on bare metal, you don't need Zephyr.
1:17:50 Bluedroid and Nimble ( grew up alongside Zepher )
1:18:25 github nrf5340 apache mynewt nimble
1:20:11 back to esp_ble branch
1:23:20 start with scanning, advertising .. 
1:25:08 talk over core issues 
1:25:40 Pull requests
1:26:19 pr 5902 
1:30:12  pr 5899
1:31:06 pr 5860
1:31:25 pr 5884
1:32:32 pr 5885 - first CP multicore bug fixed by tannewt
1:36:30 pr 3892 ESP NeoPIxel fixes / resetting pins
1:40:20 lower power when pins are ‘pulled’ vs. floating 
1:42:20 looking for the low power pin state pdf https://www.st.com/resource/en/application_note/an4899-stm32-microcontroller-gpio-configuration-for-hardware-settings-and-lowpower-consumption-stmicroelectronics.pdf
1:45:06 pr 5894
1:45:50  C3_writeable ports/esprif make BOARD=espressif_ep32s3_devkitc_1_n8r2 
1:51:30 ESP32-S2-DEVKITC-1 on digikey 
2:04:53 wrap up - follow on discord https://github.com/adafruit/deep-dive-notes
2:06:59 pet the cat
2:07:03 Have a great weekend  ( timecodes may have drifted by 30 seconds or so )