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
Problem breaks
Moderator: Benj
-
- Posts: 63
- Joined: Mon Dec 23, 2013 5:51 pm
- Been thanked: 8 times
- Contact:
-
- 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
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:
Fixed file:
Try this and tell the results?
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:
Fixed file:
Try this and tell the results?
Ill just keep the good work up!
-
- Posts: 63
- Joined: Mon Dec 23, 2013 5:51 pm
- Been thanked: 8 times
- Contact:
Re: Problem breaks
Thanks for the replyEtsDriver 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:
Fixed file:
Try this and tell the results?
But now when I have a pause of 2s in the program, in practice I have 20s
-
- 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
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.
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!
-
- Posts: 63
- Joined: Mon Dec 23, 2013 5:51 pm
- Been thanked: 8 times
- Contact:
Re: Problem breaks
Yes, I have a cristal 20 Mhz.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.
-
- 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
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!
-
- Posts: 63
- Joined: Mon Dec 23, 2013 5:51 pm
- Been thanked: 8 times
- Contact:
Re: Problem breaks
Good morning,
From already thank you very
Problem solved. Was to remove the crystal and fix a parameter configuration.
thank you very much
From already thank you very
Problem solved. Was to remove the crystal and fix a parameter configuration.
thank you very much