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

Back to Subject List

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


 
#82687 - reply of queries
Responding to: ???'s previous message

but why, why, why, do you manipulate with registers directly from C-language???
ACC = DPL;
SPDR = ACC;


I have used C language, obviously!! I am compiling my program using Keil software and it takes care of all the registers. Moreover I had made the above instruction like so because in instruction set I found that I can't load SPDR (SPI data register) unsig other registers exept accumulater.


X1 and X2 of crystal..........


I have used 16MHz crystal along with coupling capacitor. But I don't write these kind of basic points.


reset connection.....


One more silly question regarding reset. I have connected reset with a 10K resistor and a switch. Whenever I press switch micro's reset pin get high receiving reset else it is grounded by 10K resistor.

Now please respond positively and take me out of this hell.

List of 20 messages in thread
TopicAuthorDate
has anybody used SPI            01/01/70 00:00      
   more details please            01/01/70 00:00      
      details            01/01/70 00:00      
         missing code?            01/01/70 00:00      
         How to post code            01/01/70 00:00      
   The story so far?            01/01/70 00:00      
   no solution            01/01/70 00:00      
      all is replied above            01/01/70 00:00      
      So you want a solution?            01/01/70 00:00      
         code and schematic            01/01/70 00:00      
            unconnected reset?            01/01/70 00:00      
            How about some clocking ??            01/01/70 00:00      
            Code still illegible!            01/01/70 00:00      
            is it C-language?            01/01/70 00:00      
               reply of queries            01/01/70 00:00      
                  complaining            01/01/70 00:00      
                  Do you want to be helped?            01/01/70 00:00      
                     Watch window in Keil            01/01/70 00:00      
                        Registers window in Keil            01/01/70 00:00      
   EA            01/01/70 00:00      

Back to Subject List