Posted on June 08, 2016 at 11:45
Hi guys,
I've implemented the code to send data from STM32f103 to PC with USART interface, but the data that I receive are wrong. This is the code that I've implemented :
void
RCC_Configuration(...
Posted on June 09, 2016 at 12:10
In the last version of SPL that I have this is the code and suppose a 8Mhz clock. I did a define in a makefile with the correct frequency. There was no errors at compile time...
#if !defined HSE_VALUE
#ifdef S...
Posted on June 09, 2016 at 08:46
Solved, the value of HSE oscillator was hard coded at 8Mhz in the code.
#if !defined (HSE_VALUE)
#define HSE_VALUE ((uint32_t)8000000) /*!< Value of the External oscillator in Hz */
#endif /* HSE_VALUE...
Posted on June 08, 2016 at 15:21
I've modified the code in this manner and for me the oscillator is an 8Mhz. Other ideas?
void
RCC_Configuration(
void
)
{
/* RCC system reset(for debug purpose) */
RCC_DeInit();
/* Enable HSE */
RCC_H...
Posted on June 08, 2016 at 14:57This is what I see in debug mode. Watching this values and the prescale that I've set seems that the in an 8Mhz oscillator...right?