CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

pic24fj128ga202 uart issues. [Solved]
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
temtronic



Joined: 01 Jul 2010
Posts: 9105
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sun Jan 24, 2021 7:50 am     Reply with quote

When doing ANY 'serial' communications, I always connect to a PC with Realterm to verify the PIC can send and receive data as expected BEFORE connecting the 'other' serial device.
This basic test is done after the '1Hz LED' program has verified the PIC does run...
Ttelmah



Joined: 11 Mar 2010
Posts: 19221

View user's profile Send private message

PostPosted: Sun Jan 24, 2021 8:29 am     Reply with quote

The B4 one is almost certainly that you need the fuse SOSC_DIG. Needed
if you want to use the SOSC pins for normal I/O. This affects A4 as well.

There is nothing at all stopping B6 from being a normal I/O pin. Are you
sure there is not a connection problem (short on the pin or something has
applied a voltage to it it cannot take). There is nothing at all about that chip
stopping B6 from working. Many other people here have used them fine.
I've got three of the FJ64's running here at the moment...

Check the fuses the code is generating. Check that it isn't defaulting to
ICS 01. If this is happening, B6, is PGC3, and this has priority over every
other function.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group