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
Posted: Sun Jan 24, 2021 8:29 am
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.
All times are GMT - 6 Hours Goto page Previous1, 2
Page 2 of 2
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