Which function used for read I2C device address?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-26 7:29 AM
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.
Labels:
- Labels:
-
I2C
-
STM32H7 Series
This discussion is locked. Please start a new topic to ask your question.
11 REPLIES 11
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-26 11:23 PM
why you shift in right side?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-27 7:25 AM
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".

- « Previous
-
- 1
- 2
- Next »