2013-06-26 03:28 AM
Hello,
It's my second week that I work with STM32 micro. I have a question. Does it exist a code generator tool? I know that CooCoox has this tool, but I'm working with uVision of Keil and I can't leave it.THANKS!!!2013-06-26 03:48 AM
A code generator for what exactly?
There the microXplorer tool that can help for GPIO configuration code generation available inhttp://www.st.com/web/en/catalog/tools/PF251717
. There is also the clock configuration tool that you can choose depending on the product you are using. Also the examples available within the standard peripheral library can be very helpful to start. -Mayla-To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2013-06-26 05:59 AM
2013-06-26 06:12 AM
The tool pointed too needs you to punch in your pin/peripheral settings, and then can ''Generate Code'' for that.
Presumably the CooCox tool generates C code, I'd imagine a bunch of that is relatively portable. I'm not sure a tool that just generates pin assignment code is that useful, or has that large a market, I usually expect the devs to be able to create their own.2013-06-26 06:40 AM
By the way not to ask in different post, since here discussion is similar,
if using AF PIN configuration (TIM, USB, USART and etc.) does it makes any difference if output or input, pull_up/down or none mode is selected? If I'm not mistaking AIN is one which you can't use if using AF.2013-06-26 07:02 AM
On the L1, F2 and F4 part the AF muxing includes control over direction. You get to decide which transistors drive the pin (open-drain, slew rate), and the pull up/down options.