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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/22/06 04:40
Read: times


 
#118829 - problem is ...
Responding to: ???'s previous message
I'm not sure there's a ready way for a PC to talk to a device interfaced with an 805x in mode-0.

There's no telling why Munaza Yousuf wants to use this type of interface, but with enough hardware support for the counters, he can make it run pretty fast, or, if he clocks things with his 805x, he can go slow. If he wants to go REALLY slowly, then he can bit-bang. He didn't say what his intended data rate will be. He hasn't said which version of the 805x he's using. If it's a four-clocker, he can probably do things in Mode 0, if that meets his rate requirement. We'll have to wait until he tells us, though.

I've already gone on at some length about the 805x's weaknesses in synchronous communication via mode-0. The standard 12-clockers can't do it at all, since the data rate is oscillator/12 and that's the instruction rate as well. There isn't time to turn a loop in which one either responds to an interrupt or checks the status of the RI or TI bits, moves a byte in the appropriate direction, and clears the RI or TI bit when you have only eight instruction cycles. This renders the classic Mode-0 serial channel useless for syncrhonous communication.

Maybe that's not what the O/P wants to do, however. Nonetheless, if he tells us what his requirements are, and how this particular hardware scheme satisfies it, then I imagine a solution can be found forthwith.

RE


List of 34 messages in thread
TopicAuthorDate
74hc595/597 connection with c51            01/01/70 00:00      
   Any available port pin            01/01/70 00:00      
   I'd suggest you read the datasheet            01/01/70 00:00      
      little more info as u require richard            01/01/70 00:00      
         start it simple and stupd            01/01/70 00:00      
   bit-bang            01/01/70 00:00      
      problem is ...            01/01/70 00:00      
         talking about standard '51...            01/01/70 00:00      
            That's why I want to "fix" it ...            01/01/70 00:00      
         there is'nt so why do you proselytize f            01/01/70 00:00      
            PC's are async, Mode-0 is not            01/01/70 00:00      
               I know that, but 99.17% of all '51 UART            01/01/70 00:00      
                  Do you know what UART means?            01/01/70 00:00      
                     A resounding NO. I use synchrono            01/01/70 00:00      
                        SPI??? Is that in the "bible"            01/01/70 00:00      
                           no, it is not - but it is a very well de            01/01/70 00:00      
                              You're well into nonsense, now, Erik            01/01/70 00:00      
                              you just ignore the real reason            01/01/70 00:00      
                                 This may be a valid topic, but not here.            01/01/70 00:00      
                                    Whenever you use shift registers for I/O            01/01/70 00:00      
                                       Doesn't SPI have a bunch of "features?"            01/01/70 00:00      
                                          yes, we ARE mixing, both threads touch s            01/01/70 00:00      
                                             I don't want to confuse the O/P ...            01/01/70 00:00      
                                                that would be wrong            01/01/70 00:00      
                                                   I think we've lost the O/P            01/01/70 00:00      
                           this may be the answer to your 'prayers'            01/01/70 00:00      
                              Thanks, but which prayers are those?            01/01/70 00:00      
                                 those for a fast synchronous communicati            01/01/70 00:00      
                                    I don't want to use a commercial chip            01/01/70 00:00      
                                       why not            01/01/70 00:00      
                                          If I want to use SPI, I'll build it in            01/01/70 00:00      
                  Do you know what UART means?            01/01/70 00:00      
                     ^%$#@! I didi it again!            01/01/70 00:00      
   Depends on your needs...            01/01/70 00:00      

Back to Subject List