2021-08-25 11:08 AM
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.
2021-08-25 11:14 AM
There is quite a lot of information within the HAL source.
As well as many examples in the CubeMX repository.
2021-08-25 11:29 AM
D
2021-08-25 12:33 PM
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
2021-08-25 12:48 PM
> 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.
2021-08-25 02:11 PM
CAN YOU HELP ME WITH AN EXAMPLE
2021-08-25 02:12 PM
And thank you in fact
2021-08-26 12:25 AM
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