|
Forum Index : Microcontroller and PC projects : Y'all ready for this?
| Author | Message | ||||
| PhenixRising Guru Joined: 07/11/2023 Location: United KingdomPosts: 1937 |
![]() ![]() Betas for Pico, Pico 2 and Micro:bit I have the RP2350 uf2 running on Pete's DIL module. NOTE: This is the very first release for Pico so don't expect accurate documentation. One minute you think you're reading about the Pico but you ain't |
||||
| mozzie Guru Joined: 15/06/2020 Location: AustraliaPosts: 370 |
G'day Phenix, Thanks for the link, only had a quick look but for simple stuff and speed this looks very good. Also has the one thing the PicoMite lacks, a proper low power sleep mode. Assuming it works of course. More research required. Regards, Lyle. |
||||
| Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 8877 |
TBH I'm not sure what I'm looking at... :) The various low power modes on the RPnnnn drive me bog-eyed when I look at the data sheet! I have a MicroBit somewhere. It's programmed as a thermometer, but I'm not sure where it is. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
| PhenixRising Guru Joined: 07/11/2023 Location: United KingdomPosts: 1937 |
Hi Lyle, Yes the SLEEP is what caught my eye because others have mentioned it. It's so nice to settle on the RP2350 DIL module, running MMBasic and having another, running ARMbasic as a super high-speed peripheral. I'm currently testing and not surprisingly, it's FAST |
||||
| PhenixRising Guru Joined: 07/11/2023 Location: United KingdomPosts: 1937 |
The label "main:" wasn't mentioned in the documentation and if you don't have it, the compiler gets all upset. |
||||
| zeitfest Guru Joined: 31/07/2019 Location: AustraliaPosts: 680 |
AFAIK the pico does not use a dedicated arithmetic unit like other processors, but instead uses optimised software routines. So the interpreter and compiled version probably execute the same underlying stuff, as opposed to a compiler's code accessing a arithmetic/logic unit. The times are slow compared to a more usual processor. Even crappy laptops are pushing teraflops now. |
||||
| Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 8877 |
It sort of has... From the Datasheet: Note that there is no speed gain from using integers in BASIC or from a compiler optimising code as integers or single precision. However, where some hardware coprocessors fall back into software mode for double precision the M3 doesn't. These coprocessors are *very* fast as they are not complex structures. It's pretty impressive really. Section 3.6.2 of the RP2350 Datasheet. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
| PhenixRising Guru Joined: 07/11/2023 Location: United KingdomPosts: 1937 |
But they don't run @150Mhz |
||||
| PhenixRising Guru Joined: 07/11/2023 Location: United KingdomPosts: 1937 |
No kidding. I remember thinking that I could speed something up by going all integer but the difference was negligible. |
||||
| zeitfest Guru Joined: 31/07/2019 Location: AustraliaPosts: 680 |
They seem to be describing something that is a few thousand gates used as an accelerator for software doing math, as a math coprocessor. Usually a math coprocessor is something that does math ops in a few instruction cycles and is much faster. (ed) I gather the pico 2 does do some math ops in a few cycles but the speeds above are still slow. Edited 2026-05-24 21:00 by zeitfest |
||||
| PhenixRising Guru Joined: 07/11/2023 Location: United KingdomPosts: 1937 |
The benchmarks on our table are per iteration (time taken/1000) The benchmarks above are for the FULL 1000 iterations (stated at the top). |
||||
| Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 8877 |
I think they referred to it as a "coprocessor" as that's what it sort of does. They also refer to it as an "accelerator", which is probably a more accurate description. Oh, the evils that are benchmarks! a) make sure that the compiler for your chosen hardware is optimised to the hilt for it. b) use a general purpose compiler for your competition's hardware, preferably a non-optimising one that generates lots of labels. c) bask in the glory that comes from one-upmanship! If you hand the accelerator a single command it will probably be faster than any true "math coprocessor" at the same CPU clock speed. Anything more complex and it will get increasingly slower, but by how much may not always be relevant. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
| zeitfest Guru Joined: 31/07/2019 Location: AustraliaPosts: 680 |
I had a squiz at the datasheet Apparently the ARM processor uses a FPU for single-precision. Double precision math uses the accelerator which splits it into chunks and feeds the chunks back to the main processor to be digested using the single precision FPU. Clever enough I guess but kind of mediocre IMHO. |
||||
| Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 8877 |
A fraction of the complexity, size and cost of a a full double precision FPU though. The ARM Cortex series cores are optimised for low cost and high efficiency, not highest performance. There have to be trade-offs. A big FPU sits there doing nothing for most of the time in many cases. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
| PhenixRising Guru Joined: 07/11/2023 Location: United KingdomPosts: 1937 |
ARMbasic: Had a bit of a play with it but there is no support for the UARTs which means it's a non-starter for me |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2026 |