Yes 9600 inverted and the same line works correctly on other PIC types I have tried, its only with the 12F1840 it doesnt
Yes 9600 inverted and the same line works correctly on other PIC types I have tried, its only with the 12F1840 it doesnt
if you cant check clock with frequency meter.......... add in loop once per second (on serout) increment or decrement osctune to see if characters come in view then try to figure about how far off and in what direction (raise/lower freq)
amgen
Try Turning off the fail safe clock monitor, if I understand correctly it monitors an EXTERNAL clock. . .
I would TRY altering bit 1 in OSCON just to see if it has any effect . . .
I would add to config1
_IESO_OFF ; Internal/External Switchover mode is disabled
and I would disable WDT while troubleshooting at least once to judge if it has any effect.
Oh yes, I would make a blinky program to test my configs without any serouts . . . a stopwatch using a blinky will give you a rough idea as to whether or not you are running at expected OSC speed.
Last edited by Archangel; - 12th February 2015 at 22:15.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Hi All
I LED on the same pin configured to blink once per second, does just that so I am pretty sure some configs are right. I`ll try the last suggestions and see before I put in a support message. Many thanks for all the help! Cheers Pete
Hi Pete,
Do you think trying to use timer 1 and trying to output serial data on T1 Clkin pin might be in conflict? I don't know, just sayin' . . . Have you tried using another pin, say RA1?
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
That's possible, I am not using timer 1 though so I will look to disable it. Unfortunately this is a PIC upgrade from a 12F683 so I am stuck with using the same pins for this app. I've sent a support question to MELabs and I`ll post the findings. Many thanks!
Bookmarks