2013-07-11 01:29 AM
Hi,
I have it working but seem to get about 1/3 of the baud rate that I program into USART_InitStructure.USART_BaudRateIn other words, I have to set it to 9600*3 to get a baud rate of approximately 9600 baud.Maybe I have to change something in system_stm32f4xx.c but I'm not sure what?Thanks2013-07-11 01:52 AM
My crystal ball says, that you attempt to use firmware intended for the STM32-EVAL board (with 25MHz crystal) on an 'F4 DISCOVERY (8MHz crystal). But my crystal ball used to be wrong at times.
From system_stm32f4xx.c: * 4. The default value of HSE crystal is set to 25MHz, refer to ''HSE_VALUE'' define * in ''stm32f4xx.h'' file. When HSE is used as system clock source, directly or * through PLL, and you are using different crystal you have to adapt the HSE * value to your own configuration. JW2013-07-11 07:29 AM
Thanks, your crystal ball was right!
Cheers, Ian2013-07-11 09:47 AM
Might that ''xtal ball'' soon provide, Internet Access?
2013-07-12 01:18 AM
> Might that ''xtal ball'' soon provide, Internet Access?
:D