8 ms·
Some high level info on the Pico [1]: - New RP2040 microcontroller with 2M Flash - Micro-USB B port for power and data (and for reprogramming the Flash)
by schappim 6y ago
Some high level info on the Pico [1]:
- New RP2040 microcontroller with 2M Flash
- Micro-USB B port for power and data (and for reprogramming the Flash)
- 40 pin 21x51 'DIP' style 1mm thick PCB with 0.1" through-hole pins also with edge castellations
- Exposes 26 multi-function 3.3V General Purpose I/O (GPIO)
- 23 GPIO are digital-only and 3 are ADC capable
- Can be surface mounted as a module
- 3-pin ARM Serial Wire Debug (SWD) port
- The power supply achitecture is pretty simple (you can power the unit from micro-USB, external supplies or batteries)
- Buy price is $USD 4.00
- MicroPython & C++ SDK
- Pinout Diagram: https://files.littlebird.com.au/Shared-Image-2021-01-21-17-39-47-GVzHd.png
- When using MicroPython, the programming model is similar to other boards where you have to unplug and plug back in the board. I hope this is ok on the Micro-USB port.
- The isn't currently a version with header pins, so you'll have to add your own, or get one from a Reseller who will mode them for you (like this one [2]).
The burried the lede is that Raspberry Pi have created their own silicon (just like that other fruit company).
They call their Microcontroller the "RP2040":
It boasts some impressive specs:
- Dual-core cortex M0+ at up to 133MHz
- On-chip PLL allows variable core frequency
- 264K multi-bank high performance SRAM
- External Quad-SPI Flash with eXecute In Place (XIP)
Source:
[1] I've had access to prerelease HW and work at: https://raspberry.piaustralia.com.au/products/raspberry-pi-pico https://raspberry.piaustralia.com.au/products/raspberry-pi-p...
[2] Maddy (with her steady hands) has hand modded 100 of these: https://raspberry.piaustralia.com.au/products/raspberry-pi-pico?variant=32587824103473 https://raspberry.piaustralia.com.au/products/raspberry-pi-p...
- RL_Quine 6y agohttps://datasheets.raspberrypi.org/rp2040/rp2040_datasheet.pdf https://datasheets.raspberrypi.org/rp2040/rp2040_datasheet.p...
- teraflop 6y agoOh nice, it actually has fully programmable USB device and host modes built in, as opposed to the basic USB-to-serial bridge in an Arduino.
- schappim 6y agoI've put some guides on the Raspberry Pi Pico here: https://littlebird.guide/lessons https://littlebird.guide/lessons The Pico is pretty awesome. Arduino and Micro:Bit need to watch out!
- magicalhippo 6y agoThe programmable IO blocks look very interesting. PIO is programmable in the same sense as a processor. There are two PIO blocks with four state machines each, that can independently execute sequential programs to manipulate GPIOs and transfer data. PIO is highly performant as well as flexible, thanks to a carefully selected set of fixed-function hardware inside each state machine. When outputting DPI, PIO can sustain 360 Mb/s during the active scanline period when running from a 48 MHz system clock. In this example, one state machine is handling frame/scanline timing and generating the pixel clock, while another is handling the pixel data, and unpacking run-length-encoded scanlines. State machines' inputs and outputs are mapped to up to 32 GPIOs (limited to 30 GPIOs for RP2040), and all state machines have independent, simultaneous access to any GPIO. Will definitely pick a few of these up to play with.
- kbumsik 6y agoPIO is definetly interesting stuff. This has its own assembly language (.pio) to program. Custom peripherals can be implemented by using this assembly. Raspberry Pi already provides example programs such as custom I2C, SPI, UART (they are different from the hardware peripherals in the chip), logic analyser, LED controller, and etc[1]. [1]: https://github.com/raspberrypi/pico-examples/tree/master/pio https://github.com/raspberrypi/pico-examples/tree/master/pio
- happycube 6y agoNote that 10Mb Manchester encoding is in there - just what you need for very basic Ethernet.
- afandian 6y agoESP32 has something like this, where the low-power core executes a state machine. I'd be interested how similar they are. https://www.youtube.com/watch?v=-QIcUTBB7Ww https://www.youtube.com/watch?v=-QIcUTBB7Ww
- nousermane 6y agoFirst-generation ESP32 has an exceptionally weird low-power core. Retroactively, espressif called this "FSM ULP". For example, among other weirdness, this core has only one way to write memory that: - writes only 32-bit words; - only at 32-bit-aligned addresses; - user program only controls lower 16 bits of the word; - upper 16 bits are written with, basically, garbage (part of program counter). Second-generation, ESP32-S2 is supposed to have a regular RISC-V low-power CPU core, in addition to the FSM.
- numlock86 6y agoCool. I will definitely get one to port my M0 bootloader on. Wonder why they were so sparse on ADC channels, though.
- mmoskal 6y agoIt comes with UF2 (USB mass storage) bootloader in ROM
- olx_designer 6y agoWould be perfect to have ble/wifi connectivity on the same board.
- teekert 6y agoYes, that in combination with Micro Python would make it an esp32 killer for me.
- justinclift 6y agoAnother place in Australia selling them with headers: https://core-electronics.com.au/raspberry-pi-pico-soldered-headers.html https://core-electronics.com.au/raspberry-pi-pico-soldered-h...