Цитата(Rex @ Mar 20 2009, 18:44)

Ситуация такая:
имеем проц STM32F103VET6, на нем 2 кварца. Один (двухвыводной) Q-8.0-SMU3-30-30/50-T1 работает, кондеры на 22 пФ, второй (4-хвыводной) Q-0.032768-SMQ32SL-6-20-T1 - не пашет, кондеры по 10 пФ, но 100% рабочий.
Как видно на рисунке, трассировка в обоих случаях одинакова. Почему второй кварц не работает?
Потому что он действительно отключен программно:
Цитата
The RTC core and clock configuration (RCC_BDCR register) are in the Backup domain,
which means that RTC setting and time are kept after reset or wakeup from Standby mode.
After reset, access to the Backup registers and RTC is disabled and the Backup domain
(BKP) is protected against possible parasitic write access. To enable access to the Backup
registers and the RTC, proceed as follows:
● enable the power and backup interface clocks by setting the PWREN and BKPEN bits
in the RCC_APB1ENR register
● set the DBP bit the Power Control Register (PWR_CR) to enable access to the Backup
registers and RTC.
См. раздел 15.1 RTC introduction,
STM32F10xxx Reference Manual, RM0008. Не помешает изучить и
"AN2867 Oscillator design guide for ST microcontrollers", так как трассировка (особенно в части заземления) цепей генераторов выполнена не лучшим образом.