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 support@ccsinfo.com

usage of mdd stack and RX/TX pins simultaneously

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



Joined: 20 Jul 2011
Posts: 375

View user's profile Send private message

usage of mdd stack and RX/TX pins simultaneously
PostPosted: Thu Jul 04, 2013 12:31 pm     Reply with quote

Greetings! I'm using MPlab v8.91, CCS v 4.134 and mdd stack v2012-06-22 (I have from CCS and it's perfect). I loaded the stack on 18F66J60, but I'm out of pins so I need to use RX/TX(C6/C7) pins as I/O pins. I don't know why but the mdd stack uses RS232. I commented the #use RS23 row and it continues to work fine but in spite of that it disturbs the I/O functions of pins C6 and C7. How can I deal with this problem?
Thanks!
Ttelmah



Joined: 11 Mar 2010
Posts: 19350

View user's profile Send private message

PostPosted: Fri Jul 05, 2013 3:19 am     Reply with quote

Most of these driver do not use RS232 _unless you have their debugging operation selected_.
There is usually a #define, enabling debugging, and if this is enabled, they will print diagnostic messages to the RS232.
You don't want to remove the #use RS232, instead REM out the line that enables this debugging operation, which then stops them using the RS232.

Best Wishes
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