New ESP32-S2 Silicon from Espressif!

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey everyone i got some new silicon from espressive the first one is the esp32 s2 fh4 this chip is just like the current esp32 s2 but it also includes four megabytes of flash inside the chip so you don't have to put a flash chip on now there is already an fh2 version that's out in production it's got two megabytes of flash but i'm more keen on working with a four megabyte flash chip which is the same as what i've got on my tiny picot the other chip i got is this one this is the esp32 s2 fn4 r2 that's the final production chip name which also has another name but the actual labels on my chips are the sp-32s2 fr-01 which was their designation while they're in samples this particular chip has four megabytes of flash and two megabytes of ps ram inside so that means you need no external ram and no external flash for this chip now those of you that have got one of my feather s2 boards will know that there's both a flash and a ps ram chip on it and both of those chips take up quite a considerable amount of space you can get both of these chips in slightly smaller packages but they're also considerably more expensive this chip here although it's much smaller flash and smaller ram than what i've got on my feather s2 my feather s2 has 16 megabytes of flash and 8 megabytes of ps ram it's only got 4 and 2 but i eliminate all of that space so all i need is the chip and a crystal so this is the chip i've been waiting for this is the one i'm really keen on i would love to use this on a product if only i could think of something to use it on hmm i wonder what it could be i know why don't i open this up and maybe i can put one on this little board this is my prototype of my tiny s2 that's right i'm now going to have a tiny picot and a tiny s2 i'll have the s2 chip on here with the crystal i don't need to put any external ram or flash on it so let's put one of these together pull one of these on and see if it works [Music] [Music] [Music] [Music] [Music] [Music] [Music] [Music] okay so that went pretty well i'm quite happy with that reflow looked good you might notice that there is a matching network over here you would have seen that under the microscope and i've just got a zero ohm resistor in here right now i need to do some matching on the vna but for now i've just got a zero ohm just to make sure that the antenna connection goes through to the chip now the board's got usbc and it's got this little mouse body thing at the end just underneath a breakaway so what i'm doing now with my usbc connectors so i can just snap it away gone now there's a bit of an overhang for the usb before i do anything before i power it up i'm going to beep it out and make sure that there are no shorts so get my dmm over here make sure that the signal great now i'm going to make sure that the ground there's a ground pin over here and 3.3 no short 5 volts no short battery nope ground to ground good reset no short anything between 5 volts and 3.3 no between battery and 5 volts no battery 3.3 no okay so no shorts on the board that i'm aware of the reflow around the qfn looked really good so i don't think there's any io shorts in there so i guess it's time to power it up and see what happens okay i actually got myself one of these fancy usb meters it's got usbc in and out as well as micro b and a so i'm going to run it through here so i can see how much current is being drawn when i plug it in here we go well power light comes on charge led is flashing and as we can see here we're getting 13 milliamps which i guess could be correct with nothing on the chip i've never powered up one of these chips but no shorts it's not pulling too much current so that's pretty cool now it's a matter of seeing if we can bring it up so to do that i have made a custom board file for circuit python for this i haven't tried it yet because this is the first time i put this on it's a different configuration to my feather s2 it's a different configuration to any other chip that's out there right now other than possibly the s2 rover which comes with two megabytes of ps ram so i've based my board layout for circuit python on one of the rover s2 board definitions and hopefully that'll work let's find out over here i've got a list of all of the volumes mounted on my machine right now there's no circuit python tiny usb that's just my macintosh hard drive network mount and two other drives see on unexpected maker i'm sorry i can't make these icons any bigger i've got two terminal windows open this top one it shows that i'm in my tiny uf2 ports folder so i've already compiled the tiny uf2 firmware i'm about to flash it on the board with this command here but before i do this terminal window down the bottom is actually viewing uart 0. so as you can see here i've got some extra wires connected to the s2 i've got ground tx and rx they are uart 0 and they don't actually get piped out via the native usb on the s2 chip so i've got another little cp2104 little programmer of mine that's connected to there and that's being pushed into this window over here so you'll see output from uart zero as i do things so if i put the board into download mode so i push boot then hold that reset and let go of boot you can see here it says waiting for download in this terminal window and now if i flash the board hopefully right okay error all right this error is fine so this is because idf dot pi can't make the board reset itself at the end so it did flash it right hash data verified is correct it's leaving and it tries to do a hard reset but it can't says here that it can't do it you can suppress this error if you want to so that means i need to push the reset button so when i push the reset button hopefully we will see the rgb led over here go green may flash red first and we should see a whole lot of output from that console okay there we go it flashed red now it's flash green we saw a whole lot of output from the console and look at that we have a tiny s2 boot drive that has appeared if i go into that you can see that there is info uf2.txt double click on that and inside that is tinyuf2bootloader what version the idf version model unexpected maker tony s2 board id unexpected make a tiny s2 so we've now got a mass storage device mounted called tiny s2 boot so i'm going to now copy the circuit python firmware over and again i've already compiled the firmware but i have not installed it so i'm going to do that now okay so here is a finder window i'm inside my esp32 s2 ports and circuit python and you can see here i've got some firmware that i've just built today i've also got some feather s2 firmware so what i'm looking for is the firmware.uf2 which is this file here and i should be able to drag it onto that and it should copy and hopefully work so we should get a little dialogue that pops up copying we do you can see the lights flashing means it's copying and when it finishes it boots okay we saw a whole lot of console stuff come and we've got circuit pie so we now have a circuit python drive and boot.out has opened up a file that says adafruit circuit python 6.2.0 beta 1 tiny s2 with esp32 s2 let's not do anything right now because there's no code on here i should be able to crop some files over so i've already prepared a tiny s2 dot pi and a code dot pi which is the same as my feather s2 ones but this is using an sk style rgb led uh 1515 instead of an apa 102 so i had to modify the files but if i copy these over into here it should copy and then start and there we go we've got a cycling rgb led look at that how cool so i should be able to also go right into the rebel now so i should be able to go screen slash dev slash cu dot usb i don't know which one it is modem that's the id 11 5200 let's make this a bit bigger you can see that code running i should be able to hit enter and now i'm in the reply so import code which is just the same as doing a reset so two megabytes of ram there's almost a megabyte of flash free and it's doing the neopixel stuff it's working so tiny s2 which is obviously fully compatible with my tiny pico in terms of footprint but it also has the i o zero rx and tx broken out but the rest of it is all compatible all the spy pins i squared c pins where the dax are everything else it's working how exciting a second board in my tiny picot form factor lineup the s2 was a perfect fit for my tiny pico form factor but i had to wait until especially relationship that would actually fit i definitely want to go double-sided board again and even if i did putting the flash and the ram on the back would have made it super bulky so now that expressive uh soon to have silicon that has both flash and psram inside it it's opened up the ability for me to do this now this is still just sample silicon it's at least a month or so away until production starts for the silicon assuming it starts on time so you won't see a tiny s2 production board for a little while still but i'm going to keep debugging this so far everything is working on them once i've done everything on here i'll start playing around with using it on all of my shield to make sure all of that works so i can be ready with production boards as soon as silicon is available wow that was uh super cool and i'm really glad it worked now the firmware did take a bit of wrangling to get working thanks very much to scott from adafruit and to angus from espressive they both helped me sort out some spi ram issues but yeah super super exciting so that's it thanks very much for watching if you liked the video please give it a thumbs up if you're new here please click the subscribe button and make sure you click the alarm bell to be notified when i've got new videos coming out to my patrons you're awesome thank you so much it's your generosity that allows me to tinker with stuff like this so it's greatly appreciated until next time catch you later bye
Info
Channel: Unexpected Maker
Views: 40,779
Rating: undefined out of 5
Keywords: maker, electronics, hobby, projects, 3d printing, laser cutting, arduino, microcontrollers, atmel, microchip, Espressif, ESP32, TinyPICO, MicroPython, CircuitPython, FeatherS2, ProS2, ESP32-S2, ESP32S2, TinyS2, Circuitpython, pcb assembly, reflow, testing, first build
Id: iW3xD7Eo5Gw
Channel Id: undefined
Length: 15min 5sec (905 seconds)
Published: Fri Feb 05 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.