2016-01-18 11:06 PM
I am trying to generate the PWM from STM32F4 micrcontroller. The PWM output was done but it is 0-3.3V range. May I possible to configure the PWM voltage range (0-5V) if so, can someone guide me the way to proceed it.
Thank you. #stm32f4-pwm #pwm #stm324 #5v2016-01-19 10:08 AM
[DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Is%20there%20possible%20to%20get%20PWM%20%280-5V%29%20instead%20of%20%280-3.3V%29%20in%20stm32f4&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/AllItems.aspx¤tviews=37]Dupe
Understand your audience here is finite.2016-01-20 12:56 AM
Hi,
No this is not possible directly. You need to add a voltage level converterRob2016-01-20 02:14 AM
If the PWM does not need to be fast, using a pullup to +5V with a 5-Volt tolarant output and the pin as open-drain could do.
2016-01-20 03:41 AM
May I know please , the sample code for open drain configuration?