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 14 matches
CCS Forum Index
Author Message
  Topic: setup_ccp in pic12f1572
amate

Replies: 2
Views: 7774

PostForum: General CCS C Discussion   Posted: Mon May 11, 2015 2:25 pm   Subject: ccp on pic12F1572
You are right. like always.
Thank you very much for your explanation.
I will use the timer1 with gate.
Antonio Mate
  Topic: setup_ccp in pic12f1572
amate

Replies: 2
Views: 7774

PostForum: General CCS C Discussion   Posted: Mon May 11, 2015 4:33 am   Subject: setup_ccp in pic12f1572
This function is not included in PIC12F1572.h- CCS V5.044.
Can I copy and past the same function from other similar pic ?
It seems that the function setup_ccp1 in pic12f1572 is setup_ccp, but in ot ...
  Topic: what is wrong in this ADS1211 code ?
amate

Replies: 9
Views: 12234

PostForum: General CCS C Discussion   Posted: Mon May 26, 2014 7:57 am   Subject: Solved the problem
Problem was the external erratic Vref, it very noisy.
Once I solved this, the software function correctly.
I am doing one circuit for read 4 PT1000/100 with ADS1211 and one micro,with automatic dete ...
  Topic: what is wrong in this ADS1211 code ?
amate

Replies: 9
Views: 12234

PostForum: General CCS C Discussion   Posted: Sun May 25, 2014 4:40 am   Subject: working with ADSS1211
You are right Ckielstra, there are many errors, I am learning.
I have modified according you, and modify the functions. Now I can read and write in all registers of ADS1211.
Was important to do rese ...
  Topic: what is wrong in this ADS1211 code ?
amate

Replies: 9
Views: 12234

PostForum: General CCS C Discussion   Posted: Wed May 21, 2014 1:38 pm   Subject: reading from ads1211
sorry i erased this code line inside the main() :config_ADC();
Must be between two delays_ms(1000).
Thanks
  Topic: what is wrong in this ADS1211 code ?
amate

Replies: 9
Views: 12234

PostForum: General CCS C Discussion   Posted: Wed May 21, 2014 1:33 pm   Subject: reading from ads1211
Hello, thanks for your time and collaboration.
0xC0 - b11000000-is the instruction for Read (1) , three bytes (10) from address 0000.(High Byte of DOR).
If the Command register is written OK means t ...
  Topic: what is wrong in this ADS1211 code ?
amate

Replies: 9
Views: 12234

PostForum: General CCS C Discussion   Posted: Wed May 21, 2014 8:47 am   Subject: reading from ads1211
I have read notes about ADS and I have not seen you say, more and more, with the same config and write functions now I can modify the 4 bytes of CMR, that means that are correct.
But I cannot read, ...
  Topic: what is wrong in this ADS1211 code ?
amate

Replies: 9
Views: 12234

PostForum: General CCS C Discussion   Posted: Tue May 20, 2014 11:53 am   Subject: what is wrong in this ADS1211 code ?
I use pins: DO, SDI, DRDY and Clock, SC always selected (0).
I wish to modify CMR with BIAS=1, SDL=1, then if I check Bias pin I know if has been modified.
Xtal of ADS is 8 MHz, and micro is 12 MHz ...
  Topic: problem with PIC18F46K80
amate

Replies: 2
Views: 5349

PostForum: General CCS C Discussion   Posted: Sat Jun 23, 2012 8:46 am   Subject: PIC18F46k80 problem solved
Was enough to include the fuse SOSC_DIG.
You are right, thanks a lot.
antonio mate
  Topic: problem with PIC18F46K80
amate

Replies: 2
Views: 5349

PostForum: General CCS C Discussion   Posted: Fri Jun 22, 2012 12:03 pm   Subject: problem with PIC18F46K80
I have written this code for test this micro, and all is Ok except for C0 and C1, this don't change. Thinking that was one broken micro I have change, but happen the same.
Somebody knows the reason? ...
  Topic: Change the interrupts address
amate

Replies: 6
Views: 5000

PostForum: General CCS C Discussion   Posted: Fri Oct 15, 2010 11:24 am   Subject: new interrupt addresse
Thanks a lot, I need to learn a lot,lot,lot more
antonio mate
  Topic: Change the interrupts address
amate

Replies: 6
Views: 5000

PostForum: General CCS C Discussion   Posted: Fri Oct 15, 2010 10:51 am   Subject: new address for interrupts
Thanks for the answer
I explain:
in the assembler program is writed
in 0x0000: goto NewResetAddress
in 0x0008: goto NewIntHighAddress
in 0x0018: goto NewIntLowAddress
Then I understa ...
  Topic: Change the interrupts address
amate

Replies: 6
Views: 5000

PostForum: General CCS C Discussion   Posted: Fri Oct 15, 2010 9:46 am   Subject: reason for change the reset an interrupt address
I try to use one CAN bootloader made in assembler, this program branch reset and the two interrupts to other addresses, then like I want make the rest of my program in CCS C it is needed to say to the ...
  Topic: Change the interrupts address
amate

Replies: 6
Views: 5000

PostForum: General CCS C Discussion   Posted: Fri Oct 15, 2010 5:16 am   Subject: Change the interrupts address
Dear all, I need to change the Reset and Interrupts address to other places, but I don't know how put this in CCS for be possible that interrupts routines function well.
Somebody knows how to do?
I ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group