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 9 matches
CCS Forum Index
Author Message
  Topic: A/D converter performance.....
Matthew Aurand

Replies: 4
Views: 4835

PostForum: General CCS C Discussion   Posted: Tue Apr 21, 2009 10:25 pm   Subject: A/D converter performance.....
There are several factors that contribute to the performance of the ADC unit.

The basics for DC measurement include things like...

1. ADC Driver Stage: You want to drive the ADC input with a lo ...
  Topic: Output Pulse Jitter
Matthew Aurand

Replies: 8
Views: 7376

PostForum: General CCS C Discussion   Posted: Fri Mar 27, 2009 10:07 am   Subject: Output Pulse Jitter
OK - PWM is not working at all even with code that should be fine.


set_pwm1_duty(100);
setup_timer_2(T2_DIV_BY_4,127,1);
setup_ccp1(CCP_PWM);


PWM uses tim ...
  Topic: Output Pulse Jitter
Matthew Aurand

Replies: 8
Views: 7376

PostForum: General CCS C Discussion   Posted: Fri Mar 27, 2009 9:37 am   Subject: Output Pulse Jitter
OK. The jitter is not one instruction but about 10uS peak-peak. The same jitter remains whether I do this:


output_low(OUTPUT);
delay_us(out_width);
output_high ...
  Topic: Output Pulse Jitter
Matthew Aurand

Replies: 8
Views: 7376

PostForum: General CCS C Discussion   Posted: Thu Mar 26, 2009 6:26 pm   Subject: Output Pulse Jitter
Hey Guys,

I am using a 16F819 to generate some output pulses for an RC-type servo (but my output is buffered by an inverter, so my PIC pulses are active-low, usually high level). I am experiencing ...
  Topic: Quick Signed Integer Question
Matthew Aurand

Replies: 3
Views: 3800

PostForum: General CCS C Discussion   Posted: Mon Mar 02, 2009 11:55 am   Subject: Quick Signed Integer Question
Hey guys,

I am trying to convert a signed int to an unsigned int. What is the format of a signed int? I can't find the info in the compiler manual...

I am using 32-bit ints.

The MSB I assume ...
  Topic: PIC24/dsPIC® Compiler Comments
Matthew Aurand

Replies: 36
Views: 128904

PostForum: General CCS C Discussion   Posted: Thu Feb 07, 2008 3:20 pm   Subject: PIC24/dsPIC® Compiler Comments
No luck with V4.066, any other ideas?
  Topic: PIC24/dsPIC® Compiler Comments
Matthew Aurand

Replies: 36
Views: 128904

PostForum: General CCS C Discussion   Posted: Wed Feb 06, 2008 6:39 pm   Subject: External Clock Setup Questions
Hi all,

I am trying to setup my external 40MHz clock on a dsPIC33FJ64MC706 and having issues. I want to get as many MIPS with this as possible from this clock.

The setup_oscillator constants are ...
  Topic: Interrupts and SPI Slaves
Matthew Aurand

Replies: 4
Views: 6433

PostForum: General CCS C Discussion   Posted: Fri Dec 21, 2007 11:41 am   Subject: Interrupts and SPI Slaves
Wow, thanks guys!

PCM programmer: I read the thread you linked to and it is indeed a very similar problem to mine. Can you elaborate on reading the spi port between writes? I need to call a read fu ...
  Topic: Interrupts and SPI Slaves
Matthew Aurand

Replies: 4
Views: 6433

PostForum: General CCS C Discussion   Posted: Thu Dec 20, 2007 10:54 pm   Subject: Interrupts and SPI Slaves
Hello,

I have a few basic questions for which I have had a hard time trying to find answers to.

First, I have been using software spi support (spi_xfer()) for a setup in which I have two PIC's. ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group