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! Can I turn off the FMC prefetcher without turning off the cache?

I was struggling for a while to do a deep dissect of the cache behavior of my STM32F7508-DK device.Especially, when accessing SDRAM connected to FMC, the performance behavior was weird(some was much better than the others while the code looked semant...

KMaen by Associate III
  • 1006 Views
  • 2 replies
  • 0 kudos

I2C LL

I have some questions about how to start I2C on LL.Firstly, I rewrote the HAL code in LL and was a little surprisedWhy does it take so much code to read the data? virtual Status::statusType ReadByteArray(uint8* buffer, uint32 size) override { if (...

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
  • 2604 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
  • 956 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
  • 1506 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...