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

Have an issue with reading from union of bitfield structures. The compilation of the program is successful, however the execution interrupts and ends up in the default interrupt handler, which by default is an endless loop. Could this be a compiler issue?

To pars binary information I created a series of bitfield structurestypedef struct PD_SOURCE_PDO_CAPABILITY { uint32_t MAX_CURRENT_UNITS : 10; uint32_t VOLTAGE_UNITS : 10; uint32_t PEAK_CURRENT : 2; uint32_t RESERVED_BITS22_23 : 2; ...

Why STM32F103C8 is not sending the right data to Slave I2C device? this issue happened when HAL_I2C_Master_Transmit is used and send just one bye.

Hi ST community.I am trying to control a 7 sevensegments display (HT16K33), it has I2C as interface.If the Display is connected to Arduino2560 board, it works, but when STM32F103C8 is controlling it, the display isnot working.after i tested all comma...

0693W000008zhnAQAQ.jpg 0693W000008zhnFQAQ.jpg
ERABALF by Associate III
  • 610 Views
  • 1 replies
  • 0 kudos

Problem with class constructor and GPIO

hi everyonei'm writing some code to control an RC car.while implementing the code for the motors, i've decided to assign the peripherals information (PORT, GPIO, timer ecc) directly in the class constructor.but if i do so, motors wont respond, it see...

Gzini.6 by Associate II
  • 964 Views
  • 3 replies
  • 0 kudos

Resolved! Nucleo H743, large spikes in Idd in regular pattern

I have the same problem as described and unanswered here: https://community.st.com/s/question/0D53W00000IUzefSAD/nucleo-h745ziq-drawing-current-spikes-from-usb-power-port-producing-noisy-5v i.e. bursts of current spikes each 18 ms.The particular boar...

0693W000008zefrQAA.png 0693W000008zefXQAQ.png
KMach.1 by Associate II
  • 1057 Views
  • 4 replies
  • 0 kudos

Moving average filter calculation using RTC time domain

HI ,I am using STM32L151RCT6 MCU and creating the project using STM32Cube IDE..My requirement is like- need to calculate the average of some samples in particular time period that is 12 sec timing using RTC- ( it is like Moving average filter calcu...

MBhir.11 by Associate III
  • 516 Views
  • 0 replies
  • 0 kudos