Recent Changes - Search:

Introduction to Microcontroller Programming

About PICmicro Chips

Clocking Your PICmicro Devices

E-Blocks

Flowcode Step By Step

PICmicro Projects

Labs

Clock Confusion

<^< Clock Settings | Course Index | Introduction to E-blocks >^>

You need to make clock option settings in two places: within Flowcode using Build > Project Options... > Configure and on your hardware.

This is an area for potential confusion: if you configure the PICmicro device for one kind of clock oscillator circuit, but connect a different external circuit, then your PICmicro device will not oscillate, and you will be lulled into thinking that your program does not work.

If your program does not work then the first thing you should do is check your clock settings on the hardware and within Flowcode.

Here are some rules of thumb:

HP488 Development board users:

With the Oscillator Selection in PPP in HS (or XTAL on the simple configuration screen) then make sure that SW2 on the HP488 development board is switched into the XTAL position. With the Oscillator Selection in PPP in EXTRC as Clock Out (or RC on the simple configuration screen) then make sure that SW2 on the HP488 development board is switched into the RC position.

For more information on the HP488 board click here.

EB006 Multiprogrammer board users:

With the Oscillator Selection in PPP in HS (or XTAL on the simple configuration screen) then make sure that S2 on the EB006 Multiprogrammer board is switched into the XTAL position. With the Oscillator Selection in PPP in 'EXTRC as Clock Out' (or RC on the simple configuration screen) then make sure that S2 on the EB006 Multiprogrammer board is switched into the RC position.

For more information on the EB006 board click here.

Also: turn the Watchdog timer off.

Note that in RC mode you will also need to set the Fast/Slow switch but this is not dependant on any setting you make in PPP.

<^< Clock Settings | Course index | Introduction to E-blocks >^>

Print - Search - Login

Page last modified on May 13, 2013, at 01:05 PM