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

RSA Signature generated by X-Cube Crypto Library and Python script are not matching even though we used same key for both methods.

Hello All,I Integrated X-Cube-CRYPTOLIB V4.1.0 into my project. My application to generate SHA256 for the "xx_xx.hex " file and generate RSA signature . SHA256 value generated by X-Cube-CRYPTOLIB and python script both are same. But RSA signature is ...

_legacyfs_online_stmicro_images_0693W00000dDItgQAG.png
CChee.2 by Associate
  • 1356 Views
  • 1 replies
  • 1 kudos

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
  • 6115 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
  • 447 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
  • 939 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...