Posted on September 30, 2015 at 09:15
To start with, I know usart problems are common and I've read lots of threads and other sources trying to find whats wrong but I don't see it. Anyone here see anything to correct?
/*Enable USART6 cloc...
Posted on October 01, 2015 at 12:42The problem was the serial cable, or the serial->usb adapter.We changed and now it works, something we should have been able to figure out long time ago...
Posted on September 30, 2015 at 17:07Yes the jumpers JP1 and JP2 are set. I'm starting to suspect that the cause may be on the PC side. I'll have the virtual com driver installed though and use a serial viewer with the correct USART settings.
Posted on September 30, 2015 at 16:18
The HSE_VALUE is 8 MHz.
As of PLL I'm not sure how to interpret it:
#define PLL_M 8
#define PLL_N 336
/* SYSCLK = PLL_VCO / PLL_P */
#define PLL_P 2
/* USB OTG FS, SDIO and RNG Clock = PLL_VC...
Posted on September 30, 2015 at 15:05
The current code, a few of the previous errors were copy paste mistakes.
/*Enable USART6 clock*/
RCC_APB2PeriphClockCmd(RCC_APB2Periph_USART6, ENABLE);
/*GPIO stuff*/
RCC_AHB1PeriphClockCmd(RCC_...