Nov 10, 2013 #1 PA3040 Advanced Member level 3 Joined Aug 1, 2011 Messages 883 Helped 43 Reputation 88 Reaction score 43 Trophy points 1,308 Activity points 6,936 Dear All Following code is for PIC16f877a I2C Start condition Code: void I2CStart(){ SEN = 1; while(SEN); } Can I have the I2C start condition code for XMEGA128A1 MCU Thanks in advance
Dear All Following code is for PIC16f877a I2C Start condition Code: void I2CStart(){ SEN = 1; while(SEN); } Can I have the I2C start condition code for XMEGA128A1 MCU Thanks in advance
Nov 11, 2013 #2 babar_ali Full Member level 2 Joined Dec 22, 2010 Messages 148 Helped 37 Reputation 74 Reaction score 35 Trophy points 1,308 Location Friedrichshafen, Germany Activity points 2,088 Read the TWI (two wire interface) peripheral in device datasheet...
Nov 23, 2013 #3 PA3040 Advanced Member level 3 Joined Aug 1, 2011 Messages 883 Helped 43 Reputation 88 Reaction score 43 Trophy points 1,308 Activity points 6,936 babar_ali said: Read the TWI (two wire interface) peripheral in device datasheet... Click to expand... Would you please advice me by example like my first post example thanks again and again
babar_ali said: Read the TWI (two wire interface) peripheral in device datasheet... Click to expand... Would you please advice me by example like my first post example thanks again and again
Nov 23, 2013 #4 mathespbe Full Member level 3 Joined Jul 10, 2013 Messages 185 Helped 45 Reputation 90 Reaction score 44 Trophy points 28 Location India, Tamilnadu, Coimbatore Activity points 866 Check the data sheet page no 82 to 111 for code example refer https://www.8051projects.net/i2c-twi-tutorial/pic-i2c-code-example.php
Check the data sheet page no 82 to 111 for code example refer https://www.8051projects.net/i2c-twi-tutorial/pic-i2c-code-example.php
Nov 23, 2013 #5 PA3040 Advanced Member level 3 Joined Aug 1, 2011 Messages 883 Helped 43 Reputation 88 Reaction score 43 Trophy points 1,308 Activity points 6,936 Dear mathespbe If I am correct you are referring to the PIC I should asking AVR XMEGA
Nov 23, 2013 #6 jayanth.devarayanadurga Banned Joined Dec 4, 2012 Messages 4,280 Helped 822 Reputation 1,654 Reaction score 791 Trophy points 1,393 Location Bangalore, India Activity points 0 http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&p=985444 http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=86140&highlight=lm75 http://www.embedds.com/programming-avr-i2c-interface/ http://www.mikrocontroller.net/articles/AVR_TWI
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&p=985444 http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=86140&highlight=lm75 http://www.embedds.com/programming-avr-i2c-interface/ http://www.mikrocontroller.net/articles/AVR_TWI