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 6 matches
CCS Forum Index
Author Message
  Topic: UART Problem
TargetBusy

Replies: 17
Views: 44837

PostForum: General CCS C Discussion   Posted: Sun Jan 22, 2012 10:05 pm   Subject: UART Problem
I just don't think CCS has it all working on the 12F1840. If you have
4.128, and you recently bought it, then you should be able to ask CCS to
add hardware UART support, and #pin select support i ...
  Topic: UART Problem
TargetBusy

Replies: 17
Views: 44837

PostForum: General CCS C Discussion   Posted: Sun Jan 22, 2012 6:37 pm   Subject: UART Problem
Update on the troubleshooting to Ttelmah's suggestions.

This code:

#byte APFCON=getenv(SFR:APFCON)

gave me an "Expression must evaluate to a constant" error.


bit_c ...
  Topic: UART Problem
TargetBusy

Replies: 17
Views: 44837

PostForum: General CCS C Discussion   Posted: Sun Jan 22, 2012 6:08 pm   Subject: UART Problem
I tested all four combinations of the Tx/Rx pins on the 12F1840, and the compiler generated a software UART for all of them. I also tried using "UART1" instead of specifying the pins. It s ...
  Topic: UART Problem
TargetBusy

Replies: 17
Views: 44837

PostForum: General CCS C Discussion   Posted: Sat Jan 21, 2012 11:44 pm   Subject: UART Problem
Post your compiler version, because as Ttelmah said, there may be
problems in your version. The version is a 4 digit number, like 4.128, etc,
and it's given at the top of the .LST file, which will ...
  Topic: UART Problem
TargetBusy

Replies: 17
Views: 44837

PostForum: General CCS C Discussion   Posted: Sat Jan 21, 2012 5:31 pm   Subject: UART Problem
Thank you Ttelmah,
Worth the effort but I'm in square zero again. It didn't work.

The fact that this PIC has its own EUSART module is the clue that this feature works in a different way than usin ...
  Topic: UART Problem
TargetBusy

Replies: 17
Views: 44837

PostForum: General CCS C Discussion   Posted: Sat Jan 21, 2012 2:52 pm   Subject: UART Problem
My first post and is a problem... oh well.

I'm new to CCS, not to microcontrollers.
But I've found a brick wall trying to figure out what is wrong here.

Just trying to make the PIC12F1840 with ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group