To start using the PWM Interface, you need to configure and activate the PWM port:
Enable all channels that you suppose to use. All channels are equal, but every channel can have specific parameters (frequency and duty cycle). Read PWM Channels.
Enable the PWM port. When the PWM port is enabled, you can change configuration for each channel but you cannot activate or release channels.