STM32F3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-03-03 2:19 AM
Posted on March 03, 2016 at 11:19The original post was too long to process during our migration. Please click on the attachment to read the original post.
This discussion is locked. Please start a new topic to ask your question.
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-03-03 4:29 AM
Posted on March 03, 2016 at 13:29
You will need to special case the clock. USART3 is on APB1 not APB2
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-03-03 2:03 PM
Posted on March 03, 2016 at 23:03
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??Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-03-03 4:04 PM
Posted on March 04, 2016 at 01:04
#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#
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-03-03 5:41 PM
Posted on March 04, 2016 at 02:41 Thanks Clive, I think I need an eye doctor. What makes it worse is the fact that I looked at this in the F103 example code I looked at some weeks ago. Thanks again, appreciate your help.
