Hi everyone,

I'm trying to understand a problem with a Pic16F630 equipped with a 16Mhz resonator (3 legs).
The very simple verification code is below.
The pulses delivered are 240msec for a command "PULSOUT PORTC.3, 100"!?
And the pulse result is the same if I delete the "DEFINE OSC 16" line !!?
(But the 200 pause is then reduced to 50 msec !)

I kept the factory OSCCAL value which IC-Prog copies to the right address.

I did not have this problem with a Pic16F84A...
What is my mistake or oversight?

Thank you in advance.

-----------------------------------------------------------
'**** CODE: *****
' TESTPIC16F630.PBP
' TEST PIC16F630 Pulsout Command

' Pic Specifications
@ Device Pic16F630,HS_osc, wdt_off, pwrt_on,protect_off, mclr_off
DEFINE OSC 16

' i/o Definition
'All OUTPUT
TRISA =0
TRISC =0
' All pins at Logic Low
PORTA = 0
PORTC = 0

Loop:
pulsout PORTC.3, 100
pause 200
Goto LOOP