Hi Rob,

Just a follow-up about setting PLL on 18F27J53. It works using "pragma
target PLLEN P4". And it also works using OSCTUNE register (OSCTUNE_PLLEN =
on). PLL requires 2ms before being stable. Clock diagram in datasheet show a
XOR gate between PLLEN fuse (termed CFGPLLEN in datasheet) and
OSCTUNE_PLLEN. But enabling both also works... Finally, sample codes from
Microchip doesn't use CFGPLLEN (fuse) but prefer act on OSCTUNE_PLLEN.

Is it better to use OSCTUNE ? Can PLL be enabled at runtime ? (I read
something about differences with this chip regarding, but can't remember
what and where exactly). Should we do the same as Microchip ?

Just some more thoughts...

Cheers,
Seb

2011/3/28 Rob Hamerling <[email protected]>

>
> Hi Seb,
>
>
> On 2011/03/28 15:23, Sebastien Lelong wrote:
>
>
>>    Looks like this needs a program to update the PK2devicefile.dat! But
>>    that isn't mentioned. I have seen it in the past, it may be on my
>>    disk(s) somewhere!
>>
>>
>> The second link (170KB) is working out of the box using PicKit 2.61
>> under Windows. In order to use pk2cmd under Linux, you'll need to modify
>> app_cmd.h (IIRC). I can find a thread about this if you like.
>>
>
> I downloaded that PKdDevideFile.dat and yes, it works (with the MicroChip
> Windows software). That will do for me. Since I have a PicKit3 available I
> use the Pickit2 only seldomly.
>
>
>
>  Mmmh.... I read PicKit3 can adjust Vpp programming voltage, but not
>> PicKit2. Still it's working... don't know how long...
>>
>
> I don't know if Pickit2 cannot adjust Vpp. It can adjust Vdd, probably
> based on the family. I suppose it adjusts Vpp as well based on the family. I
> see no user-option to adjust Vpp neither for Pickit2 nor Pickit3 (in the
> support programs of Microchip).
>
>
> Regards, Rob.
>
> --
> R. Hamerling, Netherlands --- http://www.robh.nl
>
> --
> You received this message because you are subscribed to the Google Groups
> "jallib" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/jallib?hl=en.
>
>


-- 
Sébastien Lelong
http://www.sirloon.net
http://sirbot.org

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to