uart of dspic30f6010a

General discussion on mikroC for dsPIC30/33 and PIC24.
Post Reply
Author
Message
yem
Posts: 9
Joined: 02 Dec 2007 19:28

uart of dspic30f6010a

#1 Post by yem » 22 Jul 2008 17:39

hello
I would like to send and receive a data using UART of the DSPIC306010A
I do it successfully with an other dspic30F2010 and an pic24, but when I passed to this new device (30f6010A) if I send a one byte like 0, I receive -8, 1/-7, 2/-6, 3/-5,4/-4, 5/-3, 6/-2,7/-1, then 8/8,9/9,10/10......15/15, 6/24,17/25,....,
(data sent/data received).
is their any significant information in this kind of dspic or, my program is wrong.

stuckie27
Posts: 1
Joined: 02 Nov 2008 22:22

#2 Post by stuckie27 » 02 Nov 2008 22:24

Make sure you have all of the clock setting correct, and that your main program clock setting is correct.

I ran into this issue last night.

The code should be the same if you are using the examples given by mikro.

Post Reply

Return to “mikroC for dsPIC30/33 and PIC24 General”