All Questions
82 questions
0
votes
2
answers
2k
views
Is HSE clock is a type of internal clock or ETR?
In STM32 microcontrollers there is a distinction between HSI and HSE(high speed external). This indicates an internal external distinction.
On the other hand as shown in this document there is ...
0
votes
3
answers
771
views
Is it a good idea to omit HSE in favour of HSI?
I'm considering using stm32 L412 chip that comes with a 48Mhz HSI with +/- 0.25% accuracy. On the datasheet it says HSI can be used to drive usb fs peripheral. I will also using SPI peripheral.
https:/...
0
votes
1
answer
62
views
Problem initializing PLL as clock NUCLEO-H563ZI
I am trying to initialize the clock with PLL as system clock.
The code I used is the following
...
0
votes
1
answer
312
views
Does the STM32F103C8T6 blue pill chip require external resonators?
I am designing a custom PCB with the bluepill MCU, which I want to program over ST link and SWD, which external resonators are a must?
In the standard version, it comes with 32kHz and 8MHz:
https://...
0
votes
1
answer
1k
views
RTC time is not kept in Stm32f103 by vbat
I am using stm32f103c8 and External Clock Crystal (LSE). I connected the Vbat with a 1220 coin battery.
But when I turn off VDD and turn on the micro again, the time and date are all zero.
Why time is ...
0
votes
1
answer
314
views
Can I use an unmodified ST Nucleo-F303RE to develop USB devices?
I want to use my Nucleo-F303RE to develop firmware for a USB HID.
The stm32f303ve data sheet states in section 3.25 that for the USB peripheral to work, the MCU needs a HSE crystal oscillator.
...
0
votes
1
answer
2k
views
LSE fail to enable
I am using a blue pill with STM32F103C8 and I am trying to debugg my programm but every time it is stack in the activation of the LSE clock (LL_RCC_LSE_IsReady() != 1)
I have the following system ...
0
votes
2
answers
8k
views
STM32f2xx external clock source for timer
I trying to use a timer with an external clock source on a stm32f207ZE microcontroller.
But it isn't working. Here is my code:
...
0
votes
2
answers
115
views
Verifying if HSE is used by MCU as system clock without probing
I have a PCB where I use an 8 MHz quartz resonator as this MCU's external system clock source.
In STM32CubeIDE the setting is as follows:
The program runs fine in MCU, but I cannot be sure if HSE is ...
0
votes
1
answer
233
views
LTC2311 CMOS SPI connection with STM32
I am currently using LTC2311 as ADC with CMOS setting in my circuit. However, I cannot seem to get any output out in the microcontroller (I use the STM32 Nucleo development board).
My question is that
...
0
votes
1
answer
912
views
MASTER Clock output from one micro to another vs independent clock src
I have a Small STM32 Nucleo board where the on-board ST-Link debugger has an 8mhz crystal for the debugging microcontroller. That microcontroller is set up to output its MASTER clock, in other words ...
0
votes
2
answers
675
views
Set up two clock sources with an STM32F103?
As above really. I'd like to set up two clock signals on my STM32F103 for external circuits, one at 4 MHz and the other at 2 MHz.
Here's what I've tried so far, but I'm not measuring any signal at ...
0
votes
2
answers
2k
views
Timer configuration on STM32F4
I'm trying to configure the timer3 to have a frequency of 1KHz, without success.
Here's my configurations:
System Clock:
...
0
votes
1
answer
2k
views
How to Sycnhronize STM32F4 Clock with PC Clock
I'm using 3 STM32F401RE to synchronize their clocks. My desired accuracy is of 1ms and even lesser like 0.1ms. This device is connected to PC via USB port.
Question 1 :
So I would like to know if I ...
0
votes
1
answer
767
views
STM32F4 clock behaves very strangely
I can not find a solution for why STM32F427ZIT6 clock changes during operation. I am using external 8 Mhz crystal.
Should I rather look for a error in software or hardware?
I have a little code, ...
0
votes
2
answers
618
views
STM32F4 clock 60Mhz
I want to set my STM32F446 controller his clockfrequency to 60MHz.
I thought I could do it, but without results.
I am using an STM32F446 -nucleo board. I used STM32CubeMX to generate my code. After ...
0
votes
1
answer
1k
views
Output 48MHz system clock on a GPIO pin other than MCO pin on STM32F030
I want to output the max 48MHz clock signal of STM32F030 to drive another subcircuit. The problem is the chip STM32F030F4P6 (TSSOP-20 package) I prefer to use a GPIO because the MCU doesn't have the ...
0
votes
2
answers
5k
views
STM32F303RET's core is always halted after programming
I have an STM32F303RET MCU with Eclipse, Cross ARM GCC and HAL library environment. I am using an STM32F4Discovery board as SWD programmer. My problem is when I download the hex file to the MCU I got ...
0
votes
0
answers
90
views
STM32F031 HSI clock temperature impact
I developed an electrical board that contains a STM32F31C4T6. The product worked well for more than two but since this summer I have customer feedback on malfunctions of the card, it no longer works ...
0
votes
1
answer
148
views
STM32G431 CMSIS clock setup failed
I am currently developing with the WeAct Studio STM32G431 Board, but when I tried to configure the clock setup something went terribly wrong. During the debugging process the ST link connection broke ...
0
votes
1
answer
95
views
Slave SPI not firing interrupt
I have 2 STM32F407 discovery boards for which I'm trying to setup a multi slave SPI bus. The first slave is working but the other one is making problems once I connect the second CLK input onto the ...
0
votes
0
answers
67
views
Is it possible to make two-cycle bitbang on STM32?
I have a Nucleo-F103RB (evaluation board with the STM32F103RBT6 MCU) and I am learning STM32 assembler. I have set the SYSCLK on MCO pin and make a blink led example successfuly. But then I have faced ...
0
votes
1
answer
203
views
Interfacing with a C64 SID Chip (clone)
I bought a MOS 6582 clone and want to control it with a STM32 Nucleo. Basically make a simple MIDI controlled synth. The hookup looks simple, but have a control question. Here's the detail on the ...
0
votes
0
answers
267
views
How to select between different PLL and divider configurations with same result
I'm new to STM32 and totally ARM. I'm learning STM32 by a NUCLEO-L053R8 board and currently working on clock configurations.
I want to clock CPU, USB and RNG all by PLL connected to HSI16 so there is ...
0
votes
0
answers
88
views
SPI connection is not working
I am trying to establish an SPI connection using the Nucleo-F030R8 board but there's no signal coming out. How do you start the connection?
I did the configurations using STM32CUBE MX software and ...
0
votes
0
answers
470
views
STM32WB - sensor data sent via BLE and saved on SD card (SPI)
I have an STM32WB and I am trying to get the data from some pressure, temperature and humidity sensors through DMA and send them to my Android via BT, while at the same time saving it as well on a SD ...
0
votes
0
answers
112
views
How do I configure system clock while using MBED IDE?
Just starting to use STM32 boards with web-based MBED IDE.
This IDE don't have anything like Project configuration menu like other IDEs do. So I can not understand how do I configure system clock.
...
0
votes
1
answer
1k
views
Setting up an STM32F103 8 MHz clock source [closed]
I'm extremely new to the STM32F103 (just received it in the post today) and would like to know how (the best way) to set up one of its pins as a clock source for an external circuit.
Ideally, I would ...
0
votes
1
answer
1k
views
Strange ADC sampling frequency / clock frequency on STM32F401 board
I use a timer to trigger ADC sampling on STM32F401, and the interrupt service routine of ADC will toggle a GPIO pin so that I can measure the ADC sampling frequency using an oscilloscope (which should ...
-1
votes
0
answers
25
views
Using Analog Discovery V2 to Generate 16.384 MHz for ADE7880 CLKin Pin - Connection and Setup Advice Needed
I'm new to electronics and I'm working with the ADE7880 IC and having trouble with its clock configuration. This IC is quite specific about its crystal selection, and currently, I'm unable to ...
-1
votes
1
answer
248
views
STM32F4 OC Clock Jitter Problem [duplicate]
I am using STM32CubeMX to configure an STM32F4 to output a clock signal using Timer 3, Channel 4 on PC9. I have read in the datasheet PLL section that jitter shouldn't be more than 15ps RMS but I am ...
-3
votes
1
answer
369
views