Clock speed

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
echase
Posts: 429
Joined: Mon Jun 11, 2007 11:55 am
Has thanked: 49 times

Clock speed

Post by echase »

For low power operation on a 16F876 I need a clock speed of about 32 kHz (watch crystal). There does not seem to be any setting in Flowcode below 1MHz no matter whether the clock type is XT, RC etc. How can I set 32 kHz?

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Post by Benj »

Hello

If you use the Chip menu and assign XT mode and also set the clock speed to 32000 then this should all compile and run ok.

echase
Posts: 429
Joined: Mon Jun 11, 2007 11:55 am
Has thanked: 49 times

Post by echase »

I beg to differ. Whatever mode is set, including XT, the range of frequencies is only 1 - 20 MHz. Is this a limitation of Flowcode student version?

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Post by Steve »

You should be able to type anything into the box for clock speed. The list in that drop-down menu is just for typical values.

echase
Posts: 429
Joined: Mon Jun 11, 2007 11:55 am
Has thanked: 49 times

Post by echase »

Ah, you are right!

Post Reply