Shop OBEX P1 Docs P2 Docs Learn Events
Comparing Propeller with other Microcontrollers — Parallax Forums

Comparing Propeller with other Microcontrollers

william chanwilliam chan Posts: 1,326
edited 2009-08-13 06:25 in Propeller 1
I hope this is allowed and viewed with an open mind.

1. How many microcontrollers can change clocking speed during runtime like the propeller can?
2. How many single chip microcontrollers has a built in high level language interpreter like spin?
3. How many microcontrollers consumes less current than the propeller per mips?
4. At 20Khz clock, how does the current consumption of the Prop compare with other microcontrollers? ( when only one cog is used )
5. How does Propeller's selling price compare with other 32bit microcontrollers with about the same processing power? (MIPS)
6. How does the Propeller's selling price compare with other multi-core microcontrollers? ( similar quantity breaks )

I think if more competitive advantages of the Propeller are known, the more people will use it in their products.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my
«134567

Comments

  • LeonLeon Posts: 7,620
    edited 2009-01-08 14:09
    The four-core XMOS chip has 10 times the performance (1600 MIPS), 64k per core and eight times as many I/Os (256), but only costs $33! It does use a lot more power, of course. It also has very efficient XC and C compilers and excellent real-time debugging.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle

    Post Edited (Leon) : 1/8/2009 2:17:07 PM GMT
  • simonlsimonl Posts: 866
    edited 2009-01-08 17:58
    Hmmm, at $13 I'm not sure I've seen ANY other uC that comes close to the Propeller in terms of simplicity of use, and few others that I'd consider hobbyist friendly.

    Sure there are the PICs; AVRs; and Arduinos, but then you have to mess around with all that <ehem> interrupt stuff freaked.gif

    Like Leon, I'm intrigued by the XMOS chip, but @ $33 it's not really accessible to the hobbyist - as it's a BGA chip. If you want an XMOS to do hobby stuff with, you'll need their XC-1 Dev Kit, and that's closer $99!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Cheers,
    Simon

    www.norfolkhelicopterclub.com

    You'll always have as many take-offs as landings, the trick is to be sure you can take-off again wink.gif
    BTW: I type as I'm thinking, so please don't take any offence at my writing style smile.gif
  • waltcwaltc Posts: 158
    edited 2009-01-08 18:31
    Interrupts aren't black magic nor impossible for mere mortals to understand. If you can write a video driver or writing assembly code on a regular basis you're more than capable of understanding interrupts.

    And for simple applications you don't have to use interrupts at all or can get by with a round robin scheduler. Mandatory they are not.
  • RiJoRiRiJoRi Posts: 157
    edited 2009-01-08 18:41
    2. How many single chip microcontrollers has a built in high level language interpreter like spin?

    I know of two with built-in HLLs. Neither are made any longer, AFAIK. There was a FORTH* chip (R2500???) with built in FORTH, and Nat Semi made an 8073 with a BASIC interpreter built in.

    Oh, yeah, the 8052-BASIC chip. You can get the interpreter on the 'net, and burn an 8052 with it, but Intel is not producing them any longer, again AFAIK.

    But I do not think ANY of them had the ease & functionality of SPIN. hop.gif

    --Rich
    * Please, no discussions on how high-level FORTH is, nor if it's a language! [noparse]:D[/noparse]
  • LeonLeon Posts: 7,620
    edited 2009-01-08 18:45
    The Intellasys SEAForth chip has 40 cores each running compiled Forth. They are expensive at over $60 each in small quantities. Package is QFN.

    Single-core XMOS chips will be available in QFN.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle

    Post Edited (Leon) : 1/8/2009 6:57:18 PM GMT
  • Paul BakerPaul Baker Posts: 6,351
    edited 2009-01-08 19:20
    Guys don't be suprised if this thread gets moved to the Sandbox, Chris made the warning about a month ago that these conversations belong there, until then carry on.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Paul Baker
  • parts-man73parts-man73 Posts: 830
    edited 2009-01-08 20:01
    It confuses me why users of other microcontrollers have such disdain for the Propeller. I mentioned it on another microcontroller forum (which by the way, is not for any specific micro, so it wasn't like I was posting on another company's turf) and I received responses that made it obvious that they didn't want to hear about the Propeller.

    I really think that if they got over themselves and tried it, they'd love it. (if they went into it with an open mind)

    I do believe there is the right tool for the right job. Just as you wouldn't try to drive a nail with a screwdriver, you don't need a Propeller to drive a HD44780 LCD. I simple $3 PIC will suffice. But the speed in which you can develop a project always impresses me (that coupled with the fact the I have an abundance of Propeller circuit boards around smilewinkgrin.gif ) that I use a propeller in most every project nowadays.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Brian

    uController.com - home of SpinStudio - the modular Development system for the Propeller

    PropNIC - Add ethernet ability to your Propeller! PropJoy - Plug in a joystick and play some games!

    SD card Adapter - mass storage for the masses Audio/Video adapter add composite video and sound to your Proto Board
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2009-01-08 20:13
    I too have experienced the "stigma" but have chalked it up to the old
    microcomputer wars of the 80's. Everyone rallied around their personal
    computer. (Even if you were a teen and mom and dad made the purchasing decision.)

    The computer flame war attitude was about a worthless in the 80's as the
    current micro-controller attitude. I'm a fan of the Propeller because of it's
    incredible easy-to-use power. I can understand the concept of using the
    right tool for the job when in a situation where production is a consideration,
    but for hobby use, every micro-controller socket in my projects is Propeller shaped.

    It's just not worth tooling up for a $3.00 chip when I'm already tooled up for
    a universal $14.00 chip. The savings doesn't add up for something one-off.

    Sandbox in 3.. 2.. 1..

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    New to the Propeller?

    Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
    Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
    Got an SD card connected? - PropDOS
  • potatoheadpotatohead Posts: 10,261
    edited 2009-01-08 20:31
    Folks, we have ignition!

    Re: Scheduler / Interrupts

    I really like not having to think about both. The trade off is thinking through how to use the COGs together. No free lunch there, of course. Still, when it's easy, it's really, really easy on the Prop, so it's a net gain from where I stand.

    Agreed with OBC. It looks an awful lot like the 80's, from that perspective doesn't it? This stuff is like religion, in that regard. More fun to be agnostic, IMHO.

    Intertia is a powerful thing. Lots of tool chains in place, skill sets well tuned, etc...

    The only thing to be done is to just be good ambassadors for the Prop. Having a lot of fun sure does pack a punch! In the end, that's what gets it all done, where mind share is concerned. And like I posed in the other thread: If the activity level sustains Parallax, does it matter?

    I really don't think it does for quite some time. So, I just look at that and mostly ignore it.

    Also IMHO, a big part of the stigma (which I've run into very little actually) lies in newbies. Everybody wants theirs to endure, mostly because they know the scene and change is hard. When new people enter in, they make learning / job choices. The more of these we get, the better the prop community is as a whole. So, it's in the interests of some where perhaps it's a big tougher to cultivate the "having fun" factor, to marginalize that.

    Again, it just won't matter, as long as the activity that is happening is enough to sustain Parallax.

    I like smaller scale computing. Always have. Nothing out there today even came close to getting me hooked. I'm happy for that, am learning a ton. I know I'm not all that far off the mark, so the mission is being accomplished. No worries past that.

    ...and it's only gonna get better!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Wiki: Share the coolness!
    Chat in real time with other Propellerheads on IRC #propeller @ freenode.net
    Safety Tip: Life is as good as YOU think it is!
  • Ken GraceyKen Gracey Posts: 7,401
    edited 2009-01-08 20:43
    @Brian: I have an idea about this, too, as a web-trolling forum visitor. I'll hazard a guess why you were not greeted.

    Most people relate Parallax to the BASIC Stamp. In the BASIC Stamp's earlier years there were not a whole of alternatives - mainly only the MELabs PICBASIC compiler was the big competitor. Time passed and lots of alternatives came into existence for hobbyists with BASIC languages (AVRs, Arduinos, etc. the list is long as you know). Hobbyists felt the BASIC Stamp's price of $49+ was too high for what it is - after all, they can now program a $3 chip! They probably didn't need us anymore at this point [noparse][[/noparse]unless they wanted to use the SX, or wait around for the Prop). Never mind that the PBASIC interpreter has been rock-solid.

    At this point such an educated or skilled customer may not have benefited from what the $49 price tag enabled us to do for our customers. But, this price enabled our company to create a whole program around the BASIC Stamp. In other words, it generates profit that goes straight back into the company in the form of: educational tutorials for Stamps in Class; long-term developments of products like the Propeller; sensor R&D; support staff to answer questions; staff who can layout chipd, PCBs, advertising, etc. This is all perfect stuff for the getting-started customer.

    As we excelled in getting newbies started we also eventually lost a few customers to more appropriate solutions for their production projects. The educators had many reasons to stay with us, and many hobbyists did as well.

    So, if they expressed problems with Parallax, it's probably because they associated us only with the BASIC Stamp and they no longer felt a benefit from paying $49 for a BS2-IC. Whenever somebody moves from the BASIC Stamp to a single chip they always find the BASIC Stamp over-priced. Sometimes this feeling manifests itself in negativity towards our new products, even though no time was taken to review them. The educational tutorials, support and related benefits were of less use to post-BASIC Stamp customer as they derived less benefit from such support.

    This will change as Parallax becomes more well-known for the Propeller, and appreciated for designing our own microcontrollers. People will become more open as time passes.

    Ken Gracey
    Parallax, Inc.
  • Ken GraceyKen Gracey Posts: 7,401
    edited 2009-01-08 20:53
    Regarding "inertia" and sustainability. . . Parallax's products shall endure for the long term. You won't be getting any "End of Life" notices about the P8X32 processors, I assure you. We have 21 years of business behind us and many more ahead of us, and there's no difference between the relationship we have with the customer today vs. 21 years ago. You still rule the roost in this company and will do so in the future. Profit is not our motivating factor. Designing interesting products, supporting our customers, and offering a solid work environment for our team is more important.

    Sounds like a bunch of corporate rah-rah perhaps, but that's the mode in which we operate.

    Ken Gracey
    Parallax, Inc.
  • JetfireJetfire Posts: 34
    edited 2009-01-08 21:27
    But why does the BS2 still cost $50?

    The propeller is great for having a wide range of capabilities and making it easy to use.

    How many micros make it easy to blink an LED or drive 4 TVs at the same time?
  • mirrormirror Posts: 322
    edited 2009-01-08 21:28
    I see the Propeller as having two features which are almost uniquely distinct from any other micro processor:
    1) Determinism : Code that's written into a COG will always run with the same level of performance. Imagine a VGA or serial driver COG that got interrupted - it would then either output an involuntary "blanking pulse" or "stretched bit" as a result. This doesn't happen in the Propeller!
    2) Orthogonality : Any COG can drive any pin with any of the functional features within the chip. Period! No special cases!

    To answer some of William's questions.
    1) Lots of processors can change clock speed. I do it with a PIC for power saving.
    2) GNU C compilers (free) are available for lots of micros.
    3) I haven't investigated power consumption, but as it is such a widely introduced claim I'm sure there would be multiple contenders.
    4) I was switching the aforementioned PIC between 4MHZ and 32kHz operation - the application ran for more that a year on a CR2032 battery.
    5) ARM processors are cheap (with lots of performance) - but not available as DIP.
    6) I don't know the answer, but I don't think it's interesting in any case.

    The Propeller is a great "general" solution to lot's of problems, and represents an excellent starting point. If you start to push hard in a specific areas of performance, then it start to look increasingly incapable. This needs examples:
    1) Propeller does VGA / TV output, but if you wanted 1280x1024 by 32 bit colour with 3D graphis you'd go somewhere else.
    2) Propeller talks to SD cards, but if you want 4 bit interfacing at the speed limit of the currently avialble cards you'd look at a chip with a dedicated SD driver hardware.
    3) Hanno does video scanning, but nobody on this forum considers the Propeller to be a serious contender for video scanning. Maybe as the background controller with programmable logic doing the heavy lifting.
    4) Bean does video overlay, but once again something that would be unlikely to be used in broadcast qaulity video applications.
    5) If you need more RAM... It's just not pretty on the Propeller.
    6) High speed USB2 or 100M ethernet...

    I have always find that choosing the right processor for a job is a long and arduous task. Many hours of reading the data sheets, trying to find the right match for a particular task.

    Oh, did I mention how much I hate reading through data sheets. Especially those pages that describe how all the various pins are multiplexed between functions (I can spend a day on that page alone!!!).

    One thing I really, really, really like about the P8X32A is that there are only three choices: DIP, QFP and QFN!!! And I am NOT talking about packaging - as most other chips have a range of peripheral variations just to make life even harder!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • HarleyHarley Posts: 997
    edited 2009-01-08 22:30
    RiJoRi said...

    I know of two with built-in HLLs. Neither are made any longer, AFAIK. There was a FORTH* chip (R2500???) with built in FORTH, and Nat Semi made an 8073 with a BASIC interpreter built in.

    I'd not heard much of the 8073 for years. Back in the late '90s I had no development system for the chip so wrote my own assembler in FutureBASIC (ran on a Mac). Such fun; but way too many iterations to finish the project for my own use.

    But with the Prop dev system, one can get to using the Prop almost 'immediately'. Working with the Prop is really much more fun and productive. But in its time, the 8073 was a novel IC.
    yeah.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Harley Shanko
  • hal2000hal2000 Posts: 66
    edited 2009-01-08 22:37
    I understand the XC-1 is more complicated
    Propeller always works in 32 bit
    Displaying the XC-1·asembler you realize that XC-1 no, some things just 16bit
    XC-1 is more powerful, that is true
    But it is more complicated 16 add 32 mov ...........· ufffconfused.gif
    I think we have to make soon parallax Propeller II
    I think that propeller is a good idea
    But it's bad that late in leaving Propeller II


    Sorry for my bad English

    Greetings

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Does the curiosity killed the cat?

    Envio editado por (hal2000) : 1/8/2009 10:56:38 PM GMT
  • Ken GraceyKen Gracey Posts: 7,401
    edited 2009-01-08 23:12
    @jetfire: because our customers pay it and it supplements the ability for re-investment in Parallax (we created the Propeller without external assistance). Customers who buy BASIC Stamps do so for a variety of reasons related to support hardware, tutorials, code examples, quick development, etc. and they find it a reasonable value.

    Ken Gracey
  • SRLMSRLM Posts: 5,045
    edited 2009-01-09 00:12
    I bought the BS2 way back when because at the store that I went to (Fry's) they had the WAMC kit, and it did all sorts of interesting things and (this is the most important part) it came with two books that appeared very friendly to my eyes. If those books weren't there, then I would not have bought the kit. I still wouldn't have bought it if it was $50, instead of $150, since what I really wanted was to be able to understand the material. So, I'm glad that I payed for the chance to get the knowledge, and the hardware to help me express that knowledge.
  • KyeKye Posts: 2,200
    edited 2009-01-09 00:16
    Look, for all the awsome-sauce-ness the propeller chip has there is one feature that makes it really good.

    8 PROCESSORS

    How wonderful is it to simply program your serial, mouse, keyboard, video, and·audio drivers all independently and not need to worry about how much time each one takes up.

    And then, once you have you're foundation setup you can·do higher level stuff, like building an operating system, without needing to worry about timing·problems.

    When the propeller two comes out, there will be no argument. 16 cores... you just can't say no.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Nyamekye,
  • Luis DigitalLuis Digital Posts: 371
    edited 2009-01-09 00:54
    Kye said...
    When the propeller two comes out, there will be no argument. 16 cores... you just can't say no.

    16 cores???

    I think that Chip should clarify all the capacities of the new Propeller II.
  • Ken GraceyKen Gracey Posts: 7,401
    edited 2009-01-09 01:07
    @Luis. No, he shouldn't. Such a statement of features only gets us in trouble: people "wait" for the next Propeller; if it changes from his description it does/doesn't meet expectations; and it creates upset customers because these things take a long time and people expect them to be done really quickly.

    Ken Gracey
  • WhitWhit Posts: 4,191
    edited 2009-01-09 01:11
    Ken Gracey (Parallax) said...
    Regarding "inertia" and sustainability. . . Parallax's products shall endure for the long term. You won't be getting any "End of Life" notices about the P8X32 processors, I assure you. We have 21 years of business behind us and many more ahead of us, and there's no difference between the relationship we have with the customer today vs. 21 years ago. You still rule the roost in this company and will do so in the future. Profit is not our motivating factor. Designing interesting products, supporting our customers, and offering a solid work environment for our team is more important.

    Sounds like a bunch of corporate rah-rah perhaps, but that's the mode in which we operate.

    Ken Gracey
    Parallax, Inc.
    Ken,

    It may be corporate rah-rah, but in my experience· - it is all true!


    hal2000,

    Your Avatar says it all...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Whit+


    "We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney
  • KyeKye Posts: 2,200
    edited 2009-01-09 01:51
    To clarify my statement, read the 700+ tread about the propeller 2. There are "details" but not details...

    Its the one were Chip asks about what you guys want, and don't revive it for godsake....

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Nyamekye,

    Post Edited (Kye) : 1/9/2009 7:15:04 PM GMT
  • potatoheadpotatohead Posts: 10,261
    edited 2009-01-09 04:44
    Nothing wrong with getting the word out, from time to time, Ken.

    A whole lot of companies just can't say that. Good differentiator.

    Those are nice to have right now.

    @Kye, nice job on your driver set. I think you will prove spot on with Prop II, minor details aside.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Wiki: Share the coolness!
    Chat in real time with other Propellerheads on IRC #propeller @ freenode.net
    Safety Tip: Life is as good as YOU think it is!
  • AleAle Posts: 2,363
    edited 2009-01-09 06:36
    @Hal2000: The XS-1 is a 32 bit uC (each core) that the instruction word is either 16 or 32 bits has nothing to do with what difines a processor as 8, 16 or 32 bits (normally it would be the path in and out of the ALU). Have a look at the instruction description (xs1inst87.pdf) and see it for yourself. Most instructions take 4 clocks so 4 threads are interleaved, or it cab be 8.

    The Basic stamp may seem expensive, but also allows many people with not so many programming/electronics skills to develop easily and fast many different applications (controllers, temp regulators, and things like that). See it as a fast time-to-market or time-to-done, where 50 bucks is offset by the many hours saved, even for people with greater skills. You put it connect it to sensors/peripherals and done, not a bad deal.

    The prop is something different, different concepts, I'm really amazed at what can be done, and how easily you get it done, the price does not seem that steep then: faster time-to-done.

    Post Edited (Ale) : 1/9/2009 8:06:14 AM GMT
  • hal2000hal2000 Posts: 66
    edited 2009-01-09 11:07
    Ale, I do think
    I think not understand English well, anything a bit difficult
    is very difficult for me

    So I think it is easy for all propeller
    XS-1 at the moment is valuable for me (I do not understand the mix of 16bit and 32 bit asembler "

    Parallax has to make a collection in the forums to get money for propeller II


    I hope to be understood.


    Whit you're right, I had an accident with a propeller, and this is the result

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Does the curiosity killed the cat?
  • LeonLeon Posts: 7,620
    edited 2009-01-09 11:28
    If you have questions about the XS-1 you should use the XLInkers forum.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
  • soshimososhimo Posts: 215
    edited 2009-01-09 18:49
    Just to reinforce what Ken said. I remember about 6 or 7 years ago I was doing some basic stamp stuff, just playing around mostly. I had my favorite electronics supply store I would visit weekly to discuss everything BS related. I remember one day there was a distinctive shift in attitude away from the basic stamp and towards the oopic (mainly, probably due to the price). I decided, wtf, if I'm going pic I'll just go all the way and migrated away from basic stamp for a bit after that (not to mention Microchip used to have a very generous sample program which as since been scaled way back). For the DIY hobbyist with limited budget (or cheap like me) it was attractive that I could drop a regulator, a chip, a crystal, and a few discretes and have myself a dev environment - total cost less than 5 bucks probably.

    Also, I'd like to address the issue of interrupts not being deterministic. I'd like to submit to you the 8088 which was completely interrupt driven. At 4.77Mhz it didn't have trouble being deterministic. Now, if you wrote a crappy IRQ driver, yeah, you could crash the system (just like if you write a crappy hardware driver today), but that was all about software and had nothing to do with the inherit limits of the hardware (though it was fun to tweak the timer tick driver and make your floppy drive squeal devil.gif)

    That being said, I'm still a Propeller fan, just wanted to point out that interrupt driven computing has been around for a very long time, in fact I am are using an interrupt driven microprocessor as I write this (my fingers hitting the keys are causing hardware interrupts).
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2009-01-09 19:10
    The only reason interrupts were invented in the first place was to accommodate asynchronous events with a single-threaded processor. Fortunately, the Propeller doesn't have that limitation and, thus, does not need interrupts. To want them for the Propeller is rather like someone with two healthy legs yearning for crutches.

    -Phil
  • BaggersBaggers Posts: 3,019
    edited 2009-01-09 19:12
    soshimo, surely by typing and causing hardware interrupts, you're affecting the deterministic timing as the processor has to be interrupted to handle the keyboard, unless it has external processor, which is polled by the main processor, ( which is in effect what the prop does ) hence keeping the processing in a deterministic state, ie say your processor was also creating a VGA or Composite display, PAL for example, hitting the keys would affect the timing in the display, which could in effect cause a loss of sync.
    which I think is the point that mirror was trying to make about interrupts, they cause ( as their title implies ) interruptions to the flow of the program.
    the 8088, was not creating the display, yes you can use interrupts to write keyboard/mouse drivers etc, but you start doing things like doing a display driver, that HAS to have the highest interrupt priority, as anything that stops that breaks the display, whereas the prop can do it because you know the timing won't be affected by anything, other than how it's coded. ( OK, or maybe a loss of power, or crystal failing to pulse lol. )

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/·home of the PropGFX Lite

    ·
  • jazzedjazzed Posts: 11,803
    edited 2009-01-09 19:49
    Always a wonderful and lively topic [noparse]:)[/noparse]

    The other reason interrupts were invented which is very rarely mentioned here is to allow a timer process to fire from a deterministic separate hardware source for waking up kernel scheduling and tasking in a determinate manner.

    Of course the analog of that second piece of hardware in propeller is a separate "background" cog, and thus it is not necessary for an external single hardware interrupt to actually happen because you can use a soft-event number or whatever from the "background" cog to control kernel scheduling and tasking.

    One argument is that traditional scheduling and tasking is not necessary with propeller because of extra processors. Of course those resources are limited and if you need more processes than cores, then multiple tasks must be performed in cogs which does not necessarily need to be deterministic.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    --Steve
Sign In or Register to comment.