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 40 matches
CCS Forum Index
Author Message
  Topic: i2c and ACK
angel

Replies: 5
Views: 12136

PostForum: General CCS C Discussion   Posted: Fri Aug 13, 2010 1:18 am   Subject: i2c and ACK
OK, thanks Ronald
  Topic: i2c and ACK
angel

Replies: 5
Views: 12136

PostForum: General CCS C Discussion   Posted: Thu Aug 12, 2010 10:21 am   Subject: hi
Thanks, the first part is clear...
But, Why is it important to tell the slave device " that you're done retrieving data from it"...?
In the CCS manual i2c_read(0) indicates do not ack. I ...
  Topic: i2c and ACK
angel

Replies: 5
Views: 12136

PostForum: General CCS C Discussion   Posted: Thu Aug 12, 2010 3:03 am   Subject: i2c and ACK
Hi
I would like to communicate a PIC with a chip using a I2C communication. I checked the CCS commands. It seems it is easy. But I don't find the way to check the ACK answer from the slave. Maybe usi ...
  Topic: int_rda problem
angel

Replies: 7
Views: 7701

PostForum: General CCS C Discussion   Posted: Fri Jun 19, 2009 2:15 am   Subject: new question
I was wondering if it is possible to get several data using one int_rda.
I mean instead of sending a byte, then to start the int_rda, get the data, ....and repeat the process again for the next data. ...
  Topic: int_rda problem
angel

Replies: 7
Views: 7701

PostForum: General CCS C Discussion   Posted: Fri Jun 19, 2009 1:22 am   Subject: thanks
Hi everybody
Thanks for your help and suggestions.
Rnielsen suggestions have been good. The program works well but I have now to improve speed.

What was sending using the printf command, was onl ...
  Topic: int_rda problem
angel

Replies: 7
Views: 7701

PostForum: General CCS C Discussion   Posted: Thu Jun 18, 2009 3:55 am   Subject: int_rda problem
hi
I am using an int_rda in my program.
I am sending data to de pic.
After a data has reached the PIC there is un answer from the PIC: OK
The problem is I can't send the quantity of data I want. ...
  Topic: Program Memory Errors
angel

Replies: 2
Views: 4663

PostForum: General CCS C Discussion   Posted: Thu Apr 16, 2009 4:33 am   Subject: Program Memory Errors
Hi
I try to program a PIC using a PICSTART PLUS programmer.
I have used it for some months and I have not found any problem. But today I got this message:

PICSTART Program\Verify Report
16-Apr-2 ...
  Topic: 5 V PIC conected to 3.3 chip (kbhit function...)
angel

Replies: 4
Views: 5220

PostForum: General CCS C Discussion   Posted: Wed Apr 01, 2009 6:12 am   Subject: thanks
thanks everybody
At the end I took one of the ideas of Ttelmah. I made a connection to a TTL pin and it works... I dont need to implement more hardware Smile
  Topic: 5 V PIC conected to 3.3 chip (kbhit function...)
angel

Replies: 4
Views: 5220

PostForum: General CCS C Discussion   Posted: Tue Mar 31, 2009 7:09 am   Subject: 5 V PIC conected to 3.3 chip (kbhit function...)
Hi
I am using a PIC 18f2620 working with a voltage of 5V.
I conected to the pic a bluetooth chip ( 3.3 V) using a usart connection .

To send commands from the PIC (master device) I put 2 resist ...
  Topic: #int_ext and #int_timer0
angel

Replies: 6
Views: 12415

PostForum: General CCS C Discussion   Posted: Fri Mar 13, 2009 5:00 am   Subject: delay problem
hi Ttelmah
Thanks for your help.
I have not finish all I wanted to check but it seems the origine of the problem is the delay_ms command in the int_ext.
I have not checked your program but I have d ...
  Topic: #int_ext and #int_timer0
angel

Replies: 6
Views: 12415

PostForum: General CCS C Discussion   Posted: Thu Mar 12, 2009 3:32 am   Subject: yes I have
yes I have...

delay_ms(500); // debounce button

I didn't put it before because the button works correctly. The problem is the enable and desable int_timer0 process. It works the fir ...
  Topic: #int_ext and #int_timer0
angel

Replies: 6
Views: 12415

PostForum: General CCS C Discussion   Posted: Thu Mar 12, 2009 2:22 am   Subject: the code is....
Hi Telmah. The code of the #int_ext is:

#INT_EXT
void ext_isr(void){

......

if (expre1){
disable_interrupts(INT_TIMER0);

}

if ( expre2){
disable_interrupts(INT_TI ...
  Topic: #int_ext and #int_timer0
angel

Replies: 6
Views: 12415

PostForum: General CCS C Discussion   Posted: Wed Mar 11, 2009 10:00 am   Subject: #int_ext and #int_timer0
Hi
I would like to use a #int_ext and a #int_timer0.
When I push a button the #int_ext works and inside that interruption I would like to enable or disable the #int_timer0 depending of some conditio ...
  Topic: #int_EXT
angel

Replies: 0
Views: 2651

PostForum: General CCS C Discussion   Posted: Wed Mar 11, 2009 2:27 am   Subject: #int_EXT
Hi
I am programing some code in a interruption int_EXT. I use a PIC 18F1620.
The program works fine but when I try to add new code using if (expr) conditions the PIC doesn't recognize them.
For ex ...
  Topic: ext_int and adc
angel

Replies: 6
Views: 4788

PostForum: General CCS C Discussion   Posted: Wed Dec 17, 2008 9:26 am   Subject: ext_int and adc
Hi
I tested
.......
setup_adc_ports(AN0|VSS_VDD);
setup_adc(ADC_CLOCK_DIV_16);
...........

And now it is working correctly. I don't know exactly what is VSS_VDD, the reference is 5V maybe?
Th ...
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group