Quantcast
Channel: MSP low-power microcontroller forum - Recent Threads
Viewing all articles
Browse latest Browse all 21942

MSP432 I2C Slave Address handle no response

$
0
0

Hi,

i am using 3 I2C from the MSP432. Each I2C is attached to a connector, which a slave will be connected.

I dont know which Slave Address will be connected to it, because they are different from each other.

I know the Slave Address from each 3 devices, but i dont know in which port they will be connected.

So my goal is to go and try the Slave Addres in each I2C port, if there is no response the MCU will try the next one.

The problem is how to handle a no response?

At the moment the systems stops, but i can the MCU handle this situation and when a no response occurs, he timeouts somehow and the code runs normaly.

Any idea?


Viewing all articles
Browse latest Browse all 21942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>