anboli
Full Member level 2
- Joined
- Mar 9, 2012
- Messages
- 144
- Helped
- 4
- Reputation
- 8
- Reaction score
- 4
- Trophy points
- 1,298
- Activity points
- 2,513
hi,
im using CCS compiler and mplab8.85 tool and controller is 16bit.
i had configured 64pins as input in the IC and 48 pin as output. In that some of the input pins are working quite. but some of the following pin making trouble. its not configuring as input in the port but in directional register its changing.
working pins:
RJ4
RJ5
RJ6
RJ7
RG12
RE3
RE6
RJ8
RJ9
RJ10
RJ11
RC1
RJ12
not working pin:
RB3
RB5
RE9
RE8
RG9
RC4
RC3
RC2
RE7
RE5
RG15
RE1
RE2
RE4
RB0
RB1
RB2
RE0
RA7
these are all the pins getting trouble.
for example the pin RA7 maked as input by using its directional register as TRISA = 0x0603. but the bit RA7 is not getting high, its always in low condition.
what i have to do now? whether its having some other register to configure as input.
im using CCS compiler and mplab8.85 tool and controller is 16bit.
i had configured 64pins as input in the IC and 48 pin as output. In that some of the input pins are working quite. but some of the following pin making trouble. its not configuring as input in the port but in directional register its changing.
working pins:
RJ4
RJ5
RJ6
RJ7
RG12
RE3
RE6
RJ8
RJ9
RJ10
RJ11
RC1
RJ12
not working pin:
RB3
RB5
RE9
RE8
RG9
RC4
RC3
RC2
RE7
RE5
RG15
RE1
RE2
RE4
RB0
RB1
RB2
RE0
RA7
these are all the pins getting trouble.
for example the pin RA7 maked as input by using its directional register as TRISA = 0x0603. but the bit RA7 is not getting high, its always in low condition.
what i have to do now? whether its having some other register to configure as input.