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

MSP430F5438A: How to operate the multiple I2C devices via one set I2C lines of MSP430F5438A?

$
0
0

Part Number:MSP430F5438A

Hello,

I designed a board with MSP430F5438A, connected 4 I2C devices to a set I2C lines of UCB2 on P9.1 and P9.2. Now I verified the 1st devices operation with normal I2C initiation and operation codes as the example, but failed on the 2nd device, I re-initiate the I2C with the 2nd device's slave address, the problem is always no ACK response when executing start operation. 

Can somebody tell me the root cause? I am checking the HW signal quality of SCL and SDA, I had a query of the SW coding on how to operate the 2nd/3rd I2C devices, do I need re-initiate I2C completely? or just change the slave address of the UCB1I2CSA register? if yes, what's the required registers operation when just change slave address?

BTW, my compile tool is IAR.

Thanks very much in advance!

Best regards!

Hougqm


Viewing all articles
Browse latest Browse all 22027

Trending Articles



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