|
Forum Index : Microcontroller and PC projects : STEP-DIR decoder for picomite PIO
| Author | Message | ||||
| Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 9021 |
At what point does it become cheaper to use a bank of Picomites instead of a single Propeller P2 and get *true* asynchronous multitasking? Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
| PhenixRising Guru Joined: 07/11/2023 Location: United KingdomPosts: 2049 |
For me....different animals; The ultimate MCU is the MMBasic family but the Prop is like an FPGA that mere mortals can program as easily as a mite. Apart from the eight CPUs, the 64 pins are processors in their own right. They can be 16bit DACs or 16bit ADCs. One of the eight CPUs can handle 16 high speed UARTs simultaneously. I prefer writing BASIC code but if I need a C function, I just make a class out of it and include it in my BASIC source and the same thing goes for a SPIN language function. Inline asm, etc. No interrupts required and so no jitter/latency. You can't get better real time. Mite + Prop is a killer combo that even grunts like me can do amazing things with. I read the other day that the P2 is something like 14 Euros. I have the "KISS" module which is very similar to Pete's RP2350 DIL. Looks like I can get them produced by JLCPCB because LCSC now has the P2 chip. |
||||
| PhenixRising Guru Joined: 07/11/2023 Location: United KingdomPosts: 2049 |
Perfect slope on the scope for the 16-bit DAC Check-out the spec: |
||||
| Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 6022 |
No, each pico can do what a prpeller core can, but the intercore communication in the P2 is magnitudes faster, until the moment Peter invents memmory sharing between 8 pico's Volhout P.s. a P2 at 14 euro may in the end be cheaper than 8 pico,s Edited 2026-07-28 00:13 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
| Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 9021 |
It does depend on whether that's what's needed for a particular task though. A simple signal to start the next process, like passing a token, is easily done on a Pico using GPIO pins or, if you want something more complex, multi-drop COM because it's buffered. A Prop appears to run as a round-robin, with each processor running in turn (or at least that's what it looks like to me). Ok, the loop is very fast, but it's still synchronous. The Picos are (or can be) truly asynchronous. PS The only P2 I can find as a bare chip is about £22 and is only available to order. You can get the modules but they cost *a lot* more - the minimal Edge module is $79. Edited 2026-07-28 00:34 by Mixtel90 Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
| PhenixRising Guru Joined: 07/11/2023 Location: United KingdomPosts: 2049 |
All cogs run concurrently and have shared resources. Depends on the quantity: |
||||
| Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 9021 |
That makes sense. The RP2350 is barely more than $1 each in any reasonable quantity, I believe. Even down as low as 80c in large quantities. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2026 |