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

Nucleo-F030R8 PWM and Phase shift PWM

Hello All,I want to generate a different type of PWM along with its phase shift PWM as well. Below is the diagram for the output waveform. I am using the NUCLEO-F030R8 board as of now.(Sorry for the bad drawing)Where Fhz and Th are the same for all i...

_legacyfs_online_stmicro_images_0693W00000bl9YJQAY.png
Bhavik by Associate III
  • 6468 Views
  • 23 replies
  • 0 kudos

Compilation error with MODSEIAL & STM32F401RE

Hello everyone,Since can I switched to STM32F401RE. Since impossible to compile with MODSERIAL.I’m compiling on MBED StudioMED OS 5.15.7Here is the errorMODSERIAL_NUCLEO_F401RE.cpp:5:17: error: 'struct serial_t' has no member named 'index' switch( _...

AD_716 by Associate III
  • 470 Views
  • 0 replies
  • 0 kudos

MCU:STM32G0B1 fails flash page erase with HAL_StatusTypeDef HAL_FLASHEx_Erase(FLASH_EraseInitTypeDef *pEraseInit, uint32_t *PageError)

Why using:/* Fill EraseInit structure*/ EraseInitStruct.TypeErase = FLASH_TYPEERASE_PAGES; EraseInitStruct.Banks = FLASH_BANK_1; EraseInitStruct.Page = StartPage; EraseInitStruct.NbPages = ((EndPage - StartPage)/FLASH_PAGE_SIZE) +1; /* F...

JPikk.1 by Associate
  • 992 Views
  • 2 replies
  • 0 kudos

I2C HAL_I2C_Mem_Read ( ) failed

Hi,I am working on I2C read EEPROM. The HAL function failed due to the I2C_FLAG_BUSY is always SET.Is there anything I am missing in init code?Thx  if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_BUSY, SET, I2C_TIMEOUT_BUSY, tickstart) != HAL_OK)  {   ...

STM32G030 UART_DMA

I'm trying to 500ms once transmit 5 byte of data. but 2 byte of data only transmit . below i given my code . i don't know where i made mistake if any one know help me.UART_HandleTypeDef huart2; DMA_HandleTypeDef hdma_usart2_tx; DMA_HandleTypeDef hdma...

STM32F429ZIT6 Encoder Mode not counting

I have a custom PCB with a STM32F429ZIT6 on, I am using CubeMX and STM32CubeIDE.The board generates encoders signals with TIM1 & TIM3 in Output Compare mode.I can scope and see the correct encoder signals being generated by both timers.Then, I also w...

_legacyfs_online_stmicro_images_0693W00000blEsJQAU.png _legacyfs_online_stmicro_images_0693W00000blF1GQAU.png _legacyfs_online_stmicro_images_0693W00000blF1LQAU.png
DPatr.2 by Associate III
  • 1592 Views
  • 5 replies
  • 0 kudos