PWM Channel 2 - 18FxxK80 ** Informational **
Posted: Sat Sep 15, 2012 2:52 pm
I have found a configuration issue with the 18FxxK80 family of MCUs. Although the pin definition of RC2 is correctly labelled in the pins definitions section, this is not the case in the Defines section and hence PWM channel 2 will not work for this family of MCUs.
To make PWM channel 2 work you will need to make the following change:
Change the following line in the FCD file:
to
The following files are affected:
18F25K80.FCD
18F26K80.FCD
18F45K80.FCD
18F46K80.FCD
Cheers
Sefi
To make PWM channel 2 work you will need to make the following change:
Change the following line in the FCD file:
Code: Select all
Define55=#define MX_PWM_2_PIN 1Code: Select all
Define55=#define MX_PWM_2_PIN 218F25K80.FCD
18F26K80.FCD
18F45K80.FCD
18F46K80.FCD
Cheers
Sefi