CPU/Crossbar/GPIO/JTAG/Package
  using uart0 assigned port pins to gpio

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   using uart0 assigned port pins to gpio
krishnahari.pg
Member
posted September 04, 2010 12:53 AM     Click Here to See the Profile for krishnahari.pg   Click Here to Email krishnahari.pg     Edit/Delete Message
hi

In my project i used F120.
configured as
uart0,spi,smbus,uart1 in sequence its working fine,PCB also designed.

now i don't want uart0.can i use those two pins for GPIO remains as same in PCB.

is it possible?
give an idea to work on it.

regards
hari

IP: Logged

Scotty
Member
posted September 04, 2010 04:16 AM     Click Here to See the Profile for Scotty     Edit/Delete Message
Hi krishnahari.pg,

now i don't want uart0.can i use those two pins for GPIO remains as same in PCB.
I don't think it's possible because the F120 doesn't support pin skipping. You must leave UART0 enabled by crossbar, otherwise the other pin functions will shift.

Regards,

Scotty

IP: Logged

erikm
Member
posted September 04, 2010 06:11 AM     Click Here to See the Profile for erikm   Click Here to Email erikm     Edit/Delete Message
I don't think it's possible because the F120 doesn't support pin skipping. You must leave UART0 enabled by crossbar, otherwise the other pin functions will shift.


it is not possible because the F120 doesn't support pin skipping. You must leave UART0 enabled by crossbar, otherwise the other pin functions will shift.

IP: Logged

krishnahari.pg
Member
posted September 04, 2010 06:18 AM     Click Here to See the Profile for krishnahari.pg   Click Here to Email krishnahari.pg     Edit/Delete Message
hi

I tried it both pins as inputs.
whatever change in port pin status i was updated.

but pins as output not working.

is this method is correct?

thanks
hari

IP: Logged

erikm
Member
posted September 04, 2010 06:39 AM     Click Here to See the Profile for erikm   Click Here to Email erikm     Edit/Delete Message
I tried it both pins as inputs.
whatever change in port pin status i was updated.

that is how it is, but BEWARE you need manually to massage the configuration so that (the former) TxD is NOT push-pull.

but pins as output not working.
RTFM. Also, if you do not set them high, forget about using them as input

is this method is correct?
if you consider a workaround 'correct', then yes

Erik

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | MCU User Forum

Have you seen our MCU Knowledge Base?


Ultimate Bulletin Board 5.47b