Readit News logoReadit News
hasheddan · 2 years ago
Luke (author of Hazard3) provided some context regarding including the Hazard3 cores alongside the M33's:

> I can't compare the sizes of the two cores. The final die size would likely have been exactly the same with the Hazard3 removed, as std cell logic is compressible, and there is some rounding on the die dimensions due to constraints on the pad ring design. I can say that we taped out at a very high std cell utilisation and we might have saved a few grey hairs during final layout and STA by deleting the RISC-V cores.

https://x.com/wren6991/status/1821582405188350417

latsu · 2 years ago
Why oh why is still using Micro USB?!

I was hoping that the next iteration would start using USB-C even if it costed a bit more per-board.

jsheard · 2 years ago
Their partners already have tons of alternative boards ready to go, including a few which are drop-in replacements for the Pico, if you don't mind spending a bit more for USB-C:

https://www.raspberrypi.com/for-industry/powered-by/product-...

latsu · 2 years ago
The problem is most of the boards from partners are specialized with different hardware add-ons and have a significant markup at about 10 USD a board, which makes it harder to justify buying a handful of boards to tinker with. It's quite unfortunate.
gs17 · 2 years ago
For anyone else who wanted to see the Challenger+ board's specs/price (for some reason the rpi page only links to a photo of it): https://ilabs.se/product/challenger-rp2350-wifi-ble/?&curren...
05 · 2 years ago
At least microUSB always works, with Chinese USB-C boards they skimp on the CC pull-ups so the ports don't work with typeC to typeC cables.
ComputerGuru · 2 years ago
Oh, I was trying to understand why cheap chiniseum USB-C-powered products off Amazon were only charging from a cheap USB-A brick and not from my quality USB C chargers.
knodi123 · 2 years ago
Ugh, that one was killing me the other day. I went through 3 different cables before I found a hardware designer on the company's discord who could explain the issue.
mrkstu · 2 years ago
Ok, that explains it. I have a usb powered LED lamp that I’ve been trying to recharge via a c to c cable- but it only works with a b to c.

Thought it might be the cable at first, but it was general. Just couldn’t think of a reason why it wasn’t supported though…

AnotherGoodName · 2 years ago
I suspect the microUSB would actually fail in OTG mode for the same reasons in that case though? It's the same thing in terms of needing extra resistors.
gregmac · 2 years ago
Contrary view: I don't mind, because of two things:

1: I still have a ton of micro-USB cables, and a decreasing number of things to use them for. Some are unused, still in unopened packages.

2: Devices like this don't get moved and plugged/unplugged frequently, which is what kills the connector.

bangaladore · 2 years ago
Probably to maintain the exact same form factor as the Pico (1)
naikrovek · 2 years ago
Probably so they can say that it's a drop-in upgrade over the Pico 1. It's not a drop-in upgrade if you have to redesign your project's case to use it.
zamadatix · 2 years ago
Funnily enough, they advertise one of the partner boards with USB C in that way anyways:

> Picossci2 Breakout is a drop-in replacement for Pico 2, with a USB-C connector.

asadalt · 2 years ago
doesn’t usb-c significantly increase the components required? unless you skimp and just replace the connecter only, which won’t always work.
bschwindHN · 2 years ago
It just needs two resistors on the CC lines.

My guess is the RPi foundation has a _ton_ of extra micro USB connectors they want to use up.

0x457 · 2 years ago
No, it just needs 2 extra resistors to work properly, but will work as-is if you use USB-A to USB-C cables and as long as you don't pull more power than available by default (i.e. you can request 3A @ 5V just by adding two resistors, but without it you're limited to USB's defaults)

In the past, when usb-c just got introduced micro usb ports for significantly cheaper than usb-c, so it made some sense. Today, it makes no sense.

GloriousKoji · 2 years ago
I understand all the reason why but I'm still disappointed with the USB 1.1 controller instead of a USB2.0
tommiegannert · 2 years ago
Compared to RP2040:

Larger package (60 or 80 pins)

Variant with 2 MB in-package Flash

Secure boot and encrypted boot

Two security execution contexts

Random number generator

SHA-256 accelerator

8 kB of OTP ROM (separate from the 32 kB BOOTROM)

8 channel HSTX high speed serial transmitter

30->48 GPIO (18 more, in the 80 pins)

8->12 PIO state machines

12->16 DMA channels

RISC-V and ARM (selectable at boot, individually per core)

Cortex-M0+->Cortex-M33 (I don't know what that means in practice)

133->150 MHz core clock

https://datasheets.raspberrypi.com/rp2350/rp2350-datasheet.p...

qwertox · 2 years ago
One of the nicest datasheets I've seen.

Not in terms of the product specs (which are also really nice), but in terms of layout and content.

disqard · 2 years ago
Thanks for calling that out!

Indeed, that is a well-written technical book that one could read cover-to-cover. It has a clear progression of topics, and all of the text is beautifully written:

"Once secure boot is enabled, the bootrom verifies signatures of images from all supported media: flash, OTP, and images preloaded into SRAM via the UART and USB bootloaders. At this point you lose the ability to run unsigned images; during development you may find it more convenient to leave secure boot disabled. The next section describes the generation of signed images to run on a secure-boot-enabled device."

"The chip-level reset subsystem shares a register address space with other power management subsystems in the always-on domain. The address space is referred to as POWMAN elsewhere in this document. A complete list of POWMAN registers is provided in Section 6.4, “Power Management (POWMAN) Registers”, but information on registers associated with the brownout detector are repeated here."

"The clocks block provides independent clocks to on-chip and external components. It takes inputs from a variety of clock sources, allowing the user to trade off performance against cost, board area and power consumption. From these sources it uses multiple clock generators to provide the required clocks. This architecture allows the user flexibility to start and stop clocks independently and to vary some clock frequencies whilst maintaining others at their optimum frequencies."

I am thoroughly impressed!!

Narishma · 2 years ago
> Larger package (60 or 80 pins)

I think the 60 pin version is the same size as RP2040.

tommiegannert · 2 years ago
It's a QFN56, but yeah, basically the same.
thrtythreeforty · 2 years ago
Wow, this seems to address every complaint about the RP2040 I had. Be sure to read all the way to the bottom for the "One more thing" section. You can choose Cortex-M33 or RISC-V at boot time transparently!
sand500 · 2 years ago
For a mass produced product, why waste die space on RISC-V cores that can only be used instead of the Cortex cores? Why not just use that die space for more ram or another ARM core? Doesn't it make sense to sell a variant that is entirely RISC-V?
coder543 · 2 years ago
https://x.com/wren6991/status/1821582405188350417

Supposedly it didn’t require any measurable amount of additional die space, because other things constrained the minimum size of the die (like the I/O pads), according to one of the Raspberry Pi engineers.

An additional ARM core would have required significant changes to the crossbar. Right now, only two cores can be active, not three.

numpad0 · 2 years ago
If I were to guess, they probably concluded that `cumulative wasted manufacturing cost` < `engineering fees and costs of maintaining two entirely different chips`.

I think this type of pseudo-wasteful design is not unheard of when manufacturer had two markets to deliver to that had substantially different processing, but not I/O, requirements, as well as when some of major features in already manufactured chip didn't work out and ways to offset losses would be nice.

cjbgkagh · 2 years ago
Wild-ass guess; but I assume there is a lot of overlap in the functionality between the type of cores which would mean only a small amount of extra space is required for the additional RISC-V instruction set support as opposed to having distinct CPU cores.
wkat4242 · 2 years ago
Yeah or allow all 4 to be used at the same time
niutech · 2 years ago
What's the purpose of RISC-V core when you already have ARM? More PSRAM or a NPU whould be more beneficial.
01100011 · 2 years ago
Maybe a good place to ask this: does anyone know of an all-in-one board for battery management in small mobile devices? Recently started playing with the ESP32 and was surprised there isn't a ready-to-go board on AliExpress for handling usb battery charging with simultaneous device powering. I want to add a LiPo to my design and have it just work like my cell phone does.
HeyLaughingBoy · 2 years ago
Adafruit has a couple of LiPo charger boards, but they don't have the integration you'd want: you'd need a separate USB cable for charging.

ISTR that some of their ESP32 boards do, though. i.e., charge LiPo through the USB port.

Also, I think some of the Heltec boards do. I have one here with a JST battery connector, but I haven't used it in so long, I'm not sure. I think this is the one I have: https://heltec.org/project/wifi-kit32-v3/

brk · 2 years ago
LILYGO has some. I have one on my desk right now, the T18: https://github.com/LilyGO/TTGO-T-ControllerV2.2/blob/master/...

Though I'll also not I'm having some problems getting it to take an upload properly, but I tend to find most of the LILYGO stuff takes a little experimentation to get everything right, then it is reliable once you know what it likes.

numpad0 · 2 years ago
ESP32 chips supposedly has an integrated BMS, and it's used in M5Stack as well as Seeeduino XIAO. Weird part is it's not clearly stated how it works other than you're supposed to solder a battery on.
dvh · 2 years ago
I'm currently exploring 2-cell solutions: BQ25886, BG25887, MP5461, MP2672, LTC3118, MP2639C, IP2326, BQ294533, MCP73213. And here are some single cell solutions: IP2312, ETA9740, TP5100, IP5328P, MCP73834, MCP73833, LTC1734, LTC4121.

I found some modules on aliexpress with usbc connector, for example:

- IP2326 https://www.aliexpress.com/item/1005007175222069.html

- CN3302 https://www.aliexpress.com/item/1005006203228418.html

but I haven't tested them yet.

jonp888 · 2 years ago
Pimoroni has a range of products. Here is a generic batter management board with simultaneous charging: https://shop.pimoroni.com/products/lipo-amigo?variant=397793...

You can also get version to fit the Pico, or even a RP2040 based board with integrated battery management.

heywire · 2 years ago
The Heltec Lora32 has integrated LiPo circuitry, but it might be overkill if you don’t need the RF side of things.
camel-cdr · 2 years ago
Oh, cool two Cortex-M33 cores (4.09 CoreMark/MHz) and two open-source RISC-V Hazard3 cores (3.81 CoreMark/MHz): https://github.com/Wren6991/Hazard3
jaustin · 2 years ago
Looks like it's an "and" in silicon and an "or" at boot time?

>RP2350 includes a pair of open-hardware Hazard3 RISC-V cores which can be substituted at boot time for the Cortex-M33 cores. Our boot ROM can even auto-detect the architecture for which a second-stage binary has been built and reboot the chip into the appropriate mode

https://www.raspberrypi.com/documentation/microcontrollers/s...

Narishma · 2 years ago
From what I've read, it's also possible to run one ARM core and one RISC-V core concurrently.
pjot · 2 years ago
Yes, it can run DOOM.

  We’ve seen some amazing demonstrations of that power: from our very own Graham Sanderson’s port of DOOM

Narishma · 2 years ago
That was the previous model.
jchw · 2 years ago
So we've seen people discuss doing dirty tricks like trapping and emulating writes, among other horrible things, to get external RAM "working" on an RP2040. The RP2350 datasheet says it supports read/write memory mapping on its new QSPI memory interface. So, does that mean one can just straightforwardly hook up PSRAM? I'm not much of a hardware person but this seems very promising. (And also, I'm really curious how much better the performance will be if you can do that.)
boojums · 2 years ago
>Support for external QSPI PSRAM

The post claims PSRAM is supported.

jchw · 2 years ago
Oh I see. I either got merged into this discussion from another thread or came here from a dupe link, but I was looking at the product page which didn't seem to talk about it.

Either way, that seems like great news.