Page 2 of 2

Re: Uart RX to 2 TX

Posted: Wed Aug 09, 2017 3:13 pm
by medelec35
You will need to disable PLL x 4
You will need to make sure timing is correct by creating a one second flasher.
I do that for all my new projects first.

Also the image shows

Code: Select all

OSCCON=0x80;
and not

Code: Select all

OSCCON=0X70;
With that and image looks like Flowcode V7 I'm going to move this thread to V7 section.

Martin

Re: Uart RX to 2 TX

Posted: Wed Aug 09, 2017 10:22 pm
by kabouras_33
I already confirmed the 1sec flasher but I will try again tomorrow.
OSCOON=0X70 was my original but I changed in order to achieve 10MHz but both made no difference...
Tomorrow I will disable pllx4 and try again!!
Please do not move the topic because I own fc6 I just download demo 7 to try and see.
I will continue with 6 again from now sorry for the mix up! :D

Re: Uart RX to 2 TX

Posted: Tue Aug 15, 2017 10:00 pm
by kabouras_33
So after a lot of trial and error i found my problem which you all ofcourse clearly point me too and i DEEPLY DEEPLY thank you very much.
It was the configuration settings and the crystal.
After some testings with a 16f877a i found that HS and 4MHz setting and crystal should be used.
I tranfer this settings to the 18f46k80 and it worked like a charm!!!
You are all great thank you all!!!