2024-02-01 05:27 AM
Hi,
I'm using STM32F103CBU6TR and I see that the oscillator that connects to osc_in and osc_out is not working.
The NRST is ih high, the BOOT0 is low and the power to the device is good.
What is the problem?
BR
Shmuel
2024-02-01 06:12 AM
All we know so far is that NRST and BOOT0 are not active and that power is applied. There should also be an oscillator at OSC_IN and OSC_OUT, but you should explain this to us in more detail. The fact that these two pins can also be programmed as GPIOs is not even relevant given the lack of information. Can you contribute anything else?
Regards
/Peter
2024-02-01 06:18 AM
Hi Peter,
I'm not using this pins as GPIOs.
They're only for the oscillator.
What kind of information do you need?
Shmuel
2024-02-01 06:21 AM
Firstly, the configuration of the STM32, e.g. as an IOC file from CubeMX as well as the schematics (at least the immediate environment) of the STM32.
2024-02-01 08:50 PM
How do you know the external OSC pins are not working?
If you probe these pins with a scope - and you have a XTAL oscillator there - it cannot work (except you use really very high resistance, 10 MOhm probes): if you probe with a scope the signals on a real crystal (XTAL) oscillator - you kill the resonance of the XTAL.
The only way to figure out if the HSE XTAL works is:
Probing the XTAL pins does not tell you anything (it kills all).
It works fine, if you use a CMOS OSC instead (and just HSE_In). Change the system clock config accordingly (to use the BYPASS mode). Here you can probe with a scope.
2024-02-11 11:32 PM
Hi,
The problem was on one of my devices.