News for hackers. Stuff that matters.
Re:1TB Raspberry Pi SSD on sale now for $70 by tzs on Friday September 05, 2025 @12:30PM (#45140445)
What I'd really like is an RPi4 or RPi5 that has an ATmega328P on board that can be programmed and controlled from the software running on the ARM processor. Basically a built-in Arduino UNO.
Re:1TB Raspberry Pi SSD on sale now for $70 by arcane23 on Friday September 05, 2025 @02:34PM (#45142011)
Just get a hat? They breakout into Arduino UNO style connectors and you can use hats designed for that on top of it.
Re:1TB Raspberry Pi SSD on sale now for $70 by teamonkey on Friday September 05, 2025 @12:50PM (#45140712)
Have you looked at programming the RP1 chip on board the Pi5? It’s not exactly a RP2040 but it has PIO and other similarities.
Re:1TB Raspberry Pi SSD on sale now for $70 by ThatPlayer on Friday September 05, 2025 @12:54PM (#45140750)
Not an ATmega328P (and not ARM), but the Radxa X4 has an Intel N100 with a RP2040 microcontroller built-in.
Re:1TB Raspberry Pi SSD on sale now for $70 by teamonkey on Friday September 05, 2025 @01:07PM (#45140899)
I remember someone testing that board (Jeff Geerling, maybe?) and there was significant lag on the GPIO because the MCU is essentially an external device with communication over serial (IIRC), it just happens to be mounted on the motherboard.
Re:1TB Raspberry Pi SSD on sale now for $70 by ThatPlayer on Friday September 05, 2025 @02:37PM (#45142048)
The Raspberry Pi 5 has also done something similar: the CPU no longer controls the GPIO directly, but through a RP1 southbridge. Maybe that's what you're thinking of? Don't see any mention of latency on Jeff's review on it, and I doubt the Radxa X4 is popular enough for any big in-depth review like that.

It looks like the RP2040 on the X4 is connected via USB. The RP2040's bootloader mode that enables flashing emulates a mass storage device over USB to transfer firmware, so it would be confusing to not connect it via USB.

Re:1TB Raspberry Pi SSD on sale now for $70 by teamonkey on Friday September 05, 2025 @04:46PM (#45143402)
To clarify, the issue with the X4 is that it essentially is no different than having a Pi Pico attached via USB.

This means that your x86 program doesn’t directly control the GPIOs, it must communicate with the RP2040 over USB serial. The RP2040 must be flashed with a firmware that knows how to handle these serial commands.

It works, but it’s an extra step and timing may be an issue.

On the other hand, a Raspberry Pi Linux program can toggle GPIO pins natively simply by using the official libraries.

I mentioned the RP1 in another comment.

Re:1TB Raspberry Pi SSD on sale now for $70 by slug on Friday September 05, 2025 @12:55PM (#45140768)
Beaglebone Black with PRU