STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32H7B0 How to get input frequency of timer 3

Dear,Used MCU: STM32H7B0, 100 pins.In the datasheets we had found that TIM3 use the APB1 peripheral clock.In our case is this 120MHz. But when we use the function "HAL_RCC_GetPCLK1Freq()" we become 60MHz.This isn't correct. So what function should we...

OGhis_0-1730552934505.png
OGhis by Senior
  • 517 Views
  • 4 replies
  • 1 kudos

Resolved! STM32H7B0 ADC 2 incorrect sample rate.

Dear,Using STM32H0B0, 100 pins version.we wish to sample 1 input with ADC2 at a fixed frequency. This must not deviate and for this we use timer 3 set to the desired sample rate.In the pictures we use 100Khz, but later to go to 1Msps.So the timer 3 i...

OGhis_3-1730578411629.png OGhis_0-1730577254510.png OGhis_1-1730577267859.png OGhis_2-1730577285068.png
OGhis by Senior
  • 619 Views
  • 1 replies
  • 0 kudos

STM32 SPI master and slave issue

Hello everyone.I am working on a project and I have two stm32 MCU connected over SPI interface. One acting as a master (STM32H743VIT6) and the second acting as a slave (STM32C011U6) in full duplex.When sending data between the two devices the receive...

sousa_1-1730544656409.png
sousa by Associate II
  • 784 Views
  • 5 replies
  • 0 kudos

Unexpected timing with nops

Hi,I am confused with pin toggle timings, why I am getting non equal pulse widths like in the picture, I turn off all compiler optimizations and disable all of the interrupts, code is simple pin toggling. My controller is STM32L431 running on 80MHz.T...

pic2.png
tompa by Associate III
  • 1843 Views
  • 14 replies
  • 8 kudos

Resolved! High AD noise on STM32F103 (bluepill)

This is on STM32F103C8 (bluepill)The A0 is connected to a voltage divider between bluepill's 3v3 and GND,And the output is very noisy. adding a delay did't do not much good```void setup(){Serial.begin(9600);// Enable ADC1 and configure itRCC->APB2ENR...

pilot by Associate III
  • 652 Views
  • 2 replies
  • 1 kudos

stm32h755 Nucleo M7 debug problem

I am Juan de Jesus, I am a graduate student in engineering. I just bought a NUCLEO STM32H755 board.I am writing a simple code to test this board, an algorithm that makes LED 1 blink.The program compiles very well, and after this, I have made the conf...

SDIO Bit Start Error with STM32F407VGT6 and STM32CubeMX

Posted on January 11, 2015 at 20:46I'm having problems with communication through SDIO. In the initialization process, where are only sent commands, everything works, but the function HAL_SD_SendSDStatus is returning SD_START_BIT_ERR. Informations a...

silas by Associate II
  • 903 Views
  • 2 replies
  • 0 kudos

Error stm32G030 not specified in the errata file.

When using RTC, the GPIO pin state of PA4 may be corrupted. RM0454, section 23.3.3 says: "In addition, it is possible to output RTC_OUT2 on PA4 pin thanks to OUT2EN bit. Thisoutput is not available in VBAT mode. The different functions are mapped on ...

PBobo.1 by Associate II
  • 2050 Views
  • 11 replies
  • 1 kudos

Resolved! STM32F756 jumps unknown address "BX LR"

Hello everyone,I and my collegue have more than 20 years experience on embedded desing with MCUs. We have a problem which we haven't seen this kind of problem before. I guess someone can help us in here.MCU: STM32F756IDE: Project created from cubeMX ...

1.png 2.png 3.png 4.png