Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Pic18f25q10 osccon1 settings swordfish basic

Toggle a pin without delay looked at the instruction cycle in the ASM then measured it with my logic tool to see if they matched a 64 MHz clock they don’t the period was 1.5 MHz
 
Yes so going by that the period for asm toggle should be 4 mhz so the clock is not running at 64 MHz it running at half that
 
There is a setting for high speed, internal clock to run a 64 Ian said that fixed it on some xc8 code
In pill I’ve not tried it out
 

Latest threads

New Articles From Microcontroller Tips

Back
Top