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 23 matches
CCS Forum Index
Author Message
  Topic: SPI and TMR0 interrupt?
codewrecker2

Replies: 3
Views: 5024

PostForum: General CCS C Discussion   Posted: Tue Aug 21, 2007 9:57 am   Subject: SPI and TMR0 interrupt?

Had you posted a complete program I didn't have to ask these questions.

Certainly man,with all due respect.was just one of those days where nothing seemed to go my way.thought i wud start afresh. ...
  Topic: SPI and TMR0 interrupt?
codewrecker2

Replies: 3
Views: 5024

PostForum: General CCS C Discussion   Posted: Tue Aug 21, 2007 5:43 am   Subject: SPI and TMR0 interrupt?
Hi,I am using compiler PCM ver 3.237 for 16f689. I am using the spi port to talk to maxim 6950 7 seg led driver.My cause of grief is the TMR0 interrupts and spi_write() function when used together.
...
  Topic: Function call disables interrupt??
codewrecker2

Replies: 6
Views: 6976

PostForum: General CCS C Discussion   Posted: Sat Aug 18, 2007 12:25 pm   Subject: Function call disables interrupt??
Hi ckielstra,I have the uart isr too but it neva got me any problem.and no,i dont get a "interrupts disabled during call......" too as i have made sure isr functions are never called from an ...
  Topic: Function call disables interrupt??
codewrecker2

Replies: 6
Views: 6976

PostForum: General CCS C Discussion   Posted: Thu Aug 16, 2007 3:03 am   Subject: Function call disables interrupt??
OK Now i know that the absence of CALL in the listing file was because it was inline.NOW BUT WHAT DISABLES THE INTERRUPT??
  Topic: Function call disables interrupt??
codewrecker2

Replies: 6
Views: 6976

PostForum: General CCS C Discussion   Posted: Wed Aug 15, 2007 10:03 pm   Subject: Function call disables interrupt??
Here it is:


#INLINE
void pedal_Debounce(void)
{
static int pedal_buffer;

rotate_left (&pedal,1); //Rotate pdin samples

if (!INPUT(pedal_PIN)) ...
  Topic: Function call disables interrupt??
codewrecker2

Replies: 6
Views: 6976

PostForum: General CCS C Discussion   Posted: Wed Aug 15, 2007 4:14 am   Subject: Function call disables interrupt??
Also ,the following is the stack usage ,if u guys wanna know if m killing/overflowing the stack.


CCS PCM C Compiler, Version 3.237, 26394 14-Aug-07 16:35

Filen ...
  Topic: Function call disables interrupt??
codewrecker2

Replies: 6
Views: 6976

PostForum: General CCS C Discussion   Posted: Wed Aug 15, 2007 3:35 am   Subject: Function call disables interrupt??
Hello frnds,

I have a query(as well as a problem) regarding function calls in my pcm compiler ver 3.237

Every time i make a call to one function"display_write(..." my interrupts are be ...
  Topic: SPI problem with max6950
codewrecker2

Replies: 2
Views: 4428

PostForum: General CCS C Discussion   Posted: Fri Jul 20, 2007 12:17 pm   Subject: SPI problem with max6950
Many thanx on that quick reply .I thot "BSF 03.5" was just a bank switch command to access the SFR(or is it?).feels good to know i was wrong.gets my feet back on ground .

Ok,the reason ...
  Topic: SPI problem with max6950
codewrecker2

Replies: 2
Views: 4428

PostForum: General CCS C Discussion   Posted: Fri Jul 20, 2007 4:26 am   Subject: SPI problem with max6950
Hello folks,I am driving 5 7-seg displays with max6950 and 16f689 as the master mcu.I use the built in H/W SPI to transfer data.The wierd thing is ,when i try to setup the SPI using CCS library functi ...
  Topic: Alternative to CCP module
codewrecker2

Replies: 3
Views: 5348

PostForum: General CCS C Discussion   Posted: Wed Nov 22, 2006 1:19 am   Subject: Alternative to CCP module
Thanx but SSP aint gonna work for me, i believe.The pic16F689 is being interfaced to motorola 68HC11.The pic has 30 bits to be sent to 68H... which have to be sent on 3 data lines in exactly 10 clock ...
  Topic: Alternative to CCP module
codewrecker2

Replies: 3
Views: 5348

PostForum: General CCS C Discussion   Posted: Tue Nov 21, 2006 10:44 pm   Subject: Alternative to CCP module
Hello,i wud like to know whats the best possible alternative to using a CCP module.I so badly miss it in my PIC 16F689,as pointed out by PCM PR.....(sorry 2 bother ,dude)

what i need to do is send ...
  Topic: pcm compiler-CCP module
codewrecker2

Replies: 2
Views: 4981

PostForum: General CCS C Discussion   Posted: Tue Nov 21, 2006 6:31 am   Subject: pcm compiler-CCP module
Woopsy ! sorry
  Topic: pcm compiler-CCP module
codewrecker2

Replies: 2
Views: 4981

PostForum: General CCS C Discussion   Posted: Mon Nov 20, 2006 11:45 pm   Subject: pcm compiler-CCP module
Hi guys,cud ne1 tell me why there are no built-in CCP(compare/capture/pwm) module functions for the PIC 16F689 that i am using. The PCM compiler version is 3.237.

When i mailed the ccs tech suppor ...
  Topic: ADC variation
codewrecker2

Replies: 6
Views: 7658

PostForum: General CCS C Discussion   Posted: Tue Jun 06, 2006 11:04 pm   Subject: ADC variation
sorry for not mentioning b4,the reason why i didnt have setup_adc_port() was because i had set ports manually this way:


#separate
void port_init (void)
{

OUTPUT_A(0x00); ...
  Topic: ADC variation
codewrecker2

Replies: 6
Views: 7658

PostForum: General CCS C Discussion   Posted: Tue Jun 06, 2006 5:56 am   Subject: ADC variation
I have a honeywell pressure sensor which feeds the analog signal to the pic. Therez a mosfet close to the analog pin which switches a 12 V dc motor which pumps into the sensor.These are some snippets ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group