Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

PWM's and UART

PWM's and UART

2005-04-25 by amastella@via-rs.net

Hi, I'm studying LPC2214 for use on a new project. I have some doubts and I think someone could help me in this forum.
 
1) I need to control 3 step motors. They are completely independent. In the Philips LPC User Manual, they say it's better use channels 2, 4 and 6 for double edge. It's not clear to me how can I make one motor accelerate while another one is in it maximum speed i. e. how can I maintain their independency.
 
2) If I use PWM channels 2, 4 and 6 I can't use UART1(PWM6 and UART1 use the same pin)... Is that correct?
 
 
Thanks
 
Andre

[Non-text portions of this message have been removed]

Re: PWM's and UART

2005-04-25 by valdef78

--- In lpc2000@yahoogroups.com, amastella@v... wrote:
> Hi, I'm studying LPC2214 for use on a new project. I have some 
doubts and I think someone could help me in this forum.
>  
> 1) I need to control 3 step motors. They are completely 
independent. In the Philips LPC User Manual, they say it's better 
use channels 2, 4 and 6 for double edge. It's not clear to me how 
can I make one motor accelerate while another one is in it maximum 
speed i. e. how can I maintain their independency.
>  
> 2) If I use PWM channels 2, 4 and 6 I can't use UART1(PWM6 and 
UART1 use the same pin)... Is that correct?
>  
>  
> Thanks
>  
> Andre
> 

Motors are not my speciality, but step-motors are not controlled by 
PWM.. !??

Re: PWM's and UART

2005-04-25 by bobtransformer

I have a similar interest.  I'd like to use both uarts and
at least 2 PWM outputs that are 2 channels away from
each other (for 2 phase 180 degree out of phase pwm
drive).  I believe that I am  able to
use pwm 3 and 5 (or was it 1 and 5?) or something like that.
I hear the words "I/O map" being used around the LPC
circles but that may be just for setting pins for I or O or the 
special dedicated functions assigned to those pins.  I haven't gotten 
that far yet.

bob


--- In lpc2000@yahoogroups.com, amastella@v... wrote:
> Hi, I'm studying LPC2214 for use on a new project. I have some 
doubts and I think someone could help me in this forum.
>  
> 1) I need to control 3 step motors. They are completely 
independent. In the Philips LPC User Manual, they say it's better use 
channels 2, 4 and 6 for double edge. It's not clear to me how can I 
make one motor accelerate while another one is in it maximum speed i. 
e. how can I maintain their independency.
>  
> 2) If I use PWM channels 2, 4 and 6 I can't use UART1(PWM6 and 
UART1 use the same pin)... Is that correct?
Show quoted textHide quoted text
>  
>  
> Thanks
>  
> Andre
> 
> [Non-text portions of this message have been removed]

Re: PWM's and UART

2005-04-25 by bobtransformer

I think you can use independent duty cycles but the frequency would
all be the same.
You could always bit-bang a normal I/O pin for a uart
if it's not too high of baud rate.

bob


--- In lpc2000@yahoogroups.com, amastella@v... wrote:
> Hi, I'm studying LPC2214 for use on a new project. I have some 
doubts and I think someone could help me in this forum.
>  
> 1) I need to control 3 step motors. They are completely 
independent. In the Philips LPC User Manual, they say it's better use 
channels 2, 4 and 6 for double edge. It's not clear to me how can I 
make one motor accelerate while another one is in it maximum speed i. 
e. how can I maintain their independency.
>  
> 2) If I use PWM channels 2, 4 and 6 I can't use UART1(PWM6 and 
UART1 use the same pin)... Is that correct?
Show quoted textHide quoted text
>  
>  
> Thanks
>  
> Andre
> 
> [Non-text portions of this message have been removed]

RE: [lpc2000] Re: PWM's and UART

2005-04-25 by Ronald Lee

You can use a Maxim MAX3100 SPI to UART.  It costs about $3.  I have an
application where I needed a third UART and it works fine for me.
Philips is coming out with their own version of the MAX3100 at the end
of Q2 or Q3.  It's about half the price, but not pin compatible.
 
Ron
Show quoted textHide quoted text
-----Original Message-----
From: lpc2000@yahoogroups.com [mailto:lpc2000@yahoogroups.com] On Behalf
Of bobtransformer
Sent: Monday, April 25, 2005 8:34 AM
To: lpc2000@yahoogroups.com
Subject: [lpc2000] Re: PWM's and UART
 


I think you can use independent duty cycles but the frequency would
all be the same.
You could always bit-bang a normal I/O pin for a uart
if it's not too high of baud rate.

bob


--- In lpc2000@yahoogroups.com, amastella@v... wrote:
> Hi, I'm studying LPC2214 for use on a new project. I have some 
doubts and I think someone could help me in this forum.
>  
> 1) I need to control 3 step motors. They are completely 
independent. In the Philips LPC User Manual, they say it's better use 
channels 2, 4 and 6 for double edge. It's not clear to me how can I 
make one motor accelerate while another one is in it maximum speed i. 
e. how can I maintain their independency.
>  
> 2) If I use PWM channels 2, 4 and 6 I can't use UART1(PWM6 and 
UART1 use the same pin)... Is that correct?
>  
>  
> Thanks
>  
> Andre
> 
 


[Non-text portions of this message have been removed]

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.