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
--