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

Back to Subject List

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


 
#72268 - RE: Programmable Counter Array
Responding to: ???'s previous message
Shankaar G. wrote:
-------------------------------

( This means fosc/4, so how 3Khz can be set here )
MOV CMOD, #02H ; Clock input 4 250 nsec at 16 MHz


See PCA manual - Fosc/4 is divided by 255 at the minimum by the PCA setup for PWM.

( What does this do ? )
MOV CL, #00H ; Frequency of output 4 15.6 KHz
MOV CH, #00H

Set up 15.6 Khz output.

Table 4 PCA manual. If you don't believe it, try it.
( This does what ? )
MOV CCAP0L, #00H


8 bit counter = 128 = 50% CCAPOL should be 0
P19 PCA manual.


Steve

List of 20 messages in thread
TopicAuthorDate
Programmable Counter Array            01/01/70 00:00      
   RE: Programmable Counter Array            01/01/70 00:00      
      RE: Programmable Counter Array            01/01/70 00:00      
         RE: Programmable Counter Array            01/01/70 00:00      
            RE: (PCA) DOn't Understand            01/01/70 00:00      
               RE: (PCA) DOn't Understand            01/01/70 00:00      
            Steve what did u solve            01/01/70 00:00      
               RE: Steve what did u solve            01/01/70 00:00      
               RE: Steve what did u solve            01/01/70 00:00      
         RE: Programmable Counter Array            01/01/70 00:00      
   Steve M. Taylor            01/01/70 00:00      
   RE: Programmable Counter Array            01/01/70 00:00      
   No One Really knows            01/01/70 00:00      
   RE: Programmable Counter Array            01/01/70 00:00      
      RE: Programmable Counter Array            01/01/70 00:00      
         RE: Programmable Counter Array            01/01/70 00:00      
            RE: Programmable Counter Array            01/01/70 00:00      
            RE: Programmable Counter Array            01/01/70 00:00      
   RE: Programmable Counter Array            01/01/70 00:00      
   RE: Programmable Counter Array            01/01/70 00:00      

Back to Subject List