We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I'm using the STM32F103ZE uC on the MCBSTM32E development board. I tried the example programs, they all compile and download and run fine, but they are NOT SIMPLE. They use a lot of Library files etc, etc, etc. I just try to make some ports go high or low.
The example GPIO program states: - Enable the clock signal for the GPIO. - Configure the Alternate Function to use a GPIO (usually standard after reset). - Configure the GPIO pins as input or output. - Set remaining parameters like speed, pull-up/down. - Enable the GPIO. - Read from or write to the GPIO.
Can someone give me a simple (and I mean REALLY SIMPLE) program to control just one single GPIO port?
My questions to activate some port: - do I need something to know about internal clock signals? - do I need some startup file?
Thanks,
Henk
I can't seem to get "stm32f10x_stdperiph_lib_um.chm" working.
It turns out that on Windows7, the .chm file needs to be in a directory without spaces... I put it in the root directory":
C:\stm32f10x_stdperiph_lib_um.chm
And now it works. (whereas it wasn't working in other locations on my C drive. Of course, I made a short-cut to the help file(s) from ST-Microelectronics).
I thought that others using the STM32 series who might have had an 'issue' with this might benefit from this tid-bit of information.
--Cpt. Vince Foster 2nd Cannon Place Fort Marcy Park, VA