GPIO_40 vs PWM

I attempting to use GPIO_40 on P9_14
It is not responding as other GPIO pins are.
My assumption is that since it is dual purpose with PWM1A that the PWM is keeping it from being used as a GPIO digital output pin.
How can I stop the PWM process that is keeping GPIO_40 from working?
thanks,
Phil

Phil:
You are about to meet the “Device Tree” and the “Pin Mux.”
You can read up on those topics in the Molloy book.
Download his header tables from the Book’s git hub site.
Contact me off line if you need further help.
— Graham

I just finished his YouTube on fdt.
This is such a cool and intricate device.
Phil

Why does the device tree list get updated automatically SOMETIMES when I run an AnalogWrite command in BeagleScript? And sometimes it doesn't.