Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/10/06 13:14
Read: times


 
#109696 - I see nobody "fighting"
Responding to: ???'s previous message
I can not understand all these fighting against software I2C.

I see nobody "fighting" what I see is "Any reason not to use its hardware I2C".

To go through the throes and implementing bit-bang with its drawbacks (not the coding thereof, you just need to know how to copy, but the timing overhead) when already using a uC with HW IIC is downright silly.

If you, for whatever reason am using a uC without HW IIC there is, of course, no reason not to go bit0bang.

With this said, why use bit-bang when you gan get an uC with HW IIC for less than $1?

Software I2C has lots of advantages:
1 easy to use
2 portable
3 flexibility (every port pins can be used)
4 no hardware bugs
5 no hanging state
6 smaller code than using hardware I2C
7 equal execution time as hardware I2C as long no I2C interrupt handler was used.

what advantages?
1) no difference
2) who cares
3) Good if you screw up designing the hardware
4) know of none in HW IIC
5) know of none in HW IIC
6) have not checked, but "smaller code" must mean less explicit
7) how can you have an IIC interrupt w/o IIC HW?

And I repeat if you, for whatever reason am using a uC without HW IIC there is, of course, no reason not to go bit0bang.

Erik

List of 35 messages in thread
TopicAuthorDate
I2C bit banging            01/01/70 00:00      
   It has I2C bus            01/01/70 00:00      
      question, language and added info            01/01/70 00:00      
         SMB more reliable?            01/01/70 00:00      
            I never hung            01/01/70 00:00      
               Hanging I2C            01/01/70 00:00      
                  No LCD drivers, no hotplug            01/01/70 00:00      
                  Hanging I2C, and freeing it again            01/01/70 00:00      
                     Me too!            01/01/70 00:00      
                        which confirm            01/01/70 00:00      
                           So you've never had to            01/01/70 00:00      
                              I tend to fix hardware shortcomings with            01/01/70 00:00      
                                 Like I said, lucky.            01/01/70 00:00      
                                    doing the impossible            01/01/70 00:00      
                                       Even a nice word for it!            01/01/70 00:00      
                              Look at the philips I2C bus muxes            01/01/70 00:00      
                                 That would make sense            01/01/70 00:00      
            No            01/01/70 00:00      
               For hot plug use SMB            01/01/70 00:00      
               differences SMB IIC            01/01/70 00:00      
   I2C with hang recovery            01/01/70 00:00      
    I2C bit banging: yes !            01/01/70 00:00      
      I see nobody "fighting"            01/01/70 00:00      
         Re Erik            01/01/70 00:00      
            WHO, in his/her right mind would use pol            01/01/70 00:00      
               Really ?            01/01/70 00:00      
                  never used the 552            01/01/70 00:00      
                     HW-I2C not identical !            01/01/70 00:00      
                        where did you gtet that impression?            01/01/70 00:00      
                           Nice            01/01/70 00:00      
                           Re: SW-I2C efficiency            01/01/70 00:00      
                              then the question is "when"            01/01/70 00:00      
                                 No illnes seen until today            01/01/70 00:00      
                                    well, I can't            01/01/70 00:00      
            Good point            01/01/70 00:00      

Back to Subject List