Yahoo Groups archive

Lpc2000

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

Message

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

--

Attachments

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.