The FlexTimer (FTM) module is an enhanced timer module that supports input capture, output compare, and the generation of PWM signals to control electric motor and power management applications. AN14617 is primarily focused on the features of the FTM module in MCXE24x product series, and use FRDM-MCXE247 to demonstrate the functionality of FTM module. This is the complementary project for AN14617, which demonstrates how to use the FTM module on MCXE24x. Please use serial tool to select the example provided.
This software includes the following examples:
- Edge Aligned PWM
- Center Aligned PWM
- Phase Shifted PWM
- Single Edge Capture Mode
- Dual Edge Capture Mode
- Quadrature Decoder Mode
- CPWM and Fault Control Mode
- Half and Full Cycle Reload Mode
- FTM0 CPWM SoftSync Mode
- FTM0 CPWM HardSync Mode
- CPWM and Global Time Base Mode
- ADC triggering Mode
- MCUXpresso IDE V24.12.00 or later
- SDK_25_06_00_FRDM-MCXE247
- MCUXpresso for Visual Studio Code: This example supports MCUXpresso for Visual Studio Code, for more information about how to use Visual Studio Code please refer here.
- FRDM-MCXE247 board
- USB Type-C cable
- Personal Computer
-
Open MCUXpresso IDE, in the Quick Start Panel, choose Import from Application Code Hub.
-
Click Copy GitHub link, MCUXpresso IDE will automatically retrieve project attributes, then click Next>.
-
Select main branch and then click Next>, Select the MCUXpresso project, click Finish button to complete import.
-
Use a Type-C USB cable to connect J13 of FRDM-MCXE247 and the USB port of the PC.
-
Select the GUI Flash Tool from the toolbar to program the executable to the board.
- Open a serial terminal with 115200 baud rate.
- Follow the prompts and select one option from 1 to C to enter different examples.
- After selecting an example, there will be a prompt indicating how to connect the board and the oscilloscope, follow the prompts and complete the connection.
-
Take example 1. Edge Aligned PWM as an example, the waveform shown as below, the Edge Aligned PWM output normally.
-
For details of other examples, please see the AN content.
- No FAQs have been identified for this project.
- For additional information and support, visit NXP's official website.
Questions regarding the content/correctness of this example can be entered as Issues within this GitHub repository.
Warning: For more general technical questions regarding NXP Microcontrollers and the difference in expected functionality, enter your questions on the NXP Community Forum
Version | Description / Update | Date |
---|---|---|
1.0 | Initial release on Application Code Hub | June 25th 2025 |