Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 218946

Forum Post: RE: LAUNCHXL-F28379D: Issue with I2C Communication: F28379D as Slave

$
0
0
Thank you for your response. I need to set the C2000 target to receiver mode. Thank you! Setting the own address using I2C_setOwnAddress fixed my first problem. When I followed your suggestion and disabled line 290, I also changed line 291 from "I2C_setConfig(I2CB_BASE, I2C_MASTER_SEND_MODE);" to "I2C_setConfig(I2CB_BASE, I2C_SLAVE_RECEIVE_MODE);" —but in this case, the I2C communication did not work. It only works when set to "I2C_MASTER_SEND_MODE" or "I2C_MASTER_RECEIVE_MODE" , and my second issue still remains. Do you have any suggestions? Thanks!

Viewing all articles
Browse latest Browse all 218946

Trending Articles



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