| View previous topic :: View next topic |
| Author |
Message |
tranz
Joined: 10 Feb 2007 Posts: 78
|
|
Posted: Fri Aug 15, 2008 8:51 am |
|
|
Yes I had performed the tests mentioned, I disconnected the two pics and checked the rate at which the data was sent. The 18F was throwing the data twice as fast than the 16F.
But I used the same code as before, just that put 10 sec delays on both of the PICs, and noted the time difference. |
|
 |
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
|
|
Posted: Fri Aug 15, 2008 9:00 am |
|
|
We already knew one board is faster than the other, but which board is wrong? Is the PIC16 too slow or is the PIC18 too fast?
Most likely the 4xPLL circuit in the PIC18 is causing problems. Have you tried my suggested test of using the internal oscillator? This is easy to do as it requires only a software change. |
|
 |
tranz
Joined: 10 Feb 2007 Posts: 78
|
|
Posted: Fri Aug 15, 2008 10:33 am |
|
|
Well, the data that I am sending via 18F is being received on the 16F...so I think changing the baud rate solved the problem. Since both the micros are running on different clock speeds.
No I have not tried that as of yet,since I thought it was working and there was no need to check it further, I will check it with the internal oscillator once I am done with the other side of the project. Will keep this thread posted with the latest.
Thanks for the suggestions
Much appreciated. |
|
 |
|