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

SPI + I2C Example Project

Hi, I am struggling to get SPI and I2C to work at the same time on my project I have tried multiple things (DMA, interrupts etc...) are there any example projects that already have this implemented? I am simply trying to read an I2C sensor value and ...

Linkpad by Associate III
  • 1279 Views
  • 3 replies
  • 2 kudos

Problem using Slave to transmit I2C Interrupt

Hi,In my project, I communicate with STM slave I2C. I can receive data via I2C but I cannot send data. As you can see in the photo below, the packetData is filling up, but when you send it, it only sends 0x00. what is the problem? what can I do?

i2c-interrupt.PNG i2c-interrupt-2.PNG
res_queen by Associate II
  • 1255 Views
  • 4 replies
  • 0 kudos

Resolved! Transition from 2x Teensy 4.0 boards to STM32H755xI

Hello everyone,  I'm exploring the feasibility of transitioning from 2x Teensy 4.0 boards to an STM32H755XI for a sensor-intensive application. The project involves interfacing with 16 VL53L4CX sensors and managing their data acquisition and processi...

isaacjack by Associate II
  • 1476 Views
  • 1 replies
  • 1 kudos

SMT32F407VGT6 / CAN issue

The CAN communication between the main control board (SMT32F407VGT6) and the same server board (STM32F407VGT6) shows that the ambient temperature is below -10 degrees, the communication is abnormal, and the ambient temperature is above -10 degrees! I...

JACK00 by Associate II
  • 662 Views
  • 1 replies
  • 1 kudos

STM32F303C8C6 DMA 2ADC 5Channels

hi i am having some difficoulty's where i cant find a solve for: problem 1 ADC1_channel12 feeds me a value back around 4030 while its voltage on the pin is 0.0Vproblem 2 ADC2_channel3 is always reading 0 i configured all ADC channels to place data in...

Core Hardware Register availability for User

Any Core Hardware Register available to user which is not used by HAL or the Processor itself which I can safely use without disturbing the rest of the MCU?I am using an STM32L431. To keep the System State in check I am using a Volatile uint32_t vari...

Resolved! HAL USART serial buffer pointers not declared volatile?

One of the practices of software design is to use volatile buffers when ISR and main loop access the data in the same buffers. This makes sure certain compiler register optimisations do not create unreliable code.If I look at the HAL code for the USA...

Johi by Senior III
  • 1929 Views
  • 3 replies
  • 1 kudos