AnsweredAssumed Answered

Unable to get PWM to work with ext crystal-only configuration

Question asked by dave408 on Jun 24, 2015
Latest reply on Jul 1, 2015 by dave408

I've been reading up on the various clock configurations, and currently I am trying out a project for fun that uses the UART at 115.2kbps and a PWM channel at 20MHz.  I only want to use a 32khz external crystal, connected to EXTAL32.  I am using a FRDM-K64F for testing.


I believe I have all of the clock configuration parameters set properly.  My main loop sends 0x55 over the UART and that works as expected.  However, when I try to start my PWM channel, nothing happens.  I'm using it just as I do in other projects (which work), and I basically just call:


FTM_DRV_PwmStart(FSL_FLEXTIMER1, &flexTimer1_ChnConfig0, 1);


I'm using the following FTM configuration:


(all of the other pins are unchecked)



These are the settings I have used in other projects, which do work properly.

I've attached my project, in case anyone has time to import it and take a look.  Thank you!

Original Attachment has been moved to: