- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Is it possible to make an internal pull down for a pin that is configured as pwm
Thank you
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @elb1
It is not necessary to disable the PWM, you can change the duty cycle from 100% to 0%.
FTM has a register that allows this change FTMn->CONTROLS[n].CnV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you that have resolved the problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, thank you for your response,
I am trying to control a low side driver, so if i want to enable it i set 100% of pwm signal, and if i want to disable it i stop pwm:
(base->SC &= ~(1u << (16 + channel)))
so once i stop it the pin doesn't go to gnd, but instead it goes to high impedance.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @elb1
It is not necessary to disable the PWM, you can change the duty cycle from 100% to 0%.
FTM has a register that allows this change FTMn->CONTROLS[n].CnV

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @elb1
It is not possible. If you let me know what you are trying to implement, I can see if there is an alternative solution.
B.R.
VaneB
