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

Resolved! HAL_I2C_Mem_Write is not working properly

Hello all,Must use I/O expander (PCA9534PW) with STM32F334K8T6.Code:HAL_I2C_Mem_Write(&hi2c1, 0x20<<1, 0x03, I2C_MEMADD_SIZE_8BIT, 0x00, 1, 15000);All code (CubeMX generated): https://pastebin.com/GKNxHSut The usual HAL_I2C_Transmit is not suitable, ...

Glebiys by Associate
  • 2172 Views
  • 1 replies
  • 0 kudos

Resolved! STM32F407VGT The microcontroller is somehow goes under write protection mode while practicing firmware upgrade program.

STM32F407VGTThe microcontroller is somehow goes under write protection mode while practicing firmware upgrade program.Is there any method to unlock write protection ?Cant able to program though keil. But ST LINK UTILITY software is able to reprogram ...

VKUMA.12 by Associate II
  • 709 Views
  • 4 replies
  • 0 kudos

special incremental encoder reading

There is a very old machine that I want to remake.I cannot change the machine's sensors. The incremental encoder of one of the motors produces a jitter-like signal below at position 0. How can I determine this in reading with a timer. I am using STM3...

0693W0000059s90QAA.png

Resolved! Flash Sector Erase - STM32F207

Hello, I currently have this code setup to erase a specific sector of the STM32F207 internal flash:static void eraseSector(uint32_t sector) { FLASH_EraseInitTypeDef eraseInitStruct = { 0 }; HAL_StatusTypeDef status = HAL_OK;   if( HAL_FLA...

Anvi by Associate III
  • 1235 Views
  • 3 replies
  • 1 kudos

STM32F7 and Extern SDRAM Bank Accessing Problem

Hi everyone,I'm using a STM32F769BGT6 with an external SDRAM (IS42S32400F). This SDRAM is composed of 4 banks. Each bank contains 12 Rows (4096), 8 Columns (256), and each cell is 32 bits. So : 4096*256*32 = 33 554 432 bits, or 4MBytes/Bank. That mea...

STM32407x ADC , DMA and overrun

Hello, I want to know when ADC DMA is enabled and if ADC overrun status sets to 1. the RM says this >>>>>>>>>>>>>>>>.To recover the ADC from OVR state when the DMA is used, follow the steps below: 1. Reinitialize the DMA (adjust destination address ...

n.serina by Associate III
  • 780 Views
  • 1 replies
  • 0 kudos