STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! STM32F303CC TIM2 needs a counter overflow before ARR match

Hi and happy new year,Migrating from STM32F103 to STM32F303, I mostly copy&paste my code from STM32103 to STM32F303, and only adjust what's necessary. However, I am having troubles with the TIM2 peripheral. Before starting the counter, the CNT regist...

0693W000006HJV6QAO.png
AAnth.1 by Senior
  • 2225 Views
  • 3 replies
  • 0 kudos

I2C repeated start condition to read BME280 problem

Hi,Device: STM32F103C8T6Driver: LL (low layer)It's been days I have struggle reading BME280 which is connected with i2c to my mcu. After configuration, I'm trying to read registers with standard reading procedure as following:Generate Start condition...

0693W000006HJUXQA4.bmp 0693W000006HJUmQAO.bmp
IDavo.1 by Associate II
  • 642 Views
  • 0 replies
  • 0 kudos

ADC to DAC problem

Hi guys, I have a problem with ADC conversion I would say. I put sine wave on ADC input and then I just transfer the value to DAC register, but the negative half of the sine wave is clipped. The code is just this ( Inside HAL_ADC_ConvCpltCallback):DA...

0693W000006HJO0QAO.jpg 0693W000006HJNvQAO.jpg
binarybee by Associate III
  • 1086 Views
  • 1 replies
  • 0 kudos

There seems to be a difference between the system clock immediately after the firmware update and the system clock after the reset (or after power off->on).

Hello. I am using stm32f765 series mcu with iar compiler. A strange thing was caught during development and I left an inquiry.The problem I'm facing seems to be the difference between the system clock right after the firmware is uploaded and the syst...

YKim.5 by Associate
  • 1620 Views
  • 2 replies
  • 0 kudos

Resolved! SPI not working with MISO connected to 3V and 0V

I am trying to code SPI functionality to connect with an external 16-bit ADC. The STM32 only receives data from the ADC, so only a MISO and SCLK line, along with a Conversion/CS line is required. I am currently using the 32F072BDISCOVERY board to te...

JAlle.2 by Associate II
  • 5361 Views
  • 11 replies
  • 0 kudos

STM32G030F6 uart dma idle interrut CNDTR not work properly

Hi, team, I am work on stm32g030f6's uart dma. And config them as idle interrut mode to receive data.When the uart data on high frequence like 10bytes/30ms , the CNDTR will be aways MY_BUFF_LEN -1 , so i only can receive 1 byte data. After reset the ...

XWang.4 by Associate
  • 1641 Views
  • 1 replies
  • 0 kudos

Need a counter to count in micro seconds

Hi All,I am using STM32F74xxx.I need to count micro seconds. currently we are using HAL_GetTick(), function but it gives the time in ms.After I searched on google I found some ways to get micro seconds count, and I tried it but no luck.can any one he...

RRajb.1 by Associate II
  • 3202 Views
  • 4 replies
  • 0 kudos

Can't update GPIOx_MODER register value in STM32H753.

I work with STM32H753 through 3-rd side hardware (Algocraft WN-1 programmer) and have an access to the registers. I try to read/write GPIOJ pins. For this purpose I enabled GPIOJ clock by writing the AHB4 peripheral clock enable register (RCC_AHB4ENR...

LKuri.1 by Associate II
  • 958 Views
  • 2 replies
  • 0 kudos

2021 STM32 Wish List

Dear Community Members & STM32 fans,Peculiar year it has been, 2020 comes to its end. This is an opportunity to say "Thank you" because:you don't hesitate to bring help to othersyou help us improve our STM32 offeryou have confidence on ST Communityyo...