Hi, Kent,
Regarding your question, let me answer it one by one.
#1, If can use FTM to realize the ramp up frequency wave as attached picture?
>>>First of all, the FTM can implement the ramp up frequency as attached picture. FTM can generate PWM signal with 50% duty cycle. You can enable the FTM Timer Overflow Interrupt by setting "Timer Overflow Interrupt Enable" bit in the FTMx_SC register. in the ISR, you can declare a static or global variable to count the pulse times, when it reach up to the predefined times for example 5, you can change the PWM frequency by decreasing the FTMx_MOD register value and corresponding FTMx_CnV register value, then write the FTMx_PWMLOAD to make the change valid.
Regarding the code, I think you can refer to an5142, which describes how to generate PWM signal, how to change the PWM parameter in the ISR, and it has the code.
http://tinyurl.com/zzbppws
#2, When switch 2 frequency, FTM ouput will stop for a little? Because I am not sure if need to wait a little time after FTM timer settting? Or just when last plus send out at one special frequency, and new set FTM timing set in FTM interrupt ISR, and mcu send out the new special frequency wave after the FTM interrupt ISR?
>>>>>>when switch 2 frequency, the FTM continue to work, you do not need wait for a little time, because the core execute instructions very quickly and the PWM signal is slow.
#3, Do you have the FW about step motor ramp up frequency slope as attached file to share?
>>>>>Unfortunately, we have not the code to implement the scheme for stepper motor, as you know, the stepper motor control signal is dependent on the layout of power stage board, controlling method you required.
Hope it can help you.
BR
Xiangjun rong