2014-02-08 10:16 AM
Looking at the tutorial for MicroXplorer (
http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00063255.pdf
) page 32 figure 38 shows the GPIO configuration for USART pins. In the figure, the USART pins are set to either Input or Output GPIO pins. I was under the impression that they should be set to alternate function mode, ''For other peripherals: Configure the desired I/O as an alternate function in the GPIOx_MODER register'' (RM0090, Doc ID 018909 Rev 5, page 269). In MicroXplorer and in software, should USART and other peripheral pins be configured as Input/Ouput or as Alternate Function? Also, why does MicroXplorer not configure them as Alternate Function by default (assuming that is the correct configuration)? On a side-note, are there any estimates of when a new release of MicroXplorer (with peripheral configuration) will be released? #microxplorer2014-02-08 11:54 AM
Depends on the STM32 series in question, the F1 you had to configure the pins differently.
With the F4 generally you'd want the pins configured in AF mode, you still get to choose PP/OD type drivers, but the peripheral gets to control the input/output/hi-z state of the pin.MicroXplorer needs an update, but then plenty of us have fit designs manually, or used Excel sheets prior to it's existence.2014-02-08 01:26 PM
Makes sense, I appreciate the help.
I agree, doing it without MicroXplorer isn't a problem, but it seems like a very nice tool.