Author Topic: Why are you still using 8 bit MCUs?  (Read 113065 times)

0 Members and 2 Guests are viewing this topic.

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Why are you still using 8 bit MCUs?
« Reply #150 on: October 04, 2013, 04:42:57 pm »
Quote
it was "internet based".

CoIDE isn't but there are "internet based" mcu toolchains - I actually would have expected them a while back: someone could set up a compiler in the backend and with the front end being a brower or even an editor. All compiling is done "in the cloud".

Not sure if the licenses would allow that.
================================
https://dannyelectronics.wordpress.com/
 

Offline garak

  • Contributor
  • Posts: 32
  • Country: au
Re: Why are you still using 8 bit MCUs?
« Reply #151 on: October 04, 2013, 05:26:01 pm »
Quote
However, the results from the PIC I used were more than acceptable so why the bloody hell would I use anything else?

For sourcing reasons? for certification reasons? for software reasons? ...

The PICs were already available, I checked this when I started the design. WE were the certification body (I built the kit, someone else in the company approved the calibration procedure and then a third person actually performed the cals). I used the software I knew and it worked fine, why change things that don't need to be changed?
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Why are you still using 8 bit MCUs?
« Reply #152 on: October 04, 2013, 05:38:54 pm »
Quote
I used the software I knew and it worked fine, why change things that don't need to be changed?

Because the world can be far more complex and diverse than one's experience is.
================================
https://dannyelectronics.wordpress.com/
 

Offline gibbled

  • Regular Contributor
  • *
  • Posts: 102
  • Country: ca
  • VE7 call sign
Re: Why are you still using 8 bit MCUs?
« Reply #153 on: October 04, 2013, 06:01:59 pm »
Because I have no lpc800's yet.
 

Online free_electron

  • Super Contributor
  • ***
  • Posts: 8517
  • Country: us
    • SiliconValleyGarage
Re: Why are you still using 8 bit MCUs?
« Reply #154 on: October 04, 2013, 06:47:20 pm »
why not ? use what fits the application.
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline madshaman

  • Frequent Contributor
  • **
  • Posts: 698
  • Country: ca
  • ego trans insani
Why are you still using 8 bit MCUs?
« Reply #155 on: October 04, 2013, 10:06:56 pm »

use what fits the application.

I think this is simple as anyone can put it.
To be responsible, but never to let fear stop the imagination.
 

Offline mtdoc

  • Super Contributor
  • ***
  • Posts: 3575
  • Country: us
Re: Why are you still using 8 bit MCUs?
« Reply #156 on: October 04, 2013, 11:01:41 pm »
Because I only have an 8 bit brain... :-//
 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: Why are you still using 8 bit MCUs?
« Reply #157 on: October 04, 2013, 11:13:57 pm »
I'm a fan of microcontrollers that have been around for longer because it's more likely that others will have some experience with them. It's also more likely that they'll be around for a long time to come, and development tools are often very easy to find, including third-party alternatives.
No longer active here - try the IRC channel if you just can't be without me :)
 

Online free_electron

  • Super Contributor
  • ***
  • Posts: 8517
  • Country: us
    • SiliconValleyGarage
Re: Why are you still using 8 bit MCUs?
« Reply #158 on: October 04, 2013, 11:18:27 pm »
Because I only have an 8 bit brain... :-//

a byte visits the doctor.
Doctor asks what wrong
Byte says. i've been feeling sick
Doctors says i thought you were a bit off when you entered...
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 26917
  • Country: nl
    • NCT Developments
Re: Why are you still using 8 bit MCUs?
« Reply #159 on: October 05, 2013, 12:49:15 am »

use what fits the application.

I think this is simple as anyone can put it.
A bit too simple though. I make lots of different projects with different requirements. If I'd need to keep up with 10 different architectures I'd go crazy and never utilize one architecture to the fullest. So I (mostly) use one family of controllers which has a wide range of packaging, peripherals & memory options and an ARM CPU so it never runs out of steam. In some cases you just can't avoid working around some hardware limit using software. Not to forget about the ever changing requirements. A controller which barely fits today may not fit tomorrow when the new requirements come in.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Why are you still using 8 bit MCUs?
« Reply #160 on: October 05, 2013, 02:00:18 am »
Quote
A controller which barely fits today may not fit tomorrow when the new requirements come in.

A controller which fully fits today may not fit tomorrow when the new requirements come in either.

================================
https://dannyelectronics.wordpress.com/
 

Offline David_AVD

  • Super Contributor
  • ***
  • Posts: 2806
  • Country: au
Re: Why are you still using 8 bit MCUs?
« Reply #161 on: October 05, 2013, 06:00:13 am »
Exactly.  Using a chip that's appropriate for the needs makes perfect sense.

Of course there's nothing wrong with using the larger (RAM, FLASH) version of a chip for several low volume projects.  That way you can buy in bulk and actually save money.
 

Offline Kjelt

  • Super Contributor
  • ***
  • Posts: 6460
  • Country: nl
Re: Why are you still using 8 bit MCUs?
« Reply #162 on: October 05, 2013, 07:06:21 am »
Well we have this discussion almost with each product in our company and if it is up to the hw/sw eng. Only it would be an Arm32. However as soon as TPL , marketing etc. Come in the famous BOM starts coming in. Then magic sales precasting figures ( that never get met BTW) of hundreds of thousands and millions fly by and then the choice for a 8 bit micro that also can handle the job saves $0,30 to $0,50 a piece per product, so saves millions  :palm:
 NRE is not calculated which is rediculous but hey thats the real world.  :(
 

Offline WarSim

  • Frequent Contributor
  • **
  • Posts: 514
Why are you still using 8 bit MCUs?
« Reply #163 on: October 05, 2013, 07:11:11 am »

Exactly.  Using a chip that's appropriate for the needs makes perfect sense.

Of course there's nothing wrong with using the larger (RAM, FLASH) version of a chip for several low volume projects.  That way you can buy in bulk and actually save money.

I completely agree.  This is about money.  It is very possible to distribute the BOM cost across several low volume projects and save money.  I do something similar for my DIY projects also.  I select a generic part at three tiers and buy enough to save.  Then I use the parts when I can.  If I can't it is a unique project I get some for that project and a few spares.  If something new comes out I evaluate it as a replacement tier replacement.  Same with most other components when I foresee a continued use. 

Right now I have 5 tiers because new good stuff came out this year and the low tier is becoming used less.  PIC10, PIC18, PIC24F, PIC24E, dsPICF, and a few PIC32 samples are my current tiers.  I don't count the PIC32F as a tier because I haven't needed one for any of my projects yet, the all fit in PIC24 so far. 

I got a kick out of using the PIC10s in projects.  They are a SOT23-6 package and they make my peers scratch their heads when I show it to them.  Of course now they know about them so they are fooled a lot less now. 
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Why are you still using 8 bit MCUs?
« Reply #164 on: October 05, 2013, 10:40:59 am »
Quote
PIC24F, PIC24E, dsPICF

They are essentially the same.
================================
https://dannyelectronics.wordpress.com/
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 26917
  • Country: nl
    • NCT Developments
Re: Why are you still using 8 bit MCUs?
« Reply #165 on: October 05, 2013, 03:48:23 pm »
Quote
A controller which barely fits today may not fit tomorrow when the new requirements come in.

A controller which fully fits today may not fit tomorrow when the new requirements come in either.
That is not a problem if the same family of controllers offers a path from 32 pins/4kB RAM to >200pins with SDRAM support. All with compatible peripherals so code reuse is maximised. Time spend on writing software is what drives the costs where I live.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Why are you still using 8 bit MCUs?
« Reply #166 on: October 05, 2013, 04:29:39 pm »
Quote
That is not a problem if...

Those wonderful "ifs", :)

================================
https://dannyelectronics.wordpress.com/
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 26917
  • Country: nl
    • NCT Developments
Re: Why are you still using 8 bit MCUs?
« Reply #167 on: October 05, 2013, 05:45:25 pm »
I should have typed 'when'. NXP's LPC800, 1000, 2000 series of microcontrollers just does that. All ARM based and the peripherals are the same. Moving from one device to another is a piece of cake.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Online free_electron

  • Super Contributor
  • ***
  • Posts: 8517
  • Country: us
    • SiliconValleyGarage
Re: Why are you still using 8 bit MCUs?
« Reply #168 on: October 05, 2013, 06:05:56 pm »
what i meant with my post is : if you need to make a gizmo that reads two buttons and drives an led and a transistor .. an 8 pin chip will do... no need to cram in a 488 pin bga processor with 2 gig ddr5 ram running loonix ...

that is what i mean  : use the proccesor that fits the application.

if there are no arm cortex cpu's in 8 pin package : slap a pic or avr  in it.
most people program in a higher level language. all you need to learn is the peripherals. so what. that takes a few hours to figure out the first time.
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Why are you still using 8 bit MCUs?
« Reply #169 on: October 05, 2013, 06:06:10 pm »
Quote
NXP's LPC800, 1000, 2000 series of microcontrollers just does that. All ARM based and the peripherals are the same. Moving from one device to another is a piece of cake.

That's marketing talk that they want you to believe.

Take a datasheet / reference manual / user manual and you will easily find differences.
================================
https://dannyelectronics.wordpress.com/
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Why are you still using 8 bit MCUs?
« Reply #170 on: October 05, 2013, 06:07:29 pm »
Quote
most people program in a higher level language. all you need to learn is the peripherals.

Absolutely true. The "cores" are really transparent to most of the programmers out there. Spending so much time talking about it is just silly.
================================
https://dannyelectronics.wordpress.com/
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 26917
  • Country: nl
    • NCT Developments
Re: Why are you still using 8 bit MCUs?
« Reply #171 on: October 05, 2013, 09:47:17 pm »
Quote
NXP's LPC800, 1000, 2000 series of microcontrollers just does that. All ARM based and the peripherals are the same. Moving from one device to another is a piece of cake.

That's marketing talk that they want you to believe.
Take a datasheet / reference manual / user manual and you will easily find differences.
I have been using these processors for close to 10 years now so I do know my way around them. IOW: its experience talking.

@free_electron: those few extra hours often cost more than just using a chip which is 50 cents more expensive. There is also time needed to teach the people from production to use different tooling for programming. All in all that quickly adds up to two extra days in labour costs ($1000) which need to be recouped before the break even point is there. So you'd need to sell 2000 units before making a profit. Besides that those two days are usually better spend on improving or creating new products. The most succesful companies I worked for steered their development department based on engineering costs.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Why are you still using 8 bit MCUs?
« Reply #172 on: October 05, 2013, 09:49:12 pm »
Quote
I have been using these processors for close to 10 years now so I do know my way around them.

I guess you haven't run into those numerous and obvious differences in your 10 years of using them.
================================
https://dannyelectronics.wordpress.com/
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 26917
  • Country: nl
    • NCT Developments
Re: Why are you still using 8 bit MCUs?
« Reply #173 on: October 05, 2013, 10:47:49 pm »
Not really. Then again to me a glass is never half empty. When I was still working for an employer I developed a networked product which got an upgrade from an LPC2103 to an LPC1768 (*). The PCB wasn't even redesigned from scratch. Just move some stuff to make room for a bigger part. UARTs, timers, SPI, I2C, GPIO, ADC work just the same. Some differences in setting up the clock, interrupts and I/O pins ofcourse. The biggest difference was going from a bit-banged ethernet MAC to a real MAC. Still both versions compiled from the same source (with some defines to differentiate between product and hardware platform) with the same compiler and the hardware got programmed using the same programmer and software.

(*) Actually the product was a hardware platform which could be used as 20 different products. It wasn't designed that way but it just turned out to be that versatile.
« Last Edit: October 05, 2013, 10:49:35 pm by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Why are you still using 8 bit MCUs?
« Reply #174 on: October 05, 2013, 10:53:40 pm »
Pick any device from the three families and I am happy to show you how some of the peripherals differ.

================================
https://dannyelectronics.wordpress.com/
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf