heliodoro.alegre
Joined: 20 Nov 2013 Posts: 6
|
PIC18F6722 to PIC18F67K22 migration |
Posted: Fri Feb 21, 2014 6:54 am |
|
|
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? |
|