STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Device address in stm32L4

Im using STM32L4 how i2c master with 5 i2c slaves In stm32l1 when using callback i can detect device using :  if (hi2c->Devaddress == I2C_ADDRESS1) // slave 1  {}In STm32L4 don't exist hi2c->Devaddress ..Yu can help me .BR.Francesco

bfran.1 by Associate II
  • 1291 Views
  • 7 replies
  • 0 kudos

Why would I see different results writing data via the FMC while debugging with a breakpoint on the enable step compared to running without breakpoints? With the breakpoint, I get valid data.

I'm using the FMC of a STM32H7 micro to communicate with an LCD, which has timing signals similar to a NOR SRAM. I have the MDMA configured to write 16-bit words out of a buffer to the FMC at the 0x60000000 address (bank 1). The MDMA is configured to...

DBatc by Associate
  • 437 Views
  • 1 replies
  • 0 kudos

Resolved! STM32F746 "forgets" flashed program (and more)

I migrated to a new self-created PCB with a STM32F746IE. I noticed that if I flash anything, the program works immediately after flashing, but not after power off/on. As a simple example, I created a program with two blinking LEDs. They blink after f...

STM32G474 SPI DFU mode not working

I'm using STM32H753 eval board as master and STM32G474RE Nucleo board as slave over SPI1 communication. I've created a DFU for LED blink on Nucleo board which works fine if I download it through USB(connected PA11, PA12, 5V and GND) usinf DeFuseDemo ...

AShel.1 by Associate III
  • 591 Views
  • 3 replies
  • 0 kudos

ADC Low power - consumption

Hello,I have a custom PCB with stm32L562 on it. I'm able to put it low power run mode.My consumption is 0.2mA, but if I init ADC the consumption jums to 0.3mA.I've tried to deinit it before going to stop 1 mode but it does not helpHAL_ADC_Stop(&hadc1...

Artuan by Associate II
  • 1455 Views
  • 9 replies
  • 0 kudos

STM32H745 SDIO not working

Hi,I have tested STM32H745 CM7 SD 1bit mode with out RTOS from cube generated files (STM32Cube_FW_H7_V1.7.0) and it's work fine for FATFS file operations, as soon as by adding freeRTOS in cube, the generated files have HAL SD init and f_mount works b...

VDesa.1 by Associate III
  • 389 Views
  • 1 replies
  • 0 kudos

How to detect IDLE in SMBUS Multi-master?

I'm using SMBus on an STM32F303. The application has the STM32 as host, SMBUS charger and SMBUS battery, the charger and STM32 can act as master.I need to infrequently read from the battery and want to check for IDLE before initiating a transfer.I've...

iguffick2 by Associate III
  • 354 Views
  • 0 replies
  • 0 kudos

Resolved! I2C speed mode is defined only by timing?

When I2C "Speed mode" changes in CubeMX/IDE from Standard to Fast, it seems that only the Init.Timing value changes in generated code.This value goes into TIMINGR register of the I2C .Am I missing anything or this value defines the "speed mode" entir...

Pavel A. by Evangelist III
  • 533 Views
  • 3 replies
  • 0 kudos