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 151 matches
CCS Forum Index
Author Message
  Topic: USB firmware update support on PIC
vinniewryan

Replies: 4
Views: 7393

PostForum: General CCS C Discussion   Posted: Wed Jan 22, 2014 10:05 am   Subject: USB firmware update support on PIC
I'm thinking for the sake of less components on-board, the extra ROM use won't be a huge concern. I will look into the USB bootloader, thank you all for the suggestions, this has been very helpful.
  Topic: USB firmware update support on PIC
vinniewryan

Replies: 4
Views: 7393

PostForum: General CCS C Discussion   Posted: Mon Jan 20, 2014 11:39 am   Subject: USB firmware update support on PIC
Hello,

I'm trying to get some input from the community, as there are a few ways to go about this. I'm building a PCB which will use a PIC micro. I haven't yet chosen which PIC, but it will likely b ...
  Topic: making a function accept multiple characters
vinniewryan

Replies: 2
Views: 5870

PostForum: General CCS C Discussion   Posted: Sun Aug 26, 2012 4:13 pm   Subject: making a function accept multiple characters
compiler 4.033
pic18f14k22

I feel like this should be possible, but I've tried everything that makes sense to me and searched the manual up and down, there seems to be no simple solution.

I'm t ...
  Topic: 12f1822 PWM basic question
vinniewryan

Replies: 4
Views: 9018

PostForum: General CCS C Discussion   Posted: Sun May 06, 2012 12:48 pm   Subject: 12f1822 PWM basic question
Perfect, thanks. Using your equation I figure 'mode' will need to be 210 in order to achieve as close to 38Khz as possible.

(32000000 / 4) / 1 / (210 + 1) = 37914.7
  Topic: 12f1822 PWM basic question
vinniewryan

Replies: 4
Views: 9018

PostForum: General CCS C Discussion   Posted: Sat May 05, 2012 4:28 pm   Subject: 12f1822 PWM basic question
I'm trying to set up a pwm output of roughly 38Khz and I'm just a little confused about how to set up timer2.

In the data sheet, it says to set up and enable timer2 in order to start the PWM output ...
  Topic: 18f14k22 64mhz, only 2Mhz output? I don't think it takes...
vinniewryan

Replies: 7
Views: 9610

PostForum: General CCS C Discussion   Posted: Wed Feb 22, 2012 7:41 pm   Subject: 18f14k22 64mhz, only 2Mhz output? I don't think it takes...
Oh great, I always thought this was determined by ASM rather than the PIC.

Thanks again.
  Topic: 18f14k22 64mhz, only 2Mhz output? I don't think it takes...
vinniewryan

Replies: 7
Views: 9610

PostForum: General CCS C Discussion   Posted: Wed Feb 22, 2012 6:31 pm   Subject: 18f14k22 64mhz, only 2Mhz output? I don't think it takes...
How do I know how many cycles an instruction will take? In that link, you mentioned that BSF and BCF each take 1 cycle, but GOTO takes 2. Is there a resource or document that lists each instruction an ...
  Topic: 18f14k22 64mhz, only 2Mhz output? I don't think it takes...
vinniewryan

Replies: 7
Views: 9610

PostForum: General CCS C Discussion   Posted: Wed Feb 22, 2012 4:01 pm   Subject: 18f14k22 64mhz, only 2Mhz output? I don't think it takes...
Thanks for the help. I'll look into using fast_io to save a couple cycles.

cheers.
  Topic: 18f14k22 64mhz, only 2Mhz output? I don't think it takes...
vinniewryan

Replies: 7
Views: 9610

PostForum: General CCS C Discussion   Posted: Wed Feb 22, 2012 3:11 pm   Subject: 18f14k22 64mhz, only 2Mhz output? I don't think it takes...
Based on that I'm still missing many clock cycles.

.................... output_high(LED);
01E0: BCF F92.5
01E2: BSF F89.5
.................... output_low( ...
  Topic: 18f14k22 64mhz, only 2Mhz output? I don't think it takes...
vinniewryan

Replies: 7
Views: 9610

PostForum: General CCS C Discussion   Posted: Wed Feb 22, 2012 2:31 pm   Subject: 18f14k22 64mhz, only 2Mhz output? I don't think it takes...
I don't think it takes 12 clock cycles to run a simple output_high instruction.

I'm running the 18f14k22 at 64Mhz. The problem is, my program is as simple as:


#include "18f14k22.h"
...
  Topic: passing constant array pointer to function
vinniewryan

Replies: 8
Views: 17094

PostForum: General CCS C Discussion   Posted: Fri Jun 10, 2011 12:23 pm   Subject: passing constant array pointer to function
Check page 48 (pdf pg.60) in the CCS manual. It is possible to create a pointer to a constant. What is your compiler version?
  Topic: Sustaining USB Connection - CDC Implementation
vinniewryan

Replies: 22
Views: 24285

PostForum: General CCS C Discussion   Posted: Thu Jun 09, 2011 5:42 pm   Subject: Sustaining USB Connection - CDC Implementation
You might check out this thread:

http://www.ccsinfo.com/forum/viewtopic.php?t=45145&highlight=pic18f2550+usb

I'm not sure if it will be any help, but I honestly don't know enough about USB c ...
  Topic: Sustaining USB Connection - CDC Implementation
vinniewryan

Replies: 22
Views: 24285

PostForum: General CCS C Discussion   Posted: Wed Jun 08, 2011 1:31 pm   Subject: Sustaining USB Connection - CDC Implementation
can you check/ clear the buffer? What device are you using?
  Topic: pid and dc motor
vinniewryan

Replies: 7
Views: 12935

PostForum: General CCS C Discussion   Posted: Tue Jun 07, 2011 1:41 pm   Subject: pid and dc motor
You can always use 1 PWM, connect all H-bridge inputs to transistors whose bases are controlled by 10 seperate 1/0 ports and the emitters are fed by the pwm output (amplified?), then write an algoryth ...
  Topic: Spi comm with ISD1740
vinniewryan

Replies: 15
Views: 25640

PostForum: General CCS C Discussion   Posted: Wed Jun 01, 2011 4:35 pm   Subject: Spi comm with ISD1740
I back up all of my work daily. I'll definitely post my program as a 'working code' once I get a few commands done. Right now it's still a jarbled mess of test functions that were lazily thrown togeth ...
 
Page 1 of 11 Goto page 1, 2, 3 ... 9, 10, 11  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group