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

How to write data efficiently to an SD card ?

I am writing data to an SD card for a data logger application, but I have very little experience with writing to SD cards so I want to ensure I am writing the data efficiently.My understanding is that data is written as a sector of 512 bytes.  So eve...

johngj_2-1707419795099.png johngj_3-1707421018110.png
johngj by Senior
  • 12373 Views
  • 11 replies
  • 8 kudos

Resolved! STM32F103RB AF bit of I2C1_SR1 don't work

Hello,STM32F103RB microcontroller.7-bit master transmitter (see Figure 273).When I send Address then I receive AF bit of I2C_SR1 register equals "1" (Acknowledge failure). But the diagram taken from the oscilloscope shows that after the address there...

Mykola_Levun_1-1726487576667.png

Resolved! STM32H745: USB MSC stuck at configASSERT

Hello :)I have created a project for a STM32H745I_Disco board in TouchGFX, imported it to STM32CubeIDE and enabled:USB_OTG_FS -- Host_Only and VBUS sensingUSB_HOST_M7 -- Mass Storage Host Class + Platform settings for enable PinFATFS_M7 -- USB Disk, ...

FabianEbs by Associate III
  • 1248 Views
  • 4 replies
  • 2 kudos

Resolved! How to diagnose a Hard Fault Exception on STM32F407IGT

HelloAfter running the code for about one to two hours I always get Hard Fault exception. Readout of the registers in this Hard Fault while loop are:HFSR=0x4000 0000CFSR=0x8200BFAR=0x20020000MMFAR=0x20020000AFSR=0 Readout of the SP register shows:SP=...

SMali.3 by Associate III
  • 2269 Views
  • 12 replies
  • 4 kudos

BiSS-C Implementation

Hi All,we are evaluating the possibilty to use a BiSS-C encoder in our project. First time using BiSS-C.From the BiSS-C standard it seems to me that BiSS-C can be implemented at STM32 level by mean of an SPI peripheral connected to an Rs422 transceiv...

Bucky by Associate II
  • 10299 Views
  • 8 replies
  • 3 kudos

STM32H745 timer master/slave

I have timer 1 setup to PWM a wave form and timer 2 setup to PWM a different frequency wave form.  I need to restart timer 2 when an output compare match (CNT = CCR) on timer 1 occurs.  It appears that I can do this with master/slave configuration of...

GHolc.1 by Associate III
  • 924 Views
  • 4 replies
  • 2 kudos

Generate pulses using two timers

I want to generate a ~200us pulse on the DAC (variable output) that occurs at 20Hz.The DAC itself is no problem, the 20Hz is done with a timer interrupt.What is the best way to implement the 200us timing? Preferably non-blocking, Another timer that s...

Resolved! Distinguish different STM32G0 variants at run-time

Hi,Is it possible to distinguish an STM32G0B1KBU6N from an STM32G0B1KBU6 based on the UID?Is it possible to read this UID in FW in order to recognize whether the correct controller is fitted or is this only possible via the SW interface?

TR01 by Associate
  • 613 Views
  • 4 replies
  • 1 kudos