
Deep Dive w/Scott: RP2040 audio! #adafruit #raspberrypi
The plan is to discuss RP2040 audio playback support in CircuitPython, debug I2S output via the PIO and answer questions.
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.
0:00 Fixing audio (don't turn up your volume!)
10:19 Housekeeping
15:15 Pi pico have wifi? ( see adafruit airlift )
15:58 when is qt-py and feather 2040 going to be released?
17:10 what's the advantage/disadvantage of using a pico over an arduino
18:50 Pico Vs esp32 is more interesting battle
19:02 Scott - Have you seen the LVGL graphics library? They have micropython support.
22:00 is it fair to say that unlike raspberry pi, you always have a graceful shutdown with unexpected power loss in CP ?
22:50 do we need chip documentation when we have circuitpython ?
23:40 Can I implement a high speed counter in PIO? Cycle accurate at 50Mhz would be fantastic and could replace hardware or fpga currently required in our lab
24:35 Where does thorny store libs in micropython?
25:10 i talked to a guy who was buying a pico in line at a microcenter. he mentioned he was making a 3d printed robot called pypot or poppy... anybody heard of that?
25:56 LGVL editor video https://www.youtube.com/watch?v=UrSkzbuuGaw&ab_channel=LVGL
27:35 LGVL summary …
30:50 demo of adafruit proximity sensor on trackball
35:27 ESP32-C3 risc-v
37:39 CP potential of ESP32-C3
39:23 If we get BLE workflow, then would the old ESP32 interesting again for CP?
40:02 Would it be easier to use a different RISC-V dev board for porting CP?
42:37 ble would open so many doors... accessibility to folks with just a phone etc
42:45 Once the S3 is out, no point trying to support the previous version.
44:50 Could the AirLift co-pro become the main proc???
45:46 RP2040 audio demo
52:55 still need to figure out what those people doing Matrix (Hub75) over I2S are doing and why it make sense to them. Do they make a "sound" picture and run in loop?
53:35 continued audio I2S deep dive/introduction
56:10 but maybe you don't want to 'hold' the speaker in a single position for a long time?
… You will get a slight pop if you suddenly go to repeating values, but it's nowhere near as bad as stopping BCLK!
56:57 back to code.py and pioasm code
1:14:00 ladyada pings…. Not yet
1:15:40 resume - run logic program
1:17:14 ladyada on screen
1:19:10 QT PY 2040
1:41:38 back to questions…
1:43:10 New to all of this. Is pico a good place to start? Do you have a kit that includes all things to work through the pico book?
1:44:50 - invest in adafruit - “buy stuff” :-)
1:46:00 smart things to use 2 I2Cs
1:46:40 there is a micropython on pico book
1:47:19 Pico “too new?”
1:47:55 do you have any idea why the i2c might be really slow on Blinka devices (ft232 or mcp221)...?
1:54:44 QT-Py 2040 Midy synth
1:54:58 UF2 boot loader for QT-Py M0
1:57:00 back to audio
1:59:10 fix the compile errors :-)2:
2:09:15 No such things as default arguments in C - ( fix the missing argument )
2:14:10 editing code.py - adding audio
2:17:50 hung- eject - reset
2:33:28 wrap up
2:35:47 pet the cat
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/
-----------------------------------------