cancel
Showing results for 
Search instead for 
Did you mean: 

Can't Change GPIO Pull-up/Pull-down Mode for a Timer

Kneepatch
Senior

I have a STM32F469I-DISCO board. It seems that I am unable to change the GPIO Pull-up/Pull-down Mode for a timer. I have tried to do it both in the CubeMX interface, and I have also looked through the HAL methods and attributes. I don't think it's an option. Does anyone happen to know why?

Kneepatch_0-1739568900354.png

 

-Kneepatch
1 ACCEPTED SOLUTION

Accepted Solutions
Karl Yamashita
Principal

It's at the bottom of the tab. Use the scroll bar

 

KarlYamashita_0-1739574805651.png

 

I was told that if a devices starts to smoke, put the smoke back in. I guess I never got all the smoke because the device never worked afterwards.
Don't worry, I won't byte.
TimerCallback tutorial! | UART and DMA Idle with multiple UART instances tutorial!

If you find my solution useful, please click the Accept as Solution so others see the solution.

View solution in original post

3 REPLIES 3
Karl Yamashita
Principal

It's at the bottom of the tab. Use the scroll bar

 

KarlYamashita_0-1739574805651.png

 

I was told that if a devices starts to smoke, put the smoke back in. I guess I never got all the smoke because the device never worked afterwards.
Don't worry, I won't byte.
TimerCallback tutorial! | UART and DMA Idle with multiple UART instances tutorial!

If you find my solution useful, please click the Accept as Solution so others see the solution.
TDK
Super User

After setting the pin as a TIMx pin, you can change the pullup/pulldown in the GPIO tab on the left side.

TDK_0-1739575063214.png

 

If you feel a post has answered your question, please click "Accept as Solution".
Kneepatch
Senior

Oh my gosh, I totally missed scrolling down to see more options! I did check the GPIO part of the CubeMX, but again, I was blind and didn't see the TIM tab. Thanks everyone for the quick, thorough responses!

-Kneepatch