Live data from Hacker News

I got almost all of my wishes granted with RP2350

dmitry.gr

131–140 of 356 posts

Re: I got almost all of my wishes granted with RP2350

#131

I can't imagine someone using an RP2040 in a real product, but the RP2350 fixes enough of my complaints that I'd be really excited to give it a shot. There's a lot going for the 2040, don't get me wrong. TBMAN is a really cool concept. It overclocks like crazy. PIO is truly innovative, and it's super valuable for boatloads of companies looking to replace their 8051s/whatever with a daughterboard-adapted ARM core. But…

> no hardware integer division

It did have it, but as an out-of-ISA extension

Re: I got almost all of my wishes granted with RP2350

#132

Earlier quoted context omitted.

I wonder if it is more about simply shaving a few cents off. Full USB-C protocol implementation may be much more difficult.

USB-C doesn't require anything special USB wise as it's decoupled from the versioned standard. It just has more pins and works with all modern cables. Ideally the cables won't wear out like Mini and Micro and get loosey goosey in the ports.

For a device, USB-C requires two resistors that older USB ports don't.

Declaring yourself as a host/device is also a bit different: USB-C hardware can switch. Micro USB has a "On-the-go" (OTG) indicator pin to indicate host/device.

The USB PHY in RP2040 and the RP2350 is actually capable of being a USB host but the Micro USB port's OTG pin is not connected to anything.

Re: I got almost all of my wishes granted with RP2350

#133
post #46

Earlier quoted context omitted.

This "switchable cores" thing has been appearing in some products for a few years now, for example Sipeed SG2002 (LicheeRV). The area occupied by the actual instruction core is usually pretty small compared to peripherals and internal memories.

The MilkV Duo also has this feature I believe... https://milkv.io/duo

It's the same SoC as the LicheeRV (SG2002)

Re: I got almost all of my wishes granted with RP2350

#134
Hmm, it's really nice that they fixed so many complaints. But honestly, reading the errata sheet, I had to chuckle that Dmitry didn't tear this chip to pieces.

I mean, there's erratums about obscure edge cases, about miniscule bugs. Sure, mistakes happen. And then there's this: Internal pull-downs don't work reliably.

Workaround: Disconnect digital input and only connect while you're reading the value. Well, great! Now it takes 3 instructions to read data from a port, significantly reducing the rate at which you can read data!

I guess it's just rare to have pull-downs, so that's naturally mitigating the issue a bit.

Re: I got almost all of my wishes granted with RP2350

#135
post #102

Earlier quoted context omitted.

Edit: See comment below; The RP2350 can be powered by a 5V supply.

To clarify: You can connect a 5V power source by connecting it to the VSYS pin which leads into the on-board voltage regulator. But the µC itself runs on 3.3V and is not totally 5V-capable. You'd need level converters to interface with 5V.

You're right, after re-reading the Power section on the datasheet it seems connecting 5V to the VREG_VIN should suffice to power the digital domains, but if you want to use the ADC, you still need a external 3.3V source.

Re: I got almost all of my wishes granted with RP2350

#136
post #85
post #78

Gross, the dev board uses micro-USB. It's 2024! Otherwise amazing work. Exactly what's needed to compete with the existing giants.

Perhaps the unfortunate choice of micro USB is to discourage real consumer products from being built with the dev board.

I would assume it's in order to maintain mechanical compatibility with the previous Pico.

Re: I got almost all of my wishes granted with RP2350

#137

I think it's a good way to introduce these chips, and it's a great project, but the author's (frankly weird) beef with STM32H7 is detracting from the point they're trying to make: > So, in conclusion, go replan all your STM32H7 projects with RP2350, save money, headaches, and time. STM32H7 chips can run much faster and have a wider selection of peripherals than RP2350. RP2350 excels in some other dimensions, includin…

> STM32H7 chips can run much faster STM32H7 tops out at 600MHz. This has 2x 300MHz at 2-3 cycles/op FP64. So maybe your applications can fit into this?

As other posters have mentioned, this has 2 Cortex-M33 cores @ 150 MHz, not @ 300 MHz.

Cortex-M7 is in a different size class than Cortex-M33, it has a speed about 50% greater at the same clock frequency and it is also available at higher clock frequencies.

Cortex-M33 is the replacement for the older Cortex-M4 (while Cortex-M23 is the replacement for Cortex-M0+ and Cortex-M85 is the modern replacement for Cortex-M7).

While for a long time the Cortex-M MCUs had been available in 3 main sizes, Cortex-M0+, Cortex-M4 and Cortex-M7, for their modern replacements there is an additional size, Cortex-M55, which is intermediate between Cortex-M33 and Cortex-M85.

Re: I got almost all of my wishes granted with RP2350

#139

I can't imagine someone using an RP2040 in a real product, but the RP2350 fixes enough of my complaints that I'd be really excited to give it a shot. There's a lot going for the 2040, don't get me wrong. TBMAN is a really cool concept. It overclocks like crazy. PIO is truly innovative, and it's super valuable for boatloads of companies looking to replace their 8051s/whatever with a daughterboard-adapted ARM core. But…

I haven’t dug into the RP2xxx but I presumed there would be a library of PIO implementations of the standard protocols from RP themselves. There really isn’t?

Edit: I see, there are “examples”. I’d rather have those be first-class supported things.

Re: I got almost all of my wishes granted with RP2350

#140
post #102

Earlier quoted context omitted.

Edit: See comment below; The RP2350 can be powered by a 5V supply.

How much tolerance does that have - can it run directly off a 3.7v lithium ion battery?

Yep, they explicitly call out that the onboard voltage regulator can work with a single lithium ion cell.
Post reply on HN