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

DMA memory to peripheral question.

Hello,I have a doubt regarding DMA memory to peripheral ?Suppose I would like to transfer a memory buffer content to SPIx TX.When do each transfer occurs ? Every time I change the content of the memory buffer ? Always ?I cannot find this information...

simo zz by Senior II
  • 452 Views
  • 2 replies
  • 0 kudos

Unnecessary SD card command in block read/writes

Hi,When looking into stm32l4xx_hal_sd.c, I observed the following code:   if(hsd->SdCard.CardType != CARD_SDHC_SDXC)   {     add *= 512U;   }   /* Set Block Size for Card */   errorstate = SDMMC_CmdBlockLength(hsd->Instance, BLOCKSIZE);   if(errorsta...

Lama by Associate III
  • 1301 Views
  • 7 replies
  • 1 kudos

Resolved! STM32F091 I2C1 not working but I2C2 works perfectly.

I have a design where I am using both I2C1 (external ADC) and I2C2 (external EEPROM). I have no problem making I2C2 work perfectly. The MCU both transmits and receives messages with no problem and I can see in on the Oscilloscope. However, when I att...

Problems with configuring the FDCAN of the STM32H743ZI

We have the following situation: We want to use the FDCAN of the STM32H743ZI with 500 kbit/s. We've got followingconfiguration parameters for the FDCAN1:hfdcan1.Instance = FDCAN1;    hfdcan1.Init.FrameFormat = FDCAN_FRAME_CLASSIC;    hfdcan1.Init.Mod...

TPien by Associate
  • 496 Views
  • 1 replies
  • 0 kudos

coocox os RTOS with stm32l0

I want to use coocox os with an stm32l083cz . while i am compiling the code the following error appears. /tmp/ccpwcyyg.s: Assembler messages:/tmp/ccpwcyyg.s:242: Error: selected processor does not support `stmdb R0!,{R4-R11}' in Thumb mode/tmp/ccpwc...

Resolved! Measuring exact time between to pulses

Hi all,To be hontest, I am a beginner when it comes to timer and capture hardware. Maybe someone can help me figuring out what the best way is how I can measure the time between two separate impules i get on two separate lines. Accuracy shall be very...

Microman by Associate III
  • 2307 Views
  • 2 replies
  • 0 kudos

RTC wake up

Implementation on: STM32L476RCI can configure a periodic sleep cycle by waking up through the RTC through calling HAL_RTCEx_SetWakeUpTimer_IT.I'm now trying to handle an EXT interrupt while in this periodic sleep cycle.The goal is to handle the EXT i...

Aa.41 by Associate II
  • 388 Views
  • 0 replies
  • 0 kudos

rtc year

rtc year is uint8_t, does anybody know how to identify year less than 2000 or more than 2000?Regards,

yang hong by Associate III
  • 410 Views
  • 1 replies
  • 0 kudos

stm32L4: wakeup pin polarity confusing.

Hello. I try to calculate some pulses by wakeups from shutdown mode. I have 2 pins which areWKUP1, WKUP4. They are configured to wake up by rising edge. But sometimes when only 1 of them is rising, I receive 2 notifications, from both pins.The proble...

VD1 by Associate
  • 674 Views
  • 0 replies
  • 1 kudos

DBGMCU HRTIM_STOP does not disable PWM outputs?

I'm working on a project for a battery charger and for safety purposes I want the complementary outputs of the HRTIM to be disabled when the core is halted. On the STM32F334, setting the HRTIM_STOP bit in the DBGMCU register resulted in both the HRTI...

LDoes by Associate II
  • 435 Views
  • 0 replies
  • 0 kudos