<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ARM: PWM Output problems on MCBSTM32F200</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/28866/arm-pwm-output-problems-on-mcbstm32f200</link><description> 
Greetings, 

 
I am currently toying around with the KEIL MCBSTM32F200 Evaluation
Board 
(the STM32F207VG uC) and have run into some problems with the PWM
output. 

 
I want a simple PWM-signal on TIM1, Channel1 (PA8 for
STM32F205&amp;amp;207) using 
the standard</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: ARM: PWM Output problems on MCBSTM32F200</title><link>https://community.arm.com/thread/116685?ContentTypeID=1</link><pubDate>Fri, 03 Feb 2012 03:47:19 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:d55e832c-ea14-4d7e-a3fd-de5462361eb9</guid><dc:creator>Dan Curran</dc:creator><description>&lt;p&gt;&lt;p&gt;
This might be something to look for on the stm32F4xx as it may be
the same as the stm32F2xx&lt;br /&gt;
code&lt;/p&gt;

&lt;p&gt;
I was using the ST CMSIS lib to set up a uart different from the
code examples but couldnt get it to work as it didnt appear to be
setting the GPIO AF registers correctly&lt;/p&gt;

&lt;p&gt;
e.g.&lt;/p&gt;

&lt;p&gt;
/* Configure USART Rx as alternate function */
GPIO_InitStructure.GPIO_Pin = GPIO_PinSource10; GPIO_Init(GPIOA,
&amp;amp;GPIO_InitStructure); /* Connect PXx to USARTx_Rx*/
GPIO_PinAFConfig(GPIOA,GPIO_PinSource10,GPIO_AF_USART1);&lt;/p&gt;

&lt;p&gt;
the above function does not set the correct bits&lt;/p&gt;

&lt;p&gt;
GPIOA-&amp;gt;MODER = 0xA8280000; GPIOA-&amp;gt;AFR[1] = 0x770;&lt;/p&gt;

&lt;p&gt;
wasnt till I added the last two lines did I get anythig
working.&lt;/p&gt;

&lt;p&gt;
Times is an issue as normal so I have not reported it as I was
able to move on and had things to do.&lt;/p&gt;

&lt;p&gt;
Yes its an incredible price for a micro and the code examples seem
to cover a lot.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ARM: PWM Output problems on MCBSTM32F200</title><link>https://community.arm.com/thread/105695?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2012 17:39:12 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:3ebebf4c-93aa-4a25-9247-4c65959fd85c</guid><dc:creator>John Linq</dc:creator><description>&lt;p&gt;&lt;p&gt;
ST is promoting their STM32F4 series.&lt;br /&gt;
The price of STM32F4-Discovery kit is only around 27 US$.
Unbelievable cheap to me.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ARM: PWM Output problems on MCBSTM32F200</title><link>https://community.arm.com/thread/91411?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2012 17:15:54 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:6eae946b-bbcc-48f6-b1e9-19f8c6419c51</guid><dc:creator>John Linq</dc:creator><description>&lt;p&gt;&lt;p&gt;
A corrected url for the cross post:&lt;br /&gt;
&lt;a href="https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/flat.aspx?RootFolder=%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2Fcortex_mx_stm32%2FPWM%20Output%20on%20STM32F2XX&amp;amp;FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B"&gt;my.st.com/.../flat.aspx&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ARM: PWM Output problems on MCBSTM32F200</title><link>https://community.arm.com/thread/60325?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2012 17:13:39 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:c570638f-8249-4d22-8dec-15ce6305f49b</guid><dc:creator>John Linq</dc:creator><description>&lt;p&gt;&lt;p&gt;
Cross post:&lt;br /&gt;
&lt;a href="https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/flat.aspx?RootFolder=%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2Fcortex_mx_stm32%2FPWM%20Output%20on%20STM32F2XX&amp;amp;FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&amp;curren;tviews=31"&gt;my.st.com/.../flat.aspx&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>