Re: Problem using HSI on STM32
Uwe Bonnes <bon-1JbLm1bU5j5ZIx36JBfelj3+ndqKAYMe9FMPySWZwLkb1SvskN2V4Q@public.gmane.org> Tue, 22 Mar 2016 14:26:20 +0100
| Newsgroups | gmane.comp.hardware.microcontrollers.ethernut |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "Ulrich" == Ulrich Prinz <ulrich.prinz-gM/[email protected]> writes: Ulrich> Hi! I am (again) proting a project to NutO/S and (again) it is Ulrich> based on STM32. While starting to move the project, I tried to Ulrich> start a simple demo code on the existing hardware using STM32F1 Ulrich> DISCOVERY as a base. Ulrich> Unfortunately I cannot configure anything to work on STM32F1 Ulrich> internal HSI by selecting the appropriate settings in qnutconf. Ulrich> I thought it should work with: System clock source = SYSCLK_PLL Ulrich> PLL Clock Source = PLLCLK_HSI Ulrich> All other settings left as default. Ulrich> The compile fails with several misconfigured defines, I attached Ulrich> the compile output at the end. I hopefully upgraded to the Ulrich> latest repository code but I am truly out of using SVN I use the Ulrich> git svn commands for now. Ulrich> I wonder about the fact, that when I initially loaded the Ulrich> f1_discovery.nut the Device tree was missing and no MPU was Ulrich> selected. I had to click the F103 to get the missing Ulrich> selections. Hello, argh, why is everybody using F1? Most of my interest in in the newer families. And than without HSE. Even on my development head, this configuration failed. Please try SVN head. Without any clock setting, especially HSE_VALUE, settup should automatically use PLL_CLOCK = HSI and 24(F100)/36(F101/F105/F107)/48(F102) or 64 MHz sysclock. Bye -- Uwe Bonnes bon-1JbLm1bU5j5ZIx36JBfelj3+ndqKAYMe9FMPySWZwLkb1SvskN2V4Q@public.gmane.org Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 1623569 ------- Fax. 06151 1623305 --------- _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion