Re: [Avr-list] I2C on ATtiny45
Olivier MATZ ?: No, if you plan to use the hardware TWI module (i2c), the pin assignation is fixed. In my opinion, the 2 solutions are: - Modify the pcb to invert the 2 pins - If it's really impossible, implement a software i2c, which is not a simple task. By the way, there's an i2c module in aversive: http://cvsweb.droids-corp.org/cgi-bin/viewcvs.cgi/aversive/modules/comm/i2c/ Olivier Thank you very much for your promptest respond, Olivier! I've found one implementation of software i2c master here: http://homepage.hispeed.ch/peterfleury/group__pfleury__ic2master.html Now trying to get it working! ___ Avr-list mailing list Avr-list@droids-corp.org CVSWEB : http://cvsweb.droids-corp.org/cgi-bin/viewcvs.cgi/aversive WIKI : http://wiki.droids-corp.org/index.php/Aversive DOXYGEN : http://zer0.droids-corp.org/doxygen_aversive/html/ BUGZILLA : http://bugzilla.droids-corp.org COMMIT LOGS : http://zer0.droids-corp.org/aversive_commitlog
Re: [Avr-list] I2C on ATtiny45
Hi Ali, The question is: Is it possible to reconfigure somehow pin assignation in order to use hardware USI module with my pin assignation? I never used micros from ATMEL before so any suggest highly appreciable. No, if you plan to use the hardware TWI module (i2c), the pin assignation is fixed. In my opinion, the 2 solutions are: - Modify the pcb to invert the 2 pins - If it's really impossible, implement a software i2c, which is not a simple task. By the way, there's an i2c module in aversive: http://cvsweb.droids-corp.org/cgi-bin/viewcvs.cgi/aversive/modules/comm/i2c/ Olivier ___ Avr-list mailing list Avr-list@droids-corp.org CVSWEB : http://cvsweb.droids-corp.org/cgi-bin/viewcvs.cgi/aversive WIKI : http://wiki.droids-corp.org/index.php/Aversive DOXYGEN : http://zer0.droids-corp.org/doxygen_aversive/html/ BUGZILLA : http://bugzilla.droids-corp.org COMMIT LOGS : http://zer0.droids-corp.org/aversive_commitlog