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

Software UART in IC pins???

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



Joined: 16 Apr 2009
Posts: 18
Location: Spain

View user's profile Send private message

Software UART in IC pins???
PostPosted: Mon May 11, 2009 9:34 am     Reply with quote

Hello everybody.

I'm working with a PIC 18F4550 (44-pin TQFP). This MCU has a special ports called:
ICPGC, ICPGD useful to program the device. In my aplication I program a software serial bus in RB6 and RB7 pins so I can send device information using the program connector. The problem is I need more pins and I'm thinking in use those special pins to program the device, but... Will be possible to program a software UART in those pins???? It seems it isn't possible... any of yours have tried this????

Thank you in advance, bye¡¡

PD: Sorry for my english¡ Confused
Ttelmah
Guest







PostPosted: Mon May 11, 2009 10:01 am     Reply with quote

No.
If you look at the pin diagrams, every pin, has listed against it, everything that it can be connected to. So a pin like RB0, has:

RB0/AN12/INT0/FLT0/SDI/SDA

Showing you that this one pin, can according to chip configuration, be connected to RB0 (normal digital port), AN12 (the twelfth analog input), INT0 (interrupt), FLT0 (PWM fault input), SDI (SPI data input), and SDA (I2C data).

Now, the ICSP pins, have _no normal digital I/O function associated with them_. So you can do nothing at all with these pins, except use them for ICSP, or in circuit debugging. On the 40 pin packages, these functions require you to sacrifice I/O pins, on the 44 pin chips, the pins are separated, but the number of actual I/O ports in the chip remains the same.

You can not do anything in the way of I/O with these pins.

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