Re: Advice on uC selection wanted - driving microsteppers etc
- From: "vinnie" <ckgrier2@xxxxxxxxxxx>
- Date: Tue, 29 Apr 2008 09:16:31 -0500
"Peter Dickerson" <firstname.lastname@xxxxxxxxxxxxxxxx> wrote in messagesorts
news:LvqQj.70207$Ff4.33555@xxxxxxxxxxxxxxxxxxxxxxx
I've just got involved in a project that basically doesn't work. All
haveof design issue. It needs a complete overhaul of the electronics. I
ofexperience with ARM based devices having just completed a product range
this12 different products based on the same NXP (nee Sharp) chip. So for
donew project I hope to use a NXP or Atmel single chip device.
This new project needs to drive two normal stepper motors, which I can
with GPIO, and two micro-stepper motors. The micro-steppers need to
accelerate and run with no jitter, so I need a programmable clock pulse
and a direction pin per motor, plus a reset/powerdown GPIO. A solution
canthat can directly drive a H-bridge would be good, too, because then I
use a cheap H driver rather than a micro-stepper special. I also need a
USB device that looks like a serial port - I've used FTDI into a UART
before and am happy with that because there is no PC driver development
longand no USB stack on the uC, but am happy for it to be integrated as
oras all the software is easily available because I don't have the time
thatthe inclination to handle it myself. There is a bunch of other stuff
is basically opto end-stop sensors and other GPIO and an SPI type
interface to an ADC.
My experience with other projects in a similar vein and quick estimates
asuggest I need about 256K Flash and 64K RAM. The thing has to do quite
trouble.lot of calculations to do but any half decent ARM7 would have no
compatibleIf I'm wrong with my estimates it would be nice to have a pin
upgrade/downgrade :-) I suspect 32K RAM might fit but I'm not confident
upenough to go with that just yet.
Because the timescales are tight I need something that is easy to get
discoverand running and doesn't have too many surprises - I don't want to
iflate in the day that timers have to be stopped to be updated etc. So,
thatyou have any suggestions and any experience with devices to consider
towould be great. I am not wedded to ARM but I would need some convincing
move from tools and performance I'm used to. Currently I use GCC and am
evenentirely happy with it.
OK, I'll follow up on myself. I am now looking at the STR911FAW42X6 (or
STR912FAW44X6) from ST. It has 96K RAM and 256K+32K Flash (or 512K+32K).
Thats more than I budgeted for and at 96 MHz is about twice the speed I
I'd suggest looking at Renesas for a company with a great track record for
EOLed silicon. A lot of other chip makers seem to be going in and out of
the hands of venture capitalists, so long-term support for silicon may be
in question at other top-tier suppliers.
You'll probably want t achip with lots of PWM and DMA to off-load the
motor control processing. I've seen microstepping done with very old 8 bit
controllers - and it was done well. But you need the right peripherals.
The M16C/M32C series offers a lot of options that I think you'd like: 15+
independent 16 bit PWM channels; lots of timers; very flexible vectored
interrupt control built into the core (not a peripheral); and many DMA
channels you can allocate. Check out the M32C/87 chip here:
http://america.renesas.com/fmwk.jsp?cnt=m32c80_series_landing.jsp&fp=/products/mpumcu/m16c_family/m32c80_series/
Another option that includes the USB device function is the H8S series
(from Hitachi lineage). The H8S/2215R has a USB device peripheral, multiple
PWM channels (using the 8 and 16 bit timers); and DMA. But perhaps the best
thing is the Data Transfer Controller which would let you set up "channels"
to feed PWM values to the timers (like DMA).
http://america.renesas.com/fmwk.jsp?cnt=h8s2215_root.jsp&fp=/products/mpumcu/h8s_family/h8s2200_series/h8s2215_group/
If you are familiar with using GCC compilers, you'll have no trouble
moving to an H8 or M32C based on your ARM7 experience - and the effort
might even be less than moving to an ARM from ST.
--CG
.
- Follow-Ups:
- Re: Advice on uC selection wanted - driving microsteppers etc
- From: Peter Dickerson
- Re: Advice on uC selection wanted - driving microsteppers etc
- References:
- Advice on uC selection wanted - driving microsteppers etc
- From: Peter Dickerson
- Re: Advice on uC selection wanted - driving microsteppers etc
- From: Peter Dickerson
- Advice on uC selection wanted - driving microsteppers etc
- Prev by Date: Re: Bug in latest IAR MSP430 compiler optimization???
- Next by Date: Re: Had an interview
- Previous by thread: Re: Advice on uC selection wanted - driving microsteppers etc
- Next by thread: Re: Advice on uC selection wanted - driving microsteppers etc
- Index(es):
Relevant Pages
|