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 16 matches
CCS Forum Index
Author Message
  Topic: How to force CCS not to include Config. Words in .hex file
sirius

Replies: 6
Views: 11178

PostForum: General CCS C Discussion   Posted: Tue Mar 26, 2013 5:41 am   Subject: How to force CCS not to include Config. Words in .hex file
#FUSES none - Thanks, works just fine!
  Topic: How to force CCS not to include Config. Words in .hex file
sirius

Replies: 6
Views: 11178

PostForum: General CCS C Discussion   Posted: Fri Mar 22, 2013 3:28 am   Subject: How to force CCS not to include Config. Words in .hex file
Actually this is an update of a project, that uses non-J-part(MCU), where Config. Words are at address 300000h. On J-parts Configuration Words are part of the on-chip flash program memory ("user ...
  Topic: How to force CCS not to include Config. Words in .hex file
sirius

Replies: 6
Views: 11178

PostForum: General CCS C Discussion   Posted: Fri Mar 22, 2013 2:51 am   Subject: How to force CCS not to include Config. Words in .hex file
MCU - PIC18F65J10, Compiler version 4.084

From document: "PIC18FxxJxx family devices do not have per-
sistent configuration memory, the top four words of
on-chip program memory are reserved ...
  Topic: PIC16F88 - PWM resolution problem
sirius

Replies: 17
Views: 43809

PostForum: General CCS C Discussion   Posted: Wed Apr 28, 2010 7:47 am   Subject: PIC16F88 - PWM resolution problem
Yes, everything is fine now . Thanks PCM Wink
  Topic: PIC16F88 - PWM resolution problem
sirius

Replies: 17
Views: 43809

PostForum: General CCS C Discussion   Posted: Tue Apr 27, 2010 1:42 pm   Subject: PIC16F88 - PWM resolution problem
setup_timer_2(T2_DIV_BY_4,63,1); - Defined by CCS Project Wizard.

setup_timer_2(T2_DIV_BY_4,255,1); - just tested it in hardware. You are right - duty_cycle=10%, but frequency is now 1,95KHz :exc ...
  Topic: PIC16F88 - PWM resolution problem
sirius

Replies: 17
Views: 43809

PostForum: General CCS C Discussion   Posted: Tue Apr 27, 2010 1:26 pm   Subject: PIC16F88 - PWM resolution problem
Problem solved Very Happy. Seems to be a compiler issue, but don't want to investigate it profoundly. Manually configured PWM module, following PIC16F88 datasheet sequence:


......................... ...
  Topic: PIC16F88 - PWM resolution problem
sirius

Replies: 17
Views: 43809

PostForum: General CCS C Discussion   Posted: Tue Apr 27, 2010 11:54 am   Subject: PIC16F88 - PWM resolution problem
Thank You for the fast reply! After adding "L", everything with the loading of pwm_duty_cycle is fine:


09A4: BCF 06.0
09A5: BCF 03.5
09A6: BCF 06.0
09A7: ...
  Topic: PIC16F88 - PWM resolution problem
sirius

Replies: 17
Views: 43809

PostForum: General CCS C Discussion   Posted: Tue Apr 27, 2010 11:36 am   Subject: PIC16F88 - PWM resolution problem
Hi, the MCU is running on 8Mhz internal oscillator, CCP module is configured as follows:
setup_timer_2(T2_DIV_BY_4,63,1);
setup_ccp1(CCP_PWM);
set_pwm1_duty(50);

...
  Topic: PID algorithm questions
sirius

Replies: 12
Views: 13425

PostForum: General CCS C Discussion   Posted: Sun Jul 26, 2009 5:04 pm   Subject: PID algorithm questions
How about using Fuzzy Logic?
  Topic: PID algorithm questions
sirius

Replies: 12
Views: 13425

PostForum: General CCS C Discussion   Posted: Sat Jul 25, 2009 12:46 pm   Subject: PID algorithm questions
Usually, the integration is stopped when the controller output (manipulated value) reaches it's limit, e.g. 100 % power for a temperature controller.
I think this is what you need,or put a limit o ...
  Topic: PID algorithm questions
sirius

Replies: 12
Views: 13425

PostForum: General CCS C Discussion   Posted: Sat Jul 25, 2009 9:15 am   Subject: PID algorithm questions
Summing the instantaneous error over time (integrating the error):
I = Ki * Sum e(t)dT

where

I: Integral term of output
Ki: Integral gain, a tuning parameter
e: Error = SP − PV ...
  Topic: Ohms to temperature formula for PT-100 RTD
sirius

Replies: 13
Views: 54001

PostForum: General CCS C Discussion   Posted: Sat Jul 25, 2009 8:28 am   Subject: Ohms to temperature formula for PT-100 RTD
Thank You a lot! Both of You! You were very helpful. Very Happy
  Topic: Ohms to temperature formula for PT-100 RTD
sirius

Replies: 13
Views: 54001

PostForum: General CCS C Discussion   Posted: Sat Jul 25, 2009 2:40 am   Subject: Ohms to temperature formula for PT-100 RTD
It's easy to fit a polynominal for a given temperature range and required accuracy, also for the reverse t = f(r) function.

Please, give me a hint for t = f(r) for t<0C. The equation is :
R ...
  Topic: Interesting problem here...
sirius

Replies: 21
Views: 16961

PostForum: General CCS C Discussion   Posted: Wed Jul 22, 2009 5:09 pm   Subject: Interesting problem here...
Wayne_ ,please explain this,in case you have an explanation,that makes sense of course Very Happy .I'm curious about this,and mainly how to avoid it.Thanks!
  Topic: PIC16F88 Internal clock and Baud Rate problem
sirius

Replies: 15
Views: 25436

PostForum: General CCS C Discussion   Posted: Wed Jul 22, 2009 4:51 pm   Subject: PIC16F88 Internal clock and Baud Rate problem
Obviously you've made a mistake when configuring project properties.Firstly,look at "General" tab,when creating the project you have to select "Internal RC Osc,no CLKOUT" or &qu ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group