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

dsPIC33FJ I/O ports problems [solved]

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



Joined: 17 Jan 2005
Posts: 8

View user's profile Send private message Send e-mail

dsPIC33FJ I/O ports problems [solved]
PostPosted: Wed Jul 13, 2011 5:25 am     Reply with quote

I'm using a dsPIC33FJ128GP706 and I use several pins like outputs. Pins C15, G6, G7 and G8 not works ok.

I configure them with TRIS C and G these pins like outputs.

I try to put high with output high and writing directly in registers PORTC, LATC, PORTG and LATG but is not possible.

I have 4.120 version.

With 4.084 version pin C15 works ok but port G no.

Thanks
mabd



Joined: 17 Jan 2005
Posts: 8

View user's profile Send private message Send e-mail

Solved
PostPosted: Wed Jul 13, 2011 7:11 am     Reply with quote

I've solved the problem.

Pin C15 not works because Fuses are wrong.

Pins G6-7-8 not works because with CCS SPI functions the SPI can't disable it. It's necessary to modify spi registers directly

Sorry
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