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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/01/04 20:49
Read: times


 
#67783 - caliper interface int0 routine
Hi,

I've interfaced a chinese type digital caliper .
My 89C2051 running @ 24MHz should do the job according to Steve ...I found details about the bursts and I tried out my little routine.

every clock (falling edge) starts this:

inte0:__inc a....check the 24 clocks
________inc r0...destination for data
________jb p3.0,piu...if 'Data In' is H..
________mov @r0,#0...else
________reti
piu:____mov @r0,#1
________reti

execution time should fit within 6us as I have cycle
time of 0.5us

unfortunately the burst is difficult to trigger on my O'scope.
I would appreciate some hint to get data into my 24 registers (ideed not very elegant solution..but...)
Thank You
Edgar


List of 20 messages in thread
TopicAuthorDate
caliper interface int0 routine            01/01/70 00:00      
   RE: caliper interface int0 routine            01/01/70 00:00      
   RE: caliper interface int0 routine            01/01/70 00:00      
      RE: caliper interface int0 routine            01/01/70 00:00      
         RE: caliper interface int0 routine            01/01/70 00:00      
   RE: caliper Edgar:            01/01/70 00:00      
      RE: caliper Edgar:            01/01/70 00:00      
         RE: caliper Edgar:            01/01/70 00:00      
   RE: caliper interface int0 routine            01/01/70 00:00      
      RE: caliper interface int0 routine            01/01/70 00:00      
         RE: caliper interface int0 routine            01/01/70 00:00      
            RE: caliper interface int0 routine            01/01/70 00:00      
               RE: caliper interface int0 routine            01/01/70 00:00      
               RE: caliper interface int0 routine            01/01/70 00:00      
                  RE: caliper interface int0 routine            01/01/70 00:00      
                  RE: caliper interface int0 routine            01/01/70 00:00      
                     RE: caliper interface int0 routine            01/01/70 00:00      
   RE: caliper interface int0 routine            01/01/70 00:00      
      RE: caliper interface int0 routine            01/01/70 00:00      
   RE: caliper interface working            01/01/70 00:00      

Back to Subject List