Skip to main content
Associate
July 15, 2023
Question

STM32WB55 external clocks(32.768KHz, 38MHz) not working

  • July 15, 2023
  • 4 replies
  • 4688 views

Hello All

I have a cutom board. I am working on STM32WB55VGQ6(BGA129).
2 crystals(32.768KHz, 38MHz) output waves are not coming.
I checked waveform by using an oscilloscope and OSC-IN/OUT pins are ground level(0V)
Voltage conditions all 3.3V : VDD, VDDUSB, VDDRF, VDDA, VDDSMPS
Crystal part# : FW384WFIN1, AGS05-32.768KHZ-6T
Expers please help me.

This topic has been closed for replies.

4 replies

AScha.3
Super User
July 15, 2023

did you set the lse+hse in Cube ?  and flash this program then ?

AScha3_0-1689411608703.png

otherwise cpu running on internal clock only.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Associate
July 15, 2023

Hi AScha.3
Thank you for response.
I'd tried connect to my board with STM32cube but STM32cube can not access my board.

AScha.3
Super User
July 16, 2023

so this is first problem, you have to care about.

without loading a program - no external clocks running.

+ connect with...stlinkV2 ? or how to..? and boot pin at gnd ? or try bootloader ?

"If you feel a post has answered your question, please click ""Accept as Solution""."
KKIM.6
Senior
July 15, 2023

I'm using WB55 but WB55 use 32 MHz, Not 38 MHz. you need to check spec whether 38 MHz is correct.

You can check whether clock is correctly implanted to microcontroller following this example that company provided.

https://www.youtube.com/watch?v=qNJR9vL1D0c

Associate
July 15, 2023

Hi KKIM
Thank you for fast response.
STM32WB55 supports 64MHz.
I'd changed 16MHz OSC it still not working

MM..1
Chief III
July 15, 2023

StLink pinout? What is your cube ? IDE or Programmer sw?

Associate
July 17, 2023

Hi MM

Thank you for response.

I'm using STM32CubeIDE(ver 1.13) and microUSB 5pin cable, not use STlink.

MM..1
Chief III
July 17, 2023

Your choiced bootloader load isnt native suppoerted in IDE. You need handle load sw manualy or over script. Too you cant debug with this setup. Why you choice this?

MM1_0-1689611158158.png

 

Associate
July 20, 2023

Hi MM

Thanks a lot for your help.
I'll take a good look at the document you said.