Uart RX to 2 TX

An area to discuss 8-bit PIC specific problems and examples

Moderator: Benj

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Uart RX to 2 TX

Post 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
Martin

kabouras_33
Posts: 128
Joined: Thu Jul 27, 2017 5:23 am
Has thanked: 8 times
Been thanked: 8 times
Contact:

Re: Uart RX to 2 TX

Post 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

kabouras_33
Posts: 128
Joined: Thu Jul 27, 2017 5:23 am
Has thanked: 8 times
Been thanked: 8 times
Contact:

Re: Uart RX to 2 TX

Post 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!!!

Post Reply