When I give a PWM signal to PB1, cannot set PB2 pin to HIGH status
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-12
9:23 AM
- last edited on
‎2024-03-13
3:03 AM
by
Lina_DABASINSKA
I am using my custom board PCB with STM32F103C8T6 MCU. I want to give a PWM signal to PB1 pin & want to set PB2 pin to HIGH. While giving the PWM to PB1, although I set PB2 pin status as HIGH, when I measure the voltage of PB2 pin it shows '0V' value. I am using keil uvision to developed the firmware. How do I solve this problem? Can I set PB2 to HIGH while giving a PWM to PB1?
Solved! Go to Solution.
- Labels:
-
STM32F1 Series
-
TIM
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-12 9:31 AM
>>Can I set PB2 to HIGH while giving a PWM to PB1?
Should be workable. PB2 could be driven as a GPIO independently of what any other pin is doing.
Imagine that we can't see your design, wiring or code...
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-12 9:31 AM
>>Can I set PB2 to HIGH while giving a PWM to PB1?
Should be workable. PB2 could be driven as a GPIO independently of what any other pin is doing.
Imagine that we can't see your design, wiring or code...
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-12 9:39 AM
I cannot see your text fully. Can you repost it
