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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/10/10 10:54
Read: times


 
#177215 - No USB without USB protocol
Responding to: ???'s previous message
Sorry, but USB is talking a protocol. The USB driver in your PC is expecting the device to communicate using this protocol.

So you can't just have the PC send ones or zeroes on the D+ and D- lines and have external logic pick up the transitions and drive external data. You really do need a device supporting USB. Yes, there does exist at least one AVR project with bitbanged USB, but forget about that route - the AVR chip is quite fast so you can't buy the cheapest 8051 chips if trying to match the behaviour.

Bit-banging requires you to have something where the PC can toggle signals on command. The closest you get with a PC is the interface for measuring voltages, temperatures, fan RPM etc. Or you need to buy a PCI board with a printer interface or serial interface. Or get some old PC where you can place your own electronics on the PC or ISA buses and potentially sidestep the OS and instead boot MS-DOS and control the barebone hw directly from your code.

A PC with a speaker output could allow you to toggle the speaker signal, but that is just a single bit so no good for data and clock.

List of 44 messages in thread
TopicAuthorDate
USB to IIC cable            01/01/70 00:00      
   http://i2cchip.com/ ?            01/01/70 00:00      
   FTDI?            01/01/70 00:00      
   Proper test tools            01/01/70 00:00      
   clarification            01/01/70 00:00      
      no, I have no experience with what I wrote above            01/01/70 00:00      
      TotoalPhase - Aardvark            01/01/70 00:00      
         Aardvark            01/01/70 00:00      
            That should be harmless            01/01/70 00:00      
               Unless you're an ant or termite            01/01/70 00:00      
            Aardvark Today            01/01/70 00:00      
         could you explain a bit further            01/01/70 00:00      
            Re: could you explain a bit further            01/01/70 00:00      
         Aardvark....            01/01/70 00:00      
      I have used MCC            01/01/70 00:00      
         Now I used it            01/01/70 00:00      
   without IC            01/01/70 00:00      
      "easy" ?            01/01/70 00:00      
         No need IC            01/01/70 00:00      
         like this            01/01/70 00:00      
            can (peobably) be done, but            01/01/70 00:00      
            Not a great idea!            01/01/70 00:00      
               "Microcontrollers with USB and I2C are now common"            01/01/70 00:00      
                  elaborating            01/01/70 00:00      
            Bit Bang on Serial Port            01/01/70 00:00      
               my opinion expressed by editing the above            01/01/70 00:00      
               remote area..            01/01/70 00:00      
                  No USB without USB protocol            01/01/70 00:00      
                     with minimum MCU            01/01/70 00:00      
                        Forget about it - no bitbanged USB!            01/01/70 00:00      
                        Additonal Comments            01/01/70 00:00      
                           budget and stock            01/01/70 00:00      
                              Silabs C8051F326            01/01/70 00:00      
                                 the package            01/01/70 00:00      
                                    ease of soldering            01/01/70 00:00      
                                       re: ease of soldering            01/01/70 00:00      
                                          handmade            01/01/70 00:00      
                                          Good yield            01/01/70 00:00      
                                             always possible to machine solder at near 100% yield            01/01/70 00:00      
                                                Important proviso            01/01/70 00:00      
                                             Better subcontractor            01/01/70 00:00      
                           found but..            01/01/70 00:00      
                              Found what?            01/01/70 00:00      
                                 reffering            01/01/70 00:00      

Back to Subject List