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 10 matches
CCS Forum Index
Author Message
  Topic: Different speed for different ports
RBuilder

Replies: 21
Views: 18898

PostForum: General CCS C Discussion   Posted: Thu Mar 22, 2012 6:03 am   Subject: Different speed for different ports
output_high(pin_d7) is slower than output_high(pin_d0) even when in a timer
You should be able to post a super-short compilable test program so
we can test this.

Have you tested the other code fr ...
  Topic: Different speed for different ports
RBuilder

Replies: 21
Views: 18898

PostForum: General CCS C Discussion   Posted: Wed Mar 21, 2012 5:20 pm   Subject: Different speed for different ports
Great that is a nice response. Thanks for taking the time.

The thing is, this actually comes from a timer experience also. output_high(pin_d7) is slower than output_high(pin_d0) even when in a time ...
  Topic: Different speed for different ports
RBuilder

Replies: 21
Views: 18898

PostForum: General CCS C Discussion   Posted: Wed Mar 21, 2012 12:58 am   Subject: Different speed for different ports
Unexplained #bit and other VAR defines aside ---

is this not a a very primitive way to try to output a serial baudot code bit stream ?? ie: generate software rs232 style bit bang output ??

an ...
  Topic: Different speed for different ports
RBuilder

Replies: 21
Views: 18898

PostForum: General CCS C Discussion   Posted: Tue Mar 20, 2012 5:03 pm   Subject: Different speed for different ports
What's your CCS compiler version ? It's a 4-digit number given at the
top of the .LST file, which will be in your project directory after a
successful compilation. Examples of version numbers: ...
  Topic: Different speed for different ports
RBuilder

Replies: 21
Views: 18898

PostForum: General CCS C Discussion   Posted: Tue Mar 20, 2012 4:50 pm   Subject: Different speed for different ports
If you want help, you need to post a complete test program. For example
in your code, you don't tell show the declaration of 'port'. You also don't
tell us your PIC, or your oscillator frequency. ...
  Topic: Different speed for different ports
RBuilder

Replies: 21
Views: 18898

PostForum: General CCS C Discussion   Posted: Tue Mar 20, 2012 12:42 pm   Subject: Different speed for different ports
I data logged a 12.8us timer turning on and off 20 i/o with fast and general and in the main thread counted from 0 to 800000.

With fast i/o it took 4.5400 seconds
With general purpose it took 4.5 ...
  Topic: Different speed for different ports
RBuilder

Replies: 21
Views: 18898

PostForum: General CCS C Discussion   Posted: Tue Mar 20, 2012 11:43 am   Subject: Different speed for different ports
Hello, also ..

I think i see how to set the tris direction without modifying the entire port... I can use Output_Float (for input) and Output_Drive (for output)?

I notice that Output_Float() w ...
  Topic: Different speed for different ports
RBuilder

Replies: 21
Views: 18898

PostForum: General CCS C Discussion   Posted: Tue Mar 20, 2012 9:18 am   Subject: Different speed for different ports
Hello,

I noticed something very unusual for me. I wrote a software write serial function. I notice there is a speed difference between pin_Do vs pin_D7.

Although, I checked the asm and the code ...
  Topic: I2C 18F4685 Force_HW - Issue
RBuilder

Replies: 3
Views: 7113

PostForum: General CCS C Discussion   Posted: Thu Oct 27, 2011 11:14 pm   Subject: I2C 18F4685 Force_HW - Issue
Okay.... So I wrote that post. And not even a few minutes later I had it working. So hopefully this will help someone else out.

the Project Wizard had created this Setup to disable SPI for me...
...
  Topic: I2C 18F4685 Force_HW - Issue
RBuilder

Replies: 3
Views: 7113

PostForum: General CCS C Discussion   Posted: Thu Oct 27, 2011 11:03 pm   Subject: I2C 18F4685 Force_HW - Issue
Hello there!

I see many posts regarding hardware I2C and Force_HW issues.

First, I should add that almost all of the issues i've read on this forum seem to have been resolved or the thread acti ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group