This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: TMS320F28035
have you guys been able to provide sample code for 28035 or 28XXX I2c slave example?
The only slave example we have currently is for the F2838x (i2c_ex3_external_loopback from C2000Ware 2.00.00.02), but it's written with a driverlib API, so it may be a bit of a challenge to translate it back to the bit-field struct header files that F28035 uses. Might help to look at it though.
You can also try searching the forum to see if someone else has shared some slave code.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Whitney Dewey:
I couldn't find this particular FIle in the folder you have mentioned. Can you recheck? thanks
In reply to sagar shah54:
The full path is C:\ti\c2000\C2000Ware_2_00_00_02\driverlib\f2838x\examples\c28x\i2c
Okay, So I have a question. i2c-int1a_isr is not triggering on (AAS =1 (i2CSTR even though I have enabled i2CIER -> AAS bit =1).
SO am I missing something here? It Does trigger when I have i2c Write (as a slave ) but does not work during read time.
AAS gets cleared automatically when a stop condition is generated. Is it possible that the stop condition is arriving before you get a chance to read the AAS bit? Although I suspect the interrupt would still get triggered even if you didn't see the flag set--are you getting the interrupt at all on a read?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.