Hi!
I need some help with a 18f4525-I/P micro.
I programed a 16f877a with flowcode v3 and PPP v3, and I used
one LCD e-block on port B, one power board e-block on port D, using D0 to D3 outputs, one relay board
e-block on port E, using E0 output, some leds on port A,using A0,A1,A2,A3,A5, and switches on port C
using all eight inputs, also, I configured the pic on XTAL, and everything works fine!
But i have tried to compile the same program to an 18f4525-I/P micro, because I want to make a bigger
program, and the result I get is that the LCD donΒ΄t work, and the delays seems to be 100 times greater.
IΒ΄m new on that micro pic things, so, can you tell me how to configure this 18f4525-I/P to work in the
same way as the 16f877a?
I tried some expert configurations,on ppp and flowcode, but I get really, really lost.
Thank you!
16f877a program to 18f4525
- 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:
Re: 16f877a program to 18f4525
Hello
It sounds like a configuration setting problem eg no LCD and longer then expected delays. If you are using the crystal oscillator then check that the clock speed setting in Flowcode matches the crystal speed.
For normal operation you want to choose the HS oscillator and not the HS-PLL setting. Also make sure the watchdog, extended cpu and LVP settings are disabled.
It sounds like a configuration setting problem eg no LCD and longer then expected delays. If you are using the crystal oscillator then check that the clock speed setting in Flowcode matches the crystal speed.
For normal operation you want to choose the HS oscillator and not the HS-PLL setting. Also make sure the watchdog, extended cpu and LVP settings are disabled.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: 16f877a program to 18f4525
Thank you so much!!
I tried that config settings and it runs perfectly!
Have a nice day!
Nacho F.
I tried that config settings and it runs perfectly!
Have a nice day!
Nacho F.