Yahoo Groups archive

Lpc2000

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

Thread

2106 / PWM5 - no wave output

2106 / PWM5 - no wave output

2006-05-06 by Andrew Sloss

Hello All,

I trying to get a square wave out of PWM5 (pin 21). Is there any trick?

Currently I have a driver that support PWM 2 (p.7), 4(p.8), and 6(p.9) but when I try to use PWM5 there is no signal output.

Only major difference in the code, is that PWM5 PINSEL1 is used,

  if (channel==5)
  {
  VOLATILE(PINSEL1) |= 0x400;
  }

I'm using an Ashling EVBA7 board,

Any ideas?
 
Kind regards,

-- andrew

--

Re: [lpc2000] 2106 / PWM5 - no wave output

2006-05-07 by Andrew Sloss

Solved!!!

  "Port line p0.17 to 0.21 are multiplexed with the primary JTAG debug"

Kind regards,

-- andrew

> ----- Original Message -----
> From: "Andrew Sloss" <andrew@...>
> To: lpc2000@yahoogroups.com
> Subject: [lpc2000] 2106 / PWM5 - no wave output
> Date: Sat, 06 May 2006 14:41:18 -0500
> 
> 
> Hello All,
> 
> I trying to get a square wave out of PWM5 (pin 21). Is there any trick?
> 
> Currently I have a driver that support PWM 2 (p.7), 4(p.8), and 
> 6(p.9) but when I try to use PWM5 there is no signal output.
> 
> Only major difference in the code, is that PWM5 PINSEL1 is used,
> 
>    if (channel==5)
>    {
>    VOLATILE(PINSEL1) |= 0x400;
>    }
> 
> I'm using an Ashling EVBA7 board,
> 
> Any ideas?
> 
> Kind regards,
> 
> -- andrew
> 
> --
> 
> 
> 
> 
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 

>



Andrew Sloss


--

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.