STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

DMA Interrupt not trigger

here i generate pulse using pwm generation.. where i need to stop at n th pulse.. so i use RCR register to stop it..where my mcu handle only 8 bit data to the RCR register.. so i split the data into array "RCR_Data" and stores as source destinationi ...

RAM test method for X-CUBE-STL

Hi,I am reviewing the Safety Manual to utilize the Self-Test Library provided by ST, and I have questions about the RAM Test method.It is mentioned that STL provides RAM Test using the March C-algorithm, and its verified diagnostic coverage can satis...

yang90 by Associate
  • 1696 Views
  • 2 replies
  • 0 kudos

HAL_Delay() Not Working Before OS Kernel Start.

Hi,I need to initialize a display by calling my function in main.c. This function uses the I2C4 channel and requires implementing some delays.Since it uses I2C4, it must be placed after the CubeMX Init functions, specifically in /* USER CODE 2 */. Do...

Ricko by Senior III
  • 1210 Views
  • 5 replies
  • 1 kudos

H7 USB devices Errata

Hello, I would like to get more info on Errata ES0392 Rev 13 - section 2.25.3:the errata states:I'm confused with the wording of this errata.  Can someone from ST describe the meaning of this errata?I currently have USB0 connected to the USB Hub dire...

mattcrc_0-1741837754691.png mattcrc_1-1741838045724.png mattcrc_2-1741840510959.png mattcrc_4-1741840772902.png
matt-crc by Senior II
  • 1054 Views
  • 5 replies
  • 1 kudos

Atomic variable for scheduler question

I traditionally use a volatile type for my schedulers. Very simple like so volatile uint8_t myflag; uint8_t ticks; void Func(void){ ++ticks; if(!(ticks % 5)){ myflag = true; } } void User(void){ if(myflag) { myflag = false; //DO ...

Carl_G by Senior III
  • 2898 Views
  • 28 replies
  • 3 kudos

Resolved! TIM still running in STOP

I am using TIM2 to create PWMs for LEDs. When I enter STOP mode I expect the PWM to stop. Yet it does not. From the manual TIM do not have wakeup capability from stop mode. So they should not be requesting the HSI to operate.What could possibly cause...

Carl_G by Senior III
  • 623 Views
  • 3 replies
  • 0 kudos