2016-03-03 02:19 AM
2016-03-03 04:29 AM
You will need to special case the clock. USART3 is on APB1 not APB2
2016-03-03 02:03 PM
Clive I had it set to APB1. I think there must be some is issue with how I edited this post.
AS4ST32 wont let me compile if its set to APB2, it flags an error. I cant explain why my edit didn't go through???? I was sure I looked at Figure13's clock tree and set up for APB1 in the first place?? Can you please have another look into my problem? Could it be anything else?Also when I logged in I saw it as APB2 as well, but I have not edited my last post????
Some forum editor issue??2016-03-03 04:04 PM
#define EVAL_COM3_CLK RCC_APB1Periph_USART3
/* Enable USART clock */ RCC_APB2PeriphClockCmd(COM_USART_CLK[COM], ENABLE); The USART1 will be on APB2, USART3 on APB1, you will have to special case which function you call to enable the clock, a define and table alone will not suffice. You can't compare the values as they are just a bit vector. You'd need to look at the USART#2016-03-03 05:41 PM