cancel
Showing results for 
Search instead for 
Did you mean: 

Which function used for read I2C device address?

MDeva.1
Associate II

Hello,

I am working on NUCLEO-H745ZIQ board. I am interfacing PCAL6524 to board .I have to read the Device address of that IC. Which HAL function that I have to used? I am get confused.

11 REPLIES 11

why you shift in right side?

TDK
Guru

You need to shift the address because that's what HAL expects, but since you already did that, don't shift it again.

Send 0x46, or send 0x23 << 1.

If you feel a post has answered your question, please click "Accept as Solution".