SPI Clock Frequency #4530
Replies: 1 comment
-
Posted at 2015-03-16 by @gfwilliams @user53771 yes, you're right - the F103 can only get the SPI clock right to +/- 50%. You should be able to change the clock using It looks like USART would be fine though - just set it up again with As you say the other option is to do it at compile time. I'm not sure that changing the clock speed in the Posted at 2015-03-19 by user53771 Hi @gfwilliams, thanks for the feedback - I will try to go the first way first (maybe add external USB<=> Serial for accessing the board without USB). Regarding the compile time way: I do not really understand what the Thanks! Posted at 2015-03-19 by @gfwilliams I can't honestly remember if the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2015-03-16 by user53771
Hi,
i would like to match the SPI clock frequency to some given value. From the STM32F103RCT6 hardware manual it looks like the SPI clock is generated from the AHB clock (PCLK) using a prescaler (divide by /2, /4, /8, ...). To get a more exact match to my required SPI clock, I can only think of changing the AHB clock...
I have the following questions:
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions