STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Stm32F4 i2c as master trasmit HAL_OK but not working

I’m using the board, motordriver IIC, to control motor through I2C bus.The chip on the board is PCA9685.​The board is originally a extension for arduino UNO, and I’m using STM32F446RE which also support arduino UNO expansion connector.​The official g...

0693W00000bhIjYQAU.png 0693W00000bhInFQAU.png 0693W00000bhIrbQAE.png 0693W00000bhIsPQAU.png
JChen.43 by Associate II
  • 2364 Views
  • 11 replies
  • 0 kudos

Resolved! STM32H7 Option bytes programming halts CPU

The MCU halts for approximately 300ms after setting the OPTSTART bit in the FLASH_OPTCR register. In HAL_FLASH_OB_Launch() :HAL_StatusTypeDef HAL_FLASH_OB_Launch(void) { HAL_StatusTypeDef status;   /* Wait for CRC computation to be completed */ ...

NilocA by Associate
  • 850 Views
  • 2 replies
  • 0 kudos

How to connect to U5 discovery board on Windows 11

Hello,​I have watched the ST video "Discover the new STM32U5 IoT node B-U585-IOT02A Discovery kit", which showed using the STLink Virtual COM Port (VCP) with a terminal program to connect to the board. I've also seen articles, with no answers, about ...

EC.3 by Associate III
  • 626 Views
  • 1 replies
  • 0 kudos

STM32L5 - Single Bank Flash Mode

I'm attempting to switch to single-bank flash mode on an STM32L562ZET6Q (512k Flash), but so far I've been unable to get the Flash OPTR to operate as the reference manual claims.I used the normal process for modifying the OPTR: HAL_FLASH_Unloc...

MBand.3 by Associate III
  • 2352 Views
  • 9 replies
  • 0 kudos

Resolved! Bootloader not Jumping to Application without Vbat.

Hi everyone,I am working on a custom STM32F401 board and came across a strange problem. I have a coin battery connected o Vbat pin of the MCU and using custom bootloader with it. Everything works fine but once I remove the battery (no voltage in Vbat...

TALHA by Associate II
  • 1902 Views
  • 7 replies
  • 0 kudos

TIM I2S using SPI

Hello Everybody,I am trying to emulate I2S using the SPI interface on the STM32F103.I have looked at the AN5086, but setting up the timer correctly is still unsuccessful.The SPI-CLK is connected to the TIM2 via Channel configured as "input capture di...

PGild.1 by Associate III
  • 1872 Views
  • 5 replies
  • 0 kudos