Skip to main content
JGóme.1
Associate II
August 25, 2021
Question

I2C Interrupts

  • August 25, 2021
  • 7 replies
  • 1854 views

Hello everyone!

I would like to know what requirements are needed to work with sensors in a STM32 core F401RE using I2C Interrupts, and if that is possible.

Thanks.

I was searching in Internet but I don't find nothing.

This topic has been closed for replies.

7 replies

TDK
August 25, 2021
"If you feel a post has answered your question, please click ""Accept as Solution""."
JGóme.1
JGóme.1Author
Associate II
August 25, 2021

D

JGóme.1
JGóme.1Author
Associate II
August 25, 2021

I have already tried with the repository examples, however it only shows examples of communication between two cards, which I have not been able to make work either.

I also want to know if something in particular is needed to read the data from a sensor, specifically a DLHR-F50D pressure sensor

TDK
August 25, 2021

> which I have not been able to make work either.

Doesn't bode well for interfacing with another sensor then.

> I also want to know if something in particular is needed to read the data from a sensor, specifically a DLHR-F50D pressure sensor

Just an I2C or SPI interface, power, appropriate hardware and wiring, and a workable code.

"If you feel a post has answered your question, please click ""Accept as Solution""."
JGóme.1
JGóme.1Author
Associate II
August 25, 2021

CAN YOU HELP ME WITH AN EXAMPLE

JGóme.1
JGóme.1Author
Associate II
August 25, 2021

And thank you in fact

ST Technical Moderator
August 26, 2021

Hi @Julian Gómez​ ,

Have a look at this FAQ STM32 I2C does not work, describes few tips related to I2C peripheral on STM32 devices.

When your question is answered, please close this topic by choosing Select as Best.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks