Joined: 30 Aug 2007 Posts: 144 Location: South Africa
Setup tris when using rs232
Posted: Mon Nov 12, 2007 6:54 pm
Is it necessary to setup the tris of port c when using normal rs232 between 2 pics.
I am trying to communicate with another pic using rs232 but i can't get the coms going. I am using some of the other outputs of pin c for RF sending using a cc1000.
In the program they use fast io but to i need to insert that also in the receive side or can i just use the normal interrupt. I did get to other pics communicating but when i try it with the cc1000 pic it doesn't work.
On the oscilloscope there is a output from rc6.
mrpicing
Joined: 22 Oct 2005 Posts: 20
Posted: Tue Nov 13, 2007 2:25 am
You must use set_tris for serial port. I've seen problem with out using it.
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