Yahoo Groups archive

Lpc2000

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

Thread

PWM & UART at the same time

PWM & UART at the same time

2005-11-09 by andypselon

Hallo
Da mein englisch nicht sehr gut ist, versuch ichs einfach mal auf 
deutsch...:-)

Plattform: LPC2129 auf dem Olimex-LPC-P212X

Mein Problem:
Ich erzeuge an Pin P0.1 per PWM einen Takt.
Gleichzeitig m�chte ich die UART1 (P0.8/P0.9) nutzen.
PINSEL wurde richtig gesetzt!

Beides separat funktioniert wunderbar.
Sobald ich jedoch beides gleichzeitig laufen lassen will, funktioniert 
die UART nicht mehr.
Wenn ich die PWM Initialisierung raus nehme, l�uft es wieder!

Hat jemand eine Idee woran das liegen k�nnte??

Vielen Dank... Gru� Andy

PWM & UART at the same time

2005-11-09 by Andy

Hallo
Da mein englisch nicht sehr gut ist, versuch ichs einfach mal auf
deutsch...:-)

Plattform: LPC2129 auf dem Olimex-LPC-P212X

Mein Problem:
Ich erzeuge an Pin P0.1 per PWM einen Takt.
Gleichzeitig m\ufffdchte ich die UART1 (P0.8/P0.9) nutzen.
PINSEL wurde richtig gesetzt!

Beides separat funktioniert wunderbar.
Sobald ich jedoch beides gleichzeitig laufen lassen will, funktioniert
die UART nicht mehr.
Wenn ich die PWM Initialisierung raus nehme, l\ufffduft es wieder!

Hat jemand eine Idee woran das liegen k\ufffdnnte??

Vielen Dank... Gru\ufffd Andy

Re: [lpc2000] PWM & UART at the same time

2005-11-09 by Mike Nelson

I think what Andy is saying is:

Hello there,

My English is not very good.
I will simply use German this time...:)

Platform:  LPC2129 on the Olimex-LPC-P212X 

My problem:  

I produce a clock at pin P0.1 by PWM.  
At the same time I would like to use the 
UART1 (P0.8/P0.9).  PINSEL was set correctly!  
Both functions separately work marvelously.  
However, as soon as I want to let both run  
at the same time, the UART does not function 
any longer.  If I take the PWM initialization 
out, it runs again!  Does someone have an idea 
where the problem is?  

Thank you.

Regards:

Andy

--- Andy <andy.trash@...> wrote:

> Hallo
> Da mein englisch nicht sehr gut ist, versuch ichs
> einfach mal auf
> deutsch...:-)
> 
> Plattform: LPC2129 auf dem Olimex-LPC-P212X
> 
> Mein Problem:
> Ich erzeuge an Pin P0.1 per PWM einen Takt.
> Gleichzeitig m\ufffdchte ich die UART1 (P0.8/P0.9)
> nutzen.
> PINSEL wurde richtig gesetzt!
> 
> Beides separat funktioniert wunderbar.
> Sobald ich jedoch beides gleichzeitig laufen lassen
> will, funktioniert
> die UART nicht mehr.
> Wenn ich die PWM Initialisierung raus nehme, l\ufffduft
> es wieder!
> 
> Hat jemand eine Idee woran das liegen k\ufffdnnte??
> 
> Vielen Dank... Gru\ufffd Andy
> 
> 
> ------------------------ Yahoo! Groups Sponsor
> --------------------~--> 
> Most low income households are not online. Help
> bridge the digital divide today!
>
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/dN_tlB/TM
>
--------------------------------------------------------------------~->
> 
> 
>  
> Yahoo! Groups Links
> 
> 
>     lpc2000-unsubscribe@yahoogroups.com
> 
>  
> 
> 
> 



	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

Re: PWM & UART at the same time

2005-11-18 by Lucinda

I did not find any response to this post?

I am having a similar problem but with UART1 and timer 1 in match 
mode. Each works great separately. In fact, they work great together 
IF I just stuff bytes out the serial port (not using interrupts).

What am I missing on these---is it errata or a set up problem?

Thanks!

L.Schafer, Attero-Tech

--- In lpc2000@yahoogroups.com, Mike Nelson <m1k3n3ls0n@y...> wrote:
>
> I think what Andy is saying is:
> 
> Hello there,
> 
> My English is not very good.
> I will simply use German this time...:)
> 
> Platform:  LPC2129 on the Olimex-LPC-P212X 
> 
> My problem:  
> 
> I produce a clock at pin P0.1 by PWM.  
> At the same time I would like to use the 
> UART1 (P0.8/P0.9).  PINSEL was set correctly!  
> Both functions separately work marvelously.  
> However, as soon as I want to let both run  
> at the same time, the UART does not function 
> any longer.  If I take the PWM initialization 
> out, it runs again!  Does someone have an idea 
> where the problem is?  
> 
> Thank you.
> 
> Regards:
> 
> Andy
> 
> --- Andy <andy.trash@g...> wrote:
> 
> > Hallo
> > Da mein englisch nicht sehr gut ist, versuch ichs
> > einfach mal auf
> > deutsch...:-)
> > 
> > Plattform: LPC2129 auf dem Olimex-LPC-P212X
> > 
> > Mein Problem:
> > Ich erzeuge an Pin P0.1 per PWM einen Takt.
> > Gleichzeitig möchte ich die UART1 (P0.8/P0.9)
> > nutzen.
> > PINSEL wurde richtig gesetzt!
> > 
> > Beides separat funktioniert wunderbar.
> > Sobald ich jedoch beides gleichzeitig laufen lassen
> > will, funktioniert
> > die UART nicht mehr.
> > Wenn ich die PWM Initialisierung raus nehme, läuft
> > es wieder!
> > 
> > Hat jemand eine Idee woran das liegen könnte??
> > 
> > Vielen Dank... Gruß Andy
> > 
> > 
> > ------------------------ Yahoo! Groups Sponsor
> > --------------------~--> 
> > Most low income households are not online. Help
> > bridge the digital divide today!
> >
> http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/dN_tlB/TM
> >
> -------------------------------------------------------------------
-~->
Show quoted textHide quoted text
> > 
> > 
> >  
> > Yahoo! Groups Links
> > 
> > 
> >     lpc2000-unsubscribe@yahoogroups.com
> > 
> >  
> > 
> > 
> > 
> 
> 
> 
> 	
> 		
> __________________________________ 
> Yahoo! Mail - PC Magazine Editors' Choice 2005 
> http://mail.yahoo.com
>

RE: [lpc2000] Re: PWM & UART at the same time

2005-11-18 by Joel Winarske

> I am having a similar problem but with UART1 and timer 1 in match
> mode. Each works great separately. In fact, they work great together
> IF I just stuff bytes out the serial port (not using interrupts).
> 
> What am I missing on these---is it errata or a set up problem?

What's happening in the interrupt?

Joel

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.