Problem breaks

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

Moderator: Benj

Post Reply
Emanuel Lourenco
Posts: 63
Joined: Mon Dec 23, 2013 5:51 pm
Been thanked: 8 times
Contact:

Problem breaks

Post by Emanuel Lourenco »

Good night

After successfully program my DSPIC33EP256MU806 found the following problem.
Whatever the pause time to insert the code it always takes the same time (5 seconds).
Know what I have wrong in my program?

Thank you
Attachments
Flowcode1_V6.fcfx
(4.24 KiB) Downloaded 220 times

EtsDriver
Posts: 444
Joined: Tue Apr 15, 2014 4:19 pm
Location: Kajaani, Finland
Has thanked: 345 times
Been thanked: 227 times
Contact:

Re: Problem breaks

Post by EtsDriver »

Good night to you!
Im not very familiar with the DSPIC family, but if i look at the datasheet and your configuration in project options, it seems that you have wrong clock speed on there.

Internal Oscillator 7.37 MHz, 32.768 kHz
Your config:
Image
Fixed file:
Image

Try this and tell the results?
Ill just keep the good work up!

Emanuel Lourenco
Posts: 63
Joined: Mon Dec 23, 2013 5:51 pm
Been thanked: 8 times
Contact:

Re: Problem breaks

Post by Emanuel Lourenco »

EtsDriver wrote:Good night to you!
Im not very familiar with the DSPIC family, but if i look at the datasheet and your configuration in project options, it seems that you have wrong clock speed on there.

Internal Oscillator 7.37 MHz, 32.768 kHz
Your config:
Image
Fixed file:
Image

Try this and tell the results?
Thanks for the reply

But now when I have a pause of 2s in the program, in practice I have 20s

EtsDriver
Posts: 444
Joined: Tue Apr 15, 2014 4:19 pm
Location: Kajaani, Finland
Has thanked: 345 times
Been thanked: 227 times
Contact:

Re: Problem breaks

Post by EtsDriver »

Do you use extrenal crystal? Is this problem reproduceable on another mcu of same type?

Make sure in config that there is no option like div osc by 8 or similar option checked?

Edit:
Take look at this message.
Ill just keep the good work up!

Emanuel Lourenco
Posts: 63
Joined: Mon Dec 23, 2013 5:51 pm
Been thanked: 8 times
Contact:

Re: Problem breaks

Post by Emanuel Lourenco »

EtsDriver wrote:Do you use extrenal crystal? Is this problem reproduceable on another mcu of same type?

Make sure in config that there is no option like div osc by 8 or similar option checked?

Edit:
Take look at this message.
Yes, I have a cristal 20 Mhz.

EtsDriver
Posts: 444
Joined: Tue Apr 15, 2014 4:19 pm
Location: Kajaani, Finland
Has thanked: 345 times
Been thanked: 227 times
Contact:

Re: Problem breaks

Post by EtsDriver »

Can you scope the crystal that it oscillates at 20MHz. And check that configuration words are right, i remember those were not configured to use extrenal xtal, if im right..
Ill just keep the good work up!

Emanuel Lourenco
Posts: 63
Joined: Mon Dec 23, 2013 5:51 pm
Been thanked: 8 times
Contact:

Re: Problem breaks

Post by Emanuel Lourenco »

Good morning,
From already thank you very
Problem solved. Was to remove the crystal and fix a parameter configuration.
thank you very much

Post Reply