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 19 matches
CCS Forum Index
Author Message
  Topic: Problem with CCS ICD
Chicky

Replies: 1
Views: 19487

PostForum: CCS ICD / Mach X / Load-n-Go   Posted: Thu May 08, 2008 8:22 pm   Subject: Problem with CCS ICD
Hello..

I just began to use my CCS ICD-U40..
At first it works fine..
After I update my firmware, its stop working with message "could not detect target chip"..

I'm using it with PI ...
  Topic: Problem with calculation results
Chicky

Replies: 10
Views: 10834

PostForum: General CCS C Discussion   Posted: Sun Apr 06, 2008 8:37 pm   Subject: Problem with calculation results
OMG this program keep messing wif my head.. lol..

where did i go wrong here?

//Net1
Net1=(-Red*(0.0881/16.0)-Green*(2.272/16.0)+Blue*(0.2682/16.0)+99.348)* ...
  Topic: Problem with calculation results
Chicky

Replies: 10
Views: 10834

PostForum: General CCS C Discussion   Posted: Wed Apr 02, 2008 10:12 pm   Subject: Problem with calculation results
Ok I'll try that.. thanks
I'm using Pic16f877a wif CCS compiler V4.009
  Topic: Problem with calculation results
Chicky

Replies: 10
Views: 10834

PostForum: General CCS C Discussion   Posted: Wed Apr 02, 2008 9:31 pm   Subject: Problem with calculation results
Why is this happening?


#include <math.h>
int16 Red, Green, Blue;
double FRed, FGreen, FBlue, Net1;

FRed=Red/16*0.088;
FGreen=Green/16*0.88;
FBlue=Blue/16*8.157;
Net1=0-FRed+FGr ...
  Topic: Variable Time to Read Timer1 Counts
Chicky

Replies: 5
Views: 5598

PostForum: General CCS C Discussion   Posted: Tue Mar 04, 2008 12:38 am   Subject: Variable Time to Read Timer1 Counts
ooook..
I've updated my compiler n it works! Yay!

Thanks a lot guys~ Very Happy
  Topic: Variable Time to Read Timer1 Counts
Chicky

Replies: 5
Views: 5598

PostForum: General CCS C Discussion   Posted: Mon Mar 03, 2008 1:35 am   Subject: Variable Time to Read Timer1 Counts
Hi All..

I have a problem in setting time to count pulses in Timer 1..
This is how I usually do it:

setup_timer_1 ( T1_EXTERNAL | T1_DIV_BY_1 );
count=0;
set_timer1(0);

...
  Topic: whats wrong with my code (serial data)
Chicky

Replies: 1
Views: 2869

PostForum: General CCS C Discussion   Posted: Mon Aug 13, 2007 2:47 am   Subject: whats wrong with my code (serial data)
int index, data;
char NewConfig[10];

while(data!=0x3D||index<10) //= or 0x3D indicates end of config packet
{
data=fgetc(com_a);
NewConfig[index]=data;
index++;
}

It seems like PI ...
  Topic: PIC to PIC spi interface problem...
Chicky

Replies: 5
Views: 9030

PostForum: General CCS C Discussion   Posted: Thu Mar 30, 2006 2:17 am   Subject: PIC to PIC spi interface problem...
Yay~~ at last!!

u guys wanna know what i did?
i added this part:


for (i=0;i<8;i++)
{
while (SSPBUF==0)
;

data=spi_read();
printf("\r\n\n ...
  Topic: PIC to PIC spi interface problem...
Chicky

Replies: 5
Views: 9030

PostForum: General CCS C Discussion   Posted: Wed Mar 29, 2006 6:46 pm   Subject: PIC to PIC spi interface problem...
thanks Ttelmah...

i've removed the 'SPI_XMIT_L_TO_H' def, but not manage to get the desired result..

here is example of what i get

05
08
01
05
03
05
06
01

02
06
03
05
06 ...
  Topic: sms
Chicky

Replies: 23
Views: 29587

PostForum: General CCS C Discussion   Posted: Wed Mar 29, 2006 1:34 am   Subject: sms
maybe u can try this:

fprintf(GSM,"AT+CMGS=\"07712121212\"");
fprintf("\n"); >> this is the same as CR
i use this when i interface my pic ...
  Topic: PIC to PIC spi interface problem...
Chicky

Replies: 5
Views: 9030

PostForum: General CCS C Discussion   Posted: Wed Mar 29, 2006 1:24 am   Subject: PIC to PIC spi interface problem...
Hi...

I'm trying to interface 2 pic16f877a using spi...
1 as master that will send data
1 as slave that will read the data and send it to rs232 port.

the thing is the data i'm sending is from ...
  Topic: PIC and Static RAM
Chicky

Replies: 8
Views: 12716

PostForum: General CCS C Discussion   Posted: Thu Jan 26, 2006 8:51 pm   Subject: PIC and Static RAM
The ADC sampling rate is not finalized yet... But it should be around 20 - 40 Mhz to avoid data loss
  Topic: PIC and Static RAM
Chicky

Replies: 8
Views: 12716

PostForum: General CCS C Discussion   Posted: Thu Jan 26, 2006 6:33 pm   Subject: PIC and Static RAM
Thx libor... i'll look up the options u gave...

FYI the actual system i'm working in consist of an adc and fpga; fpga will read the adc and write the results to RAM... my part is to use pic to read ...
  Topic: PIC and Static RAM
Chicky

Replies: 8
Views: 12716

PostForum: General CCS C Discussion   Posted: Wed Jan 25, 2006 6:21 pm   Subject: PIC and Static RAM
hmmm... i think i'm looking at parallel access..
because i need a very fast processing time to send the data from RAM to the PC..
u see in the system; PIC will act like a middle person between the R ...
  Topic: PIC and Static RAM
Chicky

Replies: 8
Views: 12716

PostForum: General CCS C Discussion   Posted: Tue Jan 24, 2006 7:39 pm   Subject: PIC and Static RAM
Hello...

Anyone here have any experience using/programming pic with static RAM ic? I need a direction on where to start i.e. how to read/access data stored on the static RAM...

TQ! Very Happy
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group