UART 2 issue on EasyPIC Pro v7

General discussion on mikroElektronika development boards.
Post Reply
Author
Message
divivoma
Posts: 20
Joined: 12 Dec 2013 19:15

UART 2 issue on EasyPIC Pro v7

#1 Post by divivoma » 15 Jul 2015 11:09

Hello All,

First of all I describe my hw:

-EasyPIC pro v7 with the standard micro sold with the dev board
- I saw that the micro pcb has a 16MHz quartz

I've tried the example code of the UART 2 (with RS 232 not via USB) but I read wrong characters.

I've already set up the DIP switch properly in order to set only UART 2 and not 1.

Is there any changes to do in the project config?

Thank you for any comments.

Marco
Attachments
setup.PNG
setup.PNG (50.69 KiB) Viewed 1212 times

p.erasmus
Posts: 3391
Joined: 05 Mar 2009 10:28

Re: UART 2 issue on EasyPIC Pro v7

#2 Post by p.erasmus » 15 Jul 2015 19:32

If your board has a 16 Mhz Crystal then you should set the OSC frequency to 16 000000 not 8 000000 as in your config
Attachments
15.07.jpg
15.07.jpg (167.7 KiB) Viewed 1200 times
P.Erasmus
Saratov,Russia
--------------------------------------------------------------

Post Reply

Return to “Development Boards”