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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/11/09 19:52
Modified:
  05/11/09 20:31

Read: times


 
#165242 - Standard Async Serial (updated)
Responding to: ???'s previous message
Walter Adrián Quiroga said:
The comunication between the microcontroller and pc is through USB, I have used a FT232BM chip...


The USB is handled entirely by the FT232BM - therefore the 8051 is entirely oblivious to the fact that USB is involved!

[update]
Just as the PC software is oblivious: http://www.8052.com/forum/read/163388
[/update]


As far as the 8051 is concerned, it is a standard Async serial interface - and there are literally hundreds of examples of that all over the net! You can just ignore the details of RS232 levels, and concentrate on the async data itself.

Go to the FAQs on this very site - there is a whole section on Serial Communications;
In particular, see http://www.8052.com/faqs/120308 (just forget the RS232 specifics - the 8051 cannot tell the difference between a MAX232 and an FT232BM!).



List of 29 messages in thread
TopicAuthorDate
Command Processor            01/01/70 00:00      
   More detail required            01/01/70 00:00      
      Command Processor            01/01/70 00:00      
         Standard Async Serial (updated)            01/01/70 00:00      
         What is it that you need?            01/01/70 00:00      
            Command Processor            01/01/70 00:00      
               What compiler?            01/01/70 00:00      
                  Code to Get command            01/01/70 00:00      
                     Buffer overflow...            01/01/70 00:00      
                        Sorry            01/01/70 00:00      
                     did you retype the code?? ....            01/01/70 00:00      
                        This code is translated            01/01/70 00:00      
                           Alternative parsing            01/01/70 00:00      
                              Code to Get command            01/01/70 00:00      
                           wasteful            01/01/70 00:00      
               I would not do this in 'C'            01/01/70 00:00      
                  Thank you            01/01/70 00:00      
                     Assembler floating point?            01/01/70 00:00      
                        I didn't say he shouldn't use 'C' at all ...            01/01/70 00:00      
                  'C' may not be that bad            01/01/70 00:00      
                     Just this particular function would be very fast in ASM            01/01/70 00:00      
                        Maybe; maybe not...            01/01/70 00:00      
                           The opinion that assembler is faster than C            01/01/70 00:00      
                              In this case, speed isn't a big factor.            01/01/70 00:00      
                                 dead easy and it will not work if you do not            01/01/70 00:00      
                                    no (keil?) C will work if the main is in asm            01/01/70 00:00      
                                       What I was considering            01/01/70 00:00      
                  I WOULD write thsi in C            01/01/70 00:00      
                     Thta doesn't surprise me.            01/01/70 00:00      

Back to Subject List