I've noticed what may be a bug in the pin configuration tool in mcuxpresso.
I've been using it with a '824. After selecting a pin to configure the lower panel generates default options for the pin. It looks to me that if some of the default values are not confirmed/ changed the correct code is not generated.
This may help others..