2 Chips with Different i2C Address on same I2c Bus , here how to ensure which i2c data is recieved?
If any example for stm32f072 please share .
Thanks ,
Rohit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-30 11:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-30 01:14 PM
Check that each chip NACK to its slave address.
Check the error/status codes returned by the HAL_I2C functions.
You'll need to sequence your code such the it queries one at a time.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-01 03:31 AM
Ok ,.
Actually am using SPL and Not HAL.
Can you please share more on NACK to Slave Address? How to confirm it?
I am not much familiar to it.
Rohit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-01 04:46 AM
It is part of the I2C protocol, should be detected and flagged as part of the driver implementation.
If you are currently having an issue, see how the driver is reporting error/status conditions, and how you react to them.
Up vote any posts that you find helpful, it shows what's working..