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

STM32U585AII6 FMC cannot read and write PSRAM

Hello, I have a issue to control IS66WVE4M16EBLL-70BLI with STM32U585AII6. Although IS66WVE4M16EBLL-70BLI is 8MB, I can read and write only 8KB. IS66WVE4M16EBLL-70BLI has 22 address lines and 16 data lines.(4M * 2 = 8MB)     The problem is    if i ...

kongking_4-1718872404276.png kongking_6-1718872451878.png kongking_7-1718872567594.png kongking_8-1718872599895.png
kongking by Associate
  • 564 Views
  • 0 replies
  • 0 kudos

Resolved! Reading I2c with sub-address

Hello All.Reading a register value from an I2C device assumes:  Writing the device address-> Writing the register address without STOP-> Reading the value . I am trying to figure out if I can do it using only available HAL functions but I don't see h...

baranovus by Associate III
  • 1348 Views
  • 2 replies
  • 2 kudos

USB Device Connection and Disconnection

STM32F4 is working in USB Device MSC mode successfully.I need to detect the USB connection state. I put the HAL_PCD_ConnectCallback function in main.c but on compiling I received warning.Debug/../USB_DEVICE/Target/usbd_conf.c:307: multiple definition...

Nico3 by Senior
  • 1996 Views
  • 7 replies
  • 0 kudos

Error in AN2834 rev 9

Hello ST people, I spotted an error in AN2834 rev 9, figure 8. Please refer to the image attached.A negative offset error should be depicted in figure 8, but it is a positive offset error, just like in figure 7. To be a negative offset error, the act...

ke1wa_1-1718781759126.png
ke1wa by Associate
  • 929 Views
  • 2 replies
  • 0 kudos

Resolved! How to reset counter value ?

Hello everyone, i would like to know the HAL function that allows to reset the value of a simple counter. I don't find the HAL function to reset my counter to 0 before a next counting. So all i want to do is to count, read my counter value and reput ...

LHerm.1 by Associate III
  • 11787 Views
  • 6 replies
  • 1 kudos

Initialize the bootloader on STM32L432KC

I am a new embedded software engineer using STM32L432KC for my company's projects.I have been tasked to install a bootloader into this MCU. I am not sure how to proceed. I do understand that the BOOT0 pin which is grounded has to be set HIGH and BOOT...

Abijith by Associate II
  • 1351 Views
  • 5 replies
  • 0 kudos

Resolved! How to write multiple file in sd card sdio using fatfs

Hi, 1.I want to save multiple files but only 50 or 55 files savings.and how to save files next to next file.I want to fo fill data files up to to 32 GB.  2. how to reuse same memory for multi file creationint main(void){ /* USER CODE BEGIN 1 */  /* U...

pankaj4 by Associate II
  • 1314 Views
  • 3 replies
  • 3 kudos

Flash memory data access

Hi.I want to save and load data to flash memory. (STM32F373RC)And initialization code was generated through cubemx.All functions including SPI, I2C, and ADC were successfully tested.However, saving and loading data into flash memory failed.All functi...

YS4 by Associate
  • 1277 Views
  • 1 replies
  • 1 kudos

Resolved! MCU can't be flashed anymore

Hi everyone,First I am sorry for the uneducated rest of this text and badly written code.I am currently playing around with a stm32f4 chip. I am using Platform IO CMSIS and a cheap stlink v2 to program the chip. I was trying to get PWM working when t...

Smar by Associate II
  • 1191 Views
  • 3 replies
  • 2 kudos