Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4923

Timer 1 not running on PIC18F27J13

$
0
0
I can't seem to get timer 1 working with an external osc on timer 1 on a PIC18F27J13 . Code works fine with the internal clock.

I have a 32768 crystal across T1OSO and T1OSI with a 12pf cap going to ground just as specified in the datasheet. I have a DIP package so the crystal is between pins 11 and 12.



Any idea what could be wrong?



Code (Text):
  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9. // PIC18F27J13 Configuration Bit Settings
  10.  
  11. // 'C' source line config statements
  12.  
  13. // CONFIG1L
  14. #pragma config WDTEN = OFF  // Watchdog...
Timer 1 not running on PIC18F27J13

Viewing all articles
Browse latest Browse all 4923

Trending Articles