i see the simple example use FTM0 CH0 as output compare,use FTM0 CH1 as edge-aligned PWM ,use FTM CH6 as input capture,by setting the register directly. i want use the RTM 3.0 to achieve the same goal.but i failed!I Can't set flexTimer_ic component's device and the ftm_oc component's device as FTM0 the same time.also i set different channel.
promblem is Peripheral is already used .
how should i do?thanks.@NXP
Solved! Go to Solution.
Hi julywu,
FTM can be used with different settings configuration in the same FTM different channel. The problem here is that the SDK driver ic and oc were made independently, so they cannot coexist with the same FTM module. Ideally speaking, the driver should be able to set a component ic in one channel, and set a component oc with another channel, and be able to identify that it is not the same channel.
I will share this feedback with the SW team to integrate this functionality into the new RTD for the K1 project.
Sorry for the inconvenience we bring you!
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi julywu,
FTM can be used with different settings configuration in the same FTM different channel. The problem here is that the SDK driver ic and oc were made independently, so they cannot coexist with the same FTM module. Ideally speaking, the driver should be able to set a component ic in one channel, and set a component oc with another channel, and be able to identify that it is not the same channel.
I will share this feedback with the SW team to integrate this functionality into the new RTD for the K1 project.
Sorry for the inconvenience we bring you!
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------