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 CCS Technical Support

PIC18F6722 to PIC18F67K22 migration

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
heliodoro.alegre



Joined: 20 Nov 2013
Posts: 6

View user's profile Send private message

PIC18F6722 to PIC18F67K22 migration
PostPosted: Fri Feb 21, 2014 6:54 am     Reply with quote

I have updated a board from PIC18F6722 to PIC18F67K22

PORT_C does not work.
I have all pins as output. In PIC18F6722 worked correctly
but in PIC18F67K22 PIN_C0, PIN_C1 seems configured as
input, or oscillator, but do not output.

I have tried to solve with:

#FUSES INTRC_IO // Internal RC Osc
#use FIXED_IO (c_outputs=PIN_C0, PIN_C1, PIN_C2, PIN_C3, PIN_C4, PIN_C5, PIN_C6, PIN_C7) // leds

I think new features in PIC18F67K22 are interfering IO function.
What #fuses #use setup_?? is needed in PIC18F67K22 with
compiler version 4.114 to use PIN_C0 and PIN_C1 as output?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Feb 21, 2014 7:08 am     Reply with quote

See this thread about the SOSC_DIG fuse:
http://www.ccsinfo.com/forum/viewtopic.php?t=48306
Fabri



Joined: 22 Aug 2005
Posts: 275

View user's profile Send private message

PostPosted: Tue Mar 25, 2014 3:24 pm     Reply with quote

Thanks PCM programmer... now it's work. I did search in forum but I didn't found nothing so I ask help. I'll study better this configuration.

Regards,
Fabri
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
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