Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Why can't we use just a simple microcontroller?

Status
Not open for further replies.
T

treez

Guest
Newbie level 1
Hello,
We need to select a microchip microcontroller for our PCB. We have found that the microchip selector tool has told us that we must choose something from the “dsPIC” range. Isn’t this range far more complicated than a “Normal” microcontroller?

Why do they call it a “dsPIC”?…. all we want is a simple “PIC”
Our microcontroller requirement was not complicated, we did not ask for high speed mathematical processing etc , so why has it only offered us the “dsPIC” range?…surely the “dsPIC” range are like ‘digital signal processors’?

The requirement for our microcontroller is as follows…..

..Must be programmable with a 5 pin header (ie the normal way for microchip microcontrollers)
..Must be able to program it using the simple “flowcode software”.
..64 pins
..18 Digital I/O
..Vdd = 3 – 5.5V
..7 ADC inputs
..1 PWM output (to control a 48V fan with)

Microchip microcontroller selector tool:
https://www.microchip.com/maps/microcontroller.aspx

An example of one of the recommended microcontrollers is the dsPIC30F6010A

dsPIC30F6010A Datasheet:
https://ww1.microchip.com/downloads/en/DeviceDoc/70150E.pdf
 
Last edited by a moderator:

andre_luis

Super Moderator
Staff member
Advanced Member level 7
Joined
Nov 7, 2006
Messages
9,502
Helped
1,186
Reputation
2,391
Reaction score
1,186
Trophy points
1,403
Location
Brazil
Activity points
55,124
In the past we 'manually' selected the dsPIC family solely due to its relatively higher speed processing if compared to others 16F and 18F cores from the same manufacturer.


Note:
Is that specification correct ?
..7 ADC outputs
 
  • Like
Reactions: treez

    T

    Points: 2
    Helpful Answer Positive Rating

ahmad1954

Full Member level 4
Full Member level 4
Joined
Jun 30, 2012
Messages
192
Helped
26
Reputation
52
Reaction score
26
Trophy points
1,308
Activity points
2,102
if your work is not complicated you can do that with any microcontroller. but you choose 64 pin micro with 18 digital io. maybe that's why microchip suggest you dspic.
 
  • Like
Reactions: treez

    T

    Points: 2
    Helpful Answer Positive Rating

wp100

Advanced Member level 6
Advanced Member level 6
Joined
May 15, 2009
Messages
3,051
Helped
884
Reputation
1,783
Reaction score
733
Trophy points
113
Location
Prime Meridian
Activity points
0
Hi,

Think you can use a lot of much simpler and cheaper Pics than the DS range.

Look at the datasheets for the 16F877a, 16F887 and 18F4520 which all seem to meet your requirements of 18+ I/O PINS plus extra free pins to allow programming and debugging without switches etc.

I assume you would prefer to use a 40pin Dip chip rather than a 64 pin SMD ?


Also you really have to decide on one voltage 3/3v3 or 5v and take in to consideration what voltages your other input and output devices like LCDs etc may need.

Flowcode has little to do with the programming of the chip, thats all taken care of by the complied .hex file and the Programmer you use; a Pickit 2/3 ?

Edit

The above chips are available in 28 and/ or 44pin SMD, does 20 less pins matter if you only want 18 I/O ?
 
  • Like
Reactions: treez

    T

    Points: 2
    Helpful Answer Positive Rating
T

treez

Guest
Newbie level 1
64 pin is easier to lay out, (as many pins not used) and gives options for having more pins in future.
 

andre_luis

Super Moderator
Staff member
Advanced Member level 7
Joined
Nov 7, 2006
Messages
9,502
Helped
1,186
Reputation
2,391
Reaction score
1,186
Trophy points
1,403
Location
Brazil
Activity points
55,124
Probably the search tool provides the answer not only based on technical criteria, but also considering business issues such as price, current stock, next manufacture, or even future availability.
 

ahmad1954

Full Member level 4
Full Member level 4
Joined
Jun 30, 2012
Messages
192
Helped
26
Reputation
52
Reaction score
26
Trophy points
1,308
Activity points
2,102
8 bit micro is suitable for many works but I saw microchip website, there is not any 8 bit micro with 64 pin so if you want 64 pin micro you should use 16 bit or dspic.
 

FvM

Super Moderator
Staff member
Advanced Member level 7
Joined
Jan 22, 2008
Messages
50,988
Helped
14,630
Reputation
29,536
Reaction score
13,739
Trophy points
1,393
Location
Bochum, Germany
Activity points
291,730
The answer to the original question is:

There's a larger number of PIC18 processors that meet all listed criteria. Possibly except for the flowcode point which isn't mentioned in the selector tools as far as I see. As flowcode is essentially a code generator for the regular C compiler, I guess it can work with any PIC processor, may be after some porting work. But I must confess, I'm not really interested in this tool.
 

horace1

Advanced Member level 5
Advanced Member level 5
Joined
Nov 18, 2008
Messages
2,118
Helped
596
Reputation
1,188
Reaction score
571
Trophy points
1,393
Location
Norwich, UK
Activity points
13,063
In the past we 'manually' selected the dsPIC family solely due to its relatively higher speed processing if compared to others 16F and 18F cores from the same manufacturer.
I agree - unless we are dealing with 10000+ units we use either PIC24 or dsPIC devices depending upon application requirements (unless we go to PIC32 , ARM or TI C5000 devices). The extra functionality and performance over PIC16 and PIC18 devices make cost difference worth while.
 

betwixt

Super Moderator
Staff member
Advanced Member level 7
Joined
Jul 4, 2009
Messages
15,793
Helped
5,085
Reputation
10,195
Reaction score
4,947
Trophy points
1,393
Location
Aberdyfi, West Wales, UK
Activity points
133,745
And be aware that many of the PIC18 series devices (maybe some newer PIC16s too) have remappable pins so you can to some extent swap the pinouts around. It's a huge help when designing complex PCBs.

Brian.
 
  • Like
Reactions: Allen6502 and treez

    T

    Points: 2
    Helpful Answer Positive Rating

    Allen6502

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top