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

Search found 7 matches
CCS Forum Index
Author Message
  Topic: Software uart works, not hardware uart-Solved
dhenson

Replies: 12
Views: 13342

PostForum: General CCS C Discussion   Posted: Tue Jun 10, 2008 3:16 pm   Subject: Software uart works, not hardware uart-Solved
Thanks Ttelmah.

Confirmed wiring on the max233.

I re-wired the thing with a max232 and recycled some 1uf caps from an old vcr I had sitting around. I am now getting 5V out with every keypress, ...
  Topic: Software uart works, not hardware uart-Solved
dhenson

Replies: 12
Views: 13342

PostForum: General CCS C Discussion   Posted: Tue Jun 10, 2008 2:16 pm   Subject: Software uart works, not hardware uart-Solved
So in looking at the scope, my max 233 chip is receiving 20volts when I tap a key, but only giving me 1.8 volts out. I suspect this is just enough to drive a digital i/o pin in software, but not enou ...
  Topic: Software uart works, not hardware uart-Solved
dhenson

Replies: 12
Views: 13342

PostForum: General CCS C Discussion   Posted: Tue Jun 10, 2008 1:17 pm   Subject: Software uart works, not hardware uart-Solved
Thanks PCM!

Your effort is greatly appreciated, and helps me know which direction to look.

I suppose it could also be a noise problem or other electrical problem like capacitance. I am currentl ...
  Topic: Software uart works, not hardware uart-Solved
dhenson

Replies: 12
Views: 13342

PostForum: General CCS C Discussion   Posted: Tue Jun 10, 2008 11:48 am   Subject: Software uart works, not hardware uart-Solved
Ttelmah: wasn't aware of the timing differences for the hardware and software getc(). I'll scope it out and try to make some sense of it. My hobbyist usb bitscope seems to be disturbing the signal q ...
  Topic: Software uart works, not hardware uart-Solved
dhenson

Replies: 12
Views: 13342

PostForum: General CCS C Discussion   Posted: Tue Jun 10, 2008 11:44 am   Subject: Software uart works, not hardware uart-Solved
Ttelmah: good idea. Same symptoms exactly when I use the force_sw switch. Did you really mean I rule IN the uart if this it worked? In any case, it didn't work, which makes me think it is something ...
  Topic: Software uart works, not hardware uart-Solved
dhenson

Replies: 12
Views: 13342

PostForum: General CCS C Discussion   Posted: Mon Jun 09, 2008 11:37 pm   Subject: Software uart works, not hardware uart-Solved
Thanks PCM.

Everything looks good with the connections from what I can tell. I even tried two different serial cables.

Also, these same connections work when I simply move the connection betwee ...
  Topic: Software uart works, not hardware uart-Solved
dhenson

Replies: 12
Views: 13342

PostForum: General CCS C Discussion   Posted: Mon Jun 09, 2008 10:28 pm   Subject: Software uart works, not hardware uart-Solved
Hi people. Thanks for the great forum.

I am going nuts trying to read a character from the hardware uart.

Code below, compiler version Version 4.039, 39089. Works fine on any arbitrary pin exc ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group