6 ms·
Raspberry Pi RP2350 Now Available for Purchase, Stacked Memory Variant Coming
- barbazoo 2y agoWhat bugs me is I ordered two PI recently (Canada) and both got fried by the power adapter that came with it. It’ll be a while until I buy another one. That was a real bummer.
- q3k 2y agoThese have nothing to do with the subject at hand (RP2350 microcontroller, not the Pi single board computers).
- q3k 2y agoNote: these seem to be still the 'A2' silicon stepping, notable for having a number of silicon bugs [1], most notable of which is GPIO-E9 which affects the use of built-in pull-down resistors on inputs. It's still an excellent chip and I'm looking forward to using it in my designs, but beware of these limitations. [1] - https://datasheets.raspberrypi.com/rp2350/rp2350-datasheet.pdf https://datasheets.raspberrypi.com/rp2350/rp2350-datasheet.p... p. 1350
- axoltl 2y agoThe E9 errata has evolved since the early days when the built-in pull-downs were implicated. The issue is related to the input pad macro sourcing excess (120uA) current when the external voltage is between Vil and Vih. This causes the pad to float at 2.2V, whether the built-in pulldown is activated or not. The internal pulldowns don't sink enough current to force the voltage outside of the undefined range.
- thrtythreeforty 2y agoI really, really want to like the RP2350. The PIO machines punch so far above their weight that they could turn the chip into a killer solution in a lot of circumstances. This single erratum breaks my intuition enough that I'm "scared" to pull the chip into a design. I understand that they don't automatically break most use cases and that there are software workarounds. But they violate a core "Hi-Z is Hi-Z" understanding that I design around, and I'd really hate to respin a board over something so dumb. On an STM32 this would have been a silicon stepping and that's what bugs me about it.
- jrockway 2y agoMy take is that devastating errata is just normal. Most of it is fixed silently and the end users never hear about it, but sometimes you're the customer that gets to find them. Right before I joined an embedded device team at Google, they brought up a new chip. Turns out... branch prediction was broken. It would mispredict a branch and execute the misprediction anyway. I imagine that was no fun to debug. But a workaround was fine and I'm sure subsequent customers never heard about it, and the devices worked fine for many years. One time I lived in an apartment that suffered from a variety of pests coming in. I expanding-foamed everything that looked like an entry point, the problem went away, and I stopped caring. However, I could still hear mice crawling around inside the walls late at night and decided just not to be bothered. This experience prepares one for embedded systems / microcontroller work ;)
- mananaysiempre 2y agoI mean, it's normal for like half of the peripheral functionality on STM micros to outright not work. But usually that’s something relatively niche like the CAN transceiver or the DMA controller targeting a particular MMIO range or some specific mode of the external memory interface. Having an erratum affecting literally all GPIO pins is unusually scary.
- naikrovek 2y agoAm I hallucinating the B variant mentioned, or does it also include this problem?
- myrmidon 2y agoThese can apparently run as RISC-V dualcore too; it's selected at boot-time (!!). I did not realize that this is a thing. Was hoping for big improvements for the ADC, but its still limited to 500k/s (they did give it 4 more channels, though, which is nice).
- q3k 2y agoNot only that, they can also run heterogenously, with one core ARM and the other RISC-V (and atomic instructions continue to work!). Not sure why anyone would do this, but I do appreciate that it's possible.
- axoltl 2y agoI'm sad these seem to not have the fix for the E9 errata, making them entirely unsuitable for a lot of projects. I'll keep using the RP2040 instead, but the extra oomph of the M33's over the M0+'s would've been very welcome in a few places.
- cbm-vic-20 2y agoThe errata from the datasheet: "Increased leakage current on Bank 0 GPIO when pad input is enabled" which affects RP2350 A2. Previous discussion: https://news.ycombinator.com/item?id=41479261 https://news.ycombinator.com/item?id=41479261
- q3k 2y agoIn what situations is including an external pull-down resistor not a good enough 'fix'?
- axoltl 2y agoI haven't completely thought through this, but I can see issues with porting PIO-USB [0] for example. USB relies on a few different pulls to Vcc and Gnd with pre-defined values. On the host side you have to pull your signal lines to ground with 15k resistors. Those aren't strong enough to overcome the current leakage. The tricks where you enabled pad inputs only when you're reading the pin don't work here either as you can't do that in PIO. Things like logic analyzers are going to have similar issues where their inputs will have to be buffered to provide a suitably low impedance path. It's not insurmountable but it's enough for me to just fall back on the RP2040 in situations where I don't want to spend the effort to validate the RP2350. 0: https://github.com/sekigon-gonnoc/Pico-PIO-USB https://github.com/sekigon-gonnoc/Pico-PIO-USB
- deleted 2y ago[deleted]
- Tharre 2y agoIt's not an issue for PIO-USB, since the pullup/pulldowns in USB are just used for device and speed detection. And for the pulldowns to do anything the pins have to be high impedance which you can't do in PIO code anyway. So just making sure to drive the pins low for 1 cycle before putting them in high impedance mode is sufficient as a workaround. Could be an issue for logic analyzers, though usually you'd have a voltage translator in front of that anyway.
- ChrisArchitect 2y agoOfficial post: https://www.raspberrypi.com/news/rp2350-now-available-to-buy-a-high-performance-secure-microcontroller-for-your-next-project/ https://www.raspberrypi.com/news/rp2350-now-available-to-buy... (https://news.ycombinator.com/item?id=43388904 https://news.ycombinator.com/item?id=43388904)
- declan_roberts 2y agoI've struggled to find a place for the RP2040 and Pico dev boards. ESP32 is just so convenient, cheap, and powerful.
- whateveracct 2y agoA bunch of my video game controllers are built on RP2040s. Maybe that's just network effects, but it clearly found a niche there.
- jsheard 2y agoSame with keyboards, the RP2040 is one of the most popular options for running QMK now. That said it's not a good fit for wireless keyboards, that niche is served by ZMK running on nRF chips.
- Graziano_M 2y agoZmk has pretty good support for rp2xxx. It’s a lot nicer than QMK where you don’t have to write c to make key map. I made a mistake in my pcb and didn’t hook up my SPI display to a spi peripheral, and all I had to do was set up the device tree to make the display use the SPI driver that is implemented in PIO.
- cluoma 2y agoThe PIO functionality, I think, is a killer feature for interfacing with retro consoles. I've been working on a Sega Dreamcast controller adapter and the PIO made it pretty easy to start interfacing with the console's custom protocol, even for somebody with near-zero experience in this kind of thing.
- axoltl 2y agoI frequently have to interface with custom on-the-wire protocols and the PIO block is fantastic. Situations where I'd used to need a CPLD or full-blown FPGA I can now do with a sub-$1 microcontroller. It significantly reduces development time as well. It's like XMOS but actually usable.
- marsven_422 2y ago[dead]
- mathfailure 2y agoIs there a non-paywall version of this article?
- anymouse123456 2y agoI've been playing with the HSTX (High Speed Serial Transmit) peripheral lately and it's craziness too. They have a DDR (Double Data Rate) system that allows you to generate signals from bitstream shift registers that are twice the speed of the system clock. This means one can generate ~300-400MHz signals from these ~$1 ICs. Run this with the PIO subsystem, dual core 150MHz, Floating Point hardware, 512K (of expandable) SRAM and massive storage options. Absolutely wild device and unlike most chips that are half-as-capable, cheap enough to stock up on in case of future supply chain disruptions...
- deleted 2y ago[deleted]