Posted on February 06, 2013 at 13:31
hello,
i'm trying to connect my stm32f0 discovery with the pc and set up a uart connection. I have found the following code (in this community) but i can't get it to work. Does anyone have a suggestion...
Posted on February 08, 2013 at 08:57Oke this is the next problem I run into. I need to convert a int to a string to send it by usart. So i do the following line and add the headers needed for this call:char str[20];sprintf(str, ''%d'', timer);UART_...
Posted on February 07, 2013 at 13:31Are you using a level converter. This makes sure the levels between the usart (at ttl level) is shifted to the USB level of your pc and vise versa..
Posted on February 07, 2013 at 11:11Dear clive,The problem was not the software afterall. I made a mistake in soldering my level shifter. So one of the ports was shortcircuited. Thanks for your help
Posted on February 06, 2013 at 14:31He Clive,First off, thanks for the really quick response. Oke, i have put the semicollum there but there is still nothing happening. The pc terminal is set to :8 bits1 stopbit9600 baudno parityno hardware control....