TomKraut 17 Posted July 9, 2012 Share Posted July 9, 2012 Has anyone example code for using a Piccolo C2000 as an I2C slave? The only example in the device support packages is for using it as a master. Thanks TomKraut Quote Link to post Share on other sites
grim 0 Posted July 9, 2012 Share Posted July 9, 2012 There are a few threads on the E2E forums. The best thing you can do to broaden your search is look for other chips in the same family for examples. The modules are the same. F28335 I2C Slave Also, make sure your PLL is inited when you do your I2C peripheral init, otherwise you will be pulling out you hair for days. Also, Configuring the TMS320F280x DSP as an I2C Master or Slave Processor TomKraut 1 Quote Link to post Share on other sites
TomKraut 17 Posted July 11, 2012 Author Share Posted July 11, 2012 Thanks, the App-Note is exactly what I needed! I found it before but thought it didn't apply because it was for an older C2000. Turns out, I didn't even have to modify the register names... Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.