Live data from Hacker News

ESP32-S31

espressif.com

181–190 of 207 posts

Re: ESP32-S31

#181
These little devices are extremely interesting. I have a side project I will one day get started - to place 32 SoCs (or fewer SoCs with more cores), connect them via PCB traces to an ethernet hub (I need to learn how to do that), and leave one or more "upstream" network ports for connecting multiple boards together. Each core would light up a red LED on the front-side of the board via 90-degree LED holders.

Then I'd pack 16 of them, and build a tiny Connection Machine cube.

Not sure what I'd use a cluster of 512 very puny servers for though... I guess it'd be for learning how to manage clusters with unreasonable numbers of nodes.

Re: ESP32-S31

#182

Earlier quoted context omitted.

I've been experimenting with more-or-less this on the existing ESP32-S3 (well, to a smartphone/PC rather than a 2nd ESP32). Practical bandwidth limits are in the ~72kb/s range with Bluetooth and a custom wire protocol, and Opus voice-mode encoding can't run in realtime beyond complexity 3; music encoding can't run at all. Maybe there's a more compute-friendly audio codec I'm not aware of, but as far as I know these c…

I was not aware that _any_ Espressif hardware even supported classic bluetooth other than the very first ESP32 (which I am not sure if they're even available). And I was getting around 50ms latency back then (with the original ESP32 and SBC!) What exactly did you try?

I’m using BLE GATT messaging with an upgrade path to L2CAP CoC channels for clients that support it. Roughly the path is: audio input -> opus encode -> BLE transmit -> smartphone/desktop. The latency floor ends up being ~80ms due to jitter buffer sizing, etc.

Re: ESP32-S31

#183

Earlier quoted context omitted.

I've been experimenting with more-or-less this on the existing ESP32-S3 (well, to a smartphone/PC rather than a 2nd ESP32). Practical bandwidth limits are in the ~72kb/s range with Bluetooth and a custom wire protocol, and Opus voice-mode encoding can't run in realtime beyond complexity 3; music encoding can't run at all. Maybe there's a more compute-friendly audio codec I'm not aware of, but as far as I know these c…

I haven't benchmarked Bluetooth on these devices but have you looked at your uncompressed audio rates over WiFi? OP was asking about Bluetooth at high quality and low latency, which I don't think is a possible combo, hence suggesting another ESP32 if wireless is necessary. If it isn't, a wire difficult to beat. ESP-NOW is another option to look at, which of course won't work to transmit to a phone directly but can do…

Fair point, I’ve been evaluating WiFi for my project as well and the ESP32-S3 certainly has better link rates and latency, though I’ve not determined if it can truly run uncompressed. UX-wise my project is pairing to a smartphone so I’m not eager to require that users bring a WiFi network with them (something neither Android or iOS handle particularly gracefully), but regardless it would be good to have the option.

Re: ESP32-S31

#184

These little devices are extremely interesting. I have a side project I will one day get started - to place 32 SoCs (or fewer SoCs with more cores), connect them via PCB traces to an ethernet hub (I need to learn how to do that), and leave one or more "upstream" network ports for connecting multiple boards together. Each core would light up a red LED on the front-side of the board via 90-degree LED holders. Then I'd…

little?

Re: ESP32-S31

#186

These little devices are extremely interesting. I have a side project I will one day get started - to place 32 SoCs (or fewer SoCs with more cores), connect them via PCB traces to an ethernet hub (I need to learn how to do that), and leave one or more "upstream" network ports for connecting multiple boards together. Each core would light up a red LED on the front-side of the board via 90-degree LED holders. Then I'd…

I have always wanted to make a n-cube machine. I prefer the rp2350 myself, and have been quite keen on the thought of what you can do with PIO PIO between chips.

And yes the main goal is to figure out how to program the thing in a way that balances ease of use with performance.

I also like the idea of a PSRAM junction, so that every core gets a PSRAM, but neighbours can swap ownership.

I had wondered what happens to the wireless spectrum if you tried it with ESP32. 512 devices in a small space yelling at each other.

Re: ESP32-S31

#187

These little devices are extremely interesting. I have a side project I will one day get started - to place 32 SoCs (or fewer SoCs with more cores), connect them via PCB traces to an ethernet hub (I need to learn how to do that), and leave one or more "upstream" network ports for connecting multiple boards together. Each core would light up a red LED on the front-side of the board via 90-degree LED holders. Then I'd…

little?

Once I figure out how to join that many cores via ethernet on PCB, it's a little project. SMD soldering should not be that troublesome.

Re: ESP32-S31

#188
post #128

Earlier quoted context omitted.

I see you are unfamiliar with `rv64mafdcbvh_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccrse_ziccamoa_zicclsm_za64rs_zihintpause_zic64b_zicbom_zicbop_zicboz_zfhmin_zkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs_supm_svade_ssccptr_sstvecd_sstvala_sscounterenw_svpbmt_svinval_svnapot_sstc_sscofpmf_ssnpm_ssu64xl_sstateen_shcounterenw_shvstvala_shtvala_shvstvecd_shvsatpa_shgatpa` also known as `RVA23`

rva23 is pretty friendly. Needn't use the long thing.

RISC-V went wild with the extension naming in the past few years with the recently ratified extensions. The original extensions are all clubbed to be labelled as G.

Re: ESP32-S31

#189

Earlier quoted context omitted.

little?

Once I figure out how to join that many cores via ethernet on PCB, it's a little project. SMD soldering should not be that troublesome.

What are you having trouble figuring out?

ESP32 RGMII (32x) -> PHY (32x RTL8211F) -> Slave switch (6x RTL8367) -> master switch (1x) -> magnetics (for the external port). You’ll probably want a better IC for the master switch so I can’t name one of the top of my head but this would be a relatively simple, if large, PCB.

The hard part I think is verifying that all the PHYs and switches will work correctly without magnetics on a board to board connection.

Re: ESP32-S31

#190

Earlier quoted context omitted.

Lots of assumptions off a comment that is mostly just me stating my preference for short and unique part numbers. Nothing would be wrong with ESP32xx ESP33xx, ESP34xx, etc. Espressif only have 312 SKUs [0]. You're telling me nobody could come up with a naming scheme where more than 2/3 of them don't have part numbers longer than 18 characters? Doesn't really matter either way, but short part numbers do fit nicely in…

You're going to really, really hate learning about STM32 MCUs. https://www.digikey.ca/short/2v4t0n5m

You really come across as condescending and patronizing.
Post reply on HN