×

Apparatus and method for sampling signals synchronous with analog to digital converter

  • US 5,544,064 A
  • Filed: 05/20/1994
  • Issued: 08/06/1996
  • Est. Priority Date: 05/20/1994
  • Status: Expired due to Fees
First Claim
Patent Images

1. In an electronic device including an analog to digital converter (ADC) having result registers and a central processor unit (CPU), the method consisting of the steps of:

  • a) providing a CPU program consisting of steps and loops,b) operating said ADC and CPU synchronously,c) continuously producing digital samples of analog signals every "t" cycles,d) storing said samples in said result registers,e) updating at least one of said result registers with new digital samples every "r" clock cycles, andf) reading said result registers integral multiples of "r'"'"'" clock cycles after said result registers are updated, wherein "r'"'"'" is not greater than "r",g) providing an ADC controller having continuous scan control bits, result register control bits, and input channel select bits,h) selecting analog signals by setting said input channel select bits,i) setting said continuous scan control bits to obtain ADC conversions in a continuous round robin fashion,j) directing digital samples to selected ones of said result registers by selection of said result register control bits, for sampling a selected analog signal on integral multiples of "t" clock cycles,k) adding do-nothing operations as required to make the run time for each step and each loop of said CPU program an integral multiple of "t" clock cycles, andl) obtaining samples of said selected analog signal by reading a selected result register during said steps and said loopsthereby maximizing the sampling rate of the selected analog signal and whereby said ADC and CPU programs operate synchronously to obtain digital samples of said analog signals.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×