Forum : ARM
Original Post
Post Information | Post |
---|---|
February 1, 2011 - 5:35am
|
Hello /* PLLCLK = 8MHz * 7 = 56 MHz */ But when I was seeing the schematic of duaghter board the crystal frequency is 25M. Toolchain : Ride 7 Also in case the crystal freq is 25M then in Ride7 should I change Thanks In Advance |
Hi Lokesh,
You are right, there are some problems with this example.
I wrote this looong ago, when the ST libraries were not polished and quite difficult to use. We will correct the example so that the correct information is used.
The main problem here is that the comment is wrong.
2 things:
- In your ST Library projects, always define the STM32F10X_CL, USE_STDPERIPH_DRIVER and HSE_Value macros. This way you will have better chances that your project works.
- If you need an authoritative example that shows how to use the ST Library in your projects, please refer to the system_stm32f10x.c file form the ST Library. The comments are very useful and will be much safer than our examples.
Best Regards,