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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/27/05 14:09
Modified:
  10/27/05 14:12

Read: times


 
#103034 - no and, please read the datasheet
Responding to: ???'s previous message
what P1.0 has to do here ????
MOV T2MOD,#02H


from the datasheet:
T2OE (TMOD.1) Timer 2 Output Enable bit.
....
T2 (P1.0): Timer/Counter 2 external count input/Clockout

How come, correct me if I am wrong but pin will not toggle at its own when TF is set and no action is taken.
WHAT PIN?
also, From the datasheet (Please, Oh, pretty please READ IT)
Auto-Reload Mode (Up or Down Counter)
The external flag EXF2 toggles when Timer 2 underflows or overflows. This EXF2 bit can be used as a 17th bit of resolution if needed. The EXF2 flag does not generate an interrupt in this mode of operation.

not pointing out typos
There should be NONE. Always use cut-and-paste. There is nothing more annoying than spending precious time trying to help someone by pointing out an error and then be told "oh, that's a typo".

Erik


List of 27 messages in thread
TopicAuthorDate
Timer 2 in AT89S8252            01/01/70 00:00      
   most often, a '51 datasheet does not            01/01/70 00:00      
      continuing the above            01/01/70 00:00      
   Timer 2 for PWM...            01/01/70 00:00      
      one caution            01/01/70 00:00      
   PWM example code:            01/01/70 00:00      
   Time 2 problem            01/01/70 00:00      
      you are missing this one            01/01/70 00:00      
         I think I have covered that            01/01/70 00:00      
            RCAP2            01/01/70 00:00      
               Program with changes but still problem            01/01/70 00:00      
                  RCAP2 wrong            01/01/70 00:00      
                     Still no good            01/01/70 00:00      
                        So where do you expect the interrupt to            01/01/70 00:00      
                           why enable UART interrupt??            01/01/70 00:00      
                              sorry, early morning here            01/01/70 00:00      
                                 Is it still too early?            01/01/70 00:00      
                                    no and, please read the datasheet            01/01/70 00:00      
            I highlighted "must be cleared by            01/01/70 00:00      
   Has anyone used it ?            01/01/70 00:00      
      the biggest sin            01/01/70 00:00      
         Are you sure?            01/01/70 00:00      
            Jan is right            01/01/70 00:00      
               so am I            01/01/70 00:00      
            No, of course the datsheets are just nov            01/01/70 00:00      
            the third sin            01/01/70 00:00      
               Does this work on anyone's simulator?            01/01/70 00:00      

Back to Subject List