cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F407 pll clock configuration

frantic
Associate II
Posted on October 31, 2013 at 17:31

Hi,

i'm new user... i'm studying the microcontroller in the subject and i've read that usart 1 and 6 are able to work up to maximum baud-rate of 10.5Mbps. Is it right?

Ok, now for my application i need to configure the baud rate of these two usart to 10Mbps.

How should i configure PLL registers in order to meet my needs?

Could you help me please?

Is there any issues to be considered in making what i want (DMA, Interrupts and so on)?

Thanks
8 REPLIES 8
Posted on October 31, 2013 at 17:51

For 10 Mbps (10,000,000 exact) I'd opt for running the core at 160 MHz (PLL_N 320), APB1 @ 40 MHz, APB2 @ 80 MHz

You'd need to run the USART in 8x oversample mode, I'm not sure of the practicality of running at 10 Mbps, I'd be using a synchronous interface at those rates. Have fun.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
frantic
Associate II
Posted on November 04, 2013 at 11:42

Ok thank you...

I have another question...is it possible to perform the conversion from ethernet to 10Mbps usart and vice versa? 

Are there any issues to be considered in this kind of operation?

If possible could you give some information about that?

Thanks again

Posted on November 04, 2013 at 16:57

I'm sure it's ''possible'' but you'd have to pay me to demonstrate it's impracticality.

Explain better the ''real'' problem you're trying to solve.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on November 05, 2013 at 17:01

http://www.at91.com/forum/viewtopic.php/t%2c21983/

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
frantic
Associate II
Posted on November 06, 2013 at 09:55

I'm considering different microcontrollers for a project that I have to develop. In the end I chose stm32.

what's the problem?

Posted on November 06, 2013 at 14:02

what's the problem?

Apparently one of a lack of experience/appreciation for the issues with async signalling at 10 Mbps. This is compounded by your inability to clearly explain what the ''real'' problem is that you're trying to solve, and instead focusing on a flawed interface choice with no supporting information.

If you can't explain, perhaps a diagram would help?
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
frantic
Associate II
Posted on November 06, 2013 at 15:02

no problems for now i'm only looking for information...

Posted on November 06, 2013 at 15:23

no problems for now i'm only looking for information...

So you picked a 10 Mbps USART out of the air, with no particular driver? Perhaps you should sit down with your project supervisor, and formulate a system diagram for what it is you're trying to achieve.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..