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: WDT Sleep() and wakeup
jimcbride

Replies: 6
Views: 8785

PostForum: General CCS C Discussion   Posted: Thu Jun 28, 2007 11:52 am   Subject: WDT Sleep() and wakeup
Thank GAWD, I was hoping it was me doing something stupid, (ususally is).

I went back and forth so many times with intrc and intrc_io trying to get int internal osc working that somewhere I got th ...
  Topic: WDT Sleep() and wakeup
jimcbride

Replies: 6
Views: 8785

PostForum: General CCS C Discussion   Posted: Thu Jun 28, 2007 10:08 am   Subject: WDT Sleep() and wakeup
From the .LST file.
Configuration Fuses:
Word 1: C900 INTRC FCMEN IESO
Word 2: 150E BROWNOUT WDT BORV20 PUT WDT1024
Word 3: 8000 MCLR
Word 4: 0081 STVREN NODEBUG NOLVP
...
  Topic: WDT Sleep() and wakeup
jimcbride

Replies: 6
Views: 8785

PostForum: General CCS C Discussion   Posted: Tue Jun 26, 2007 2:51 pm   Subject: WDT Sleep() and wakeup
I will redo a smaller sleep only program and see what that does. I read about the dual speed startup. But since I am already using the internal RC I thought that it would not be a problem. I am not wo ...
  Topic: WDT Sleep() and wakeup
jimcbride

Replies: 6
Views: 8785

PostForum: General CCS C Discussion   Posted: Mon Jun 25, 2007 4:36 pm   Subject: WDT Sleep() and wakeup
Greetings,
I seem to remember seeing something written about where the WDT re-enters the code exectution after a wakeup.
If I turn on the WDT, use a sleep() function and have the WDT bring the chip ...
  Topic: outputing variable to pins on different ports
jimcbride

Replies: 7
Views: 8086

PostForum: General CCS C Discussion   Posted: Tue Jun 19, 2007 7:22 am   Subject: outputing variable to pins on different ports
I thought this might be the case. I have thought about aditional logic in the circuit but I already am crammed for space. I think the easiest solution is to have the control system always do a double ...
  Topic: outputing variable to pins on different ports
jimcbride

Replies: 7
Views: 8086

PostForum: General CCS C Discussion   Posted: Mon Jun 18, 2007 3:43 pm   Subject: outputing variable to pins on different ports
hmmm. I don't see my reply posted. I will try again.
I thought I answered your question by saying I was using an 18F1220. I now realise you wanted to know what the 18f1220 is connecting to. whooops. ...
  Topic: outputing variable to pins on different ports
jimcbride

Replies: 7
Views: 8086

PostForum: General CCS C Discussion   Posted: Mon Jun 18, 2007 10:18 am   Subject: outputing variable to pins on different ports
I am using the 18F1220 device.
I have read through that technique. I may be wrong, but it looks to me like this won't set all of the pins at the same time like setting an output port would. They will ...
  Topic: outputing variable to pins on different ports
jimcbride

Replies: 7
Views: 8086

PostForum: General CCS C Discussion   Posted: Mon Jun 18, 2007 9:38 am   Subject: outputing variable to pins on different ports
Due to pin restrictions I need to output logic levels for 8 pins equal to a variable on separate ports.

Is there a way to set the all eight pins at the same time? I can easily test the bits in my ...
  Topic: One Wire, DS2480 to ds2408 not working as expected
jimcbride

Replies: 1
Views: 5122

PostForum: General CCS C Discussion   Posted: Wed Jun 13, 2007 2:09 pm   Subject: One Wire, DS2480 to ds2408 not working as expected
For anyone else who read this and was as stumped as I was. I read in APP192 page 11, about reading ROM. Over and Over I read that everthing is basically a write, then read results. I was getting the r ...
  Topic: One Wire, DS2480 to ds2408 not working as expected
jimcbride

Replies: 1
Views: 5122

PostForum: General CCS C Discussion   Posted: Wed Jun 13, 2007 9:06 am   Subject: One Wire, DS2480 to ds2408 not working as expected
I am trying to talk between these two devices with a pic. I have the communication working between all three chips. The problem is that I can't seem to read any of the registers in the ds2408 chip. Ex ...
  Topic: DS2480 and ds2408 help appreciated
jimcbride

Replies: 5
Views: 7624

PostForum: General CCS C Discussion   Posted: Wed May 30, 2007 9:45 am   Subject: DS2480 and ds2408 help appreciated
Yes I have a DS2408.
I think I have my clock issues figured out.
Now I think I have a new problem. Do I need a reset pulse with the DS2480? I know the one wire has a reset pulse but won't the DS2480 ...
  Topic: DS2480 and ds2408 help appreciated
jimcbride

Replies: 5
Views: 7624

PostForum: General CCS C Discussion   Posted: Tue May 29, 2007 9:29 am   Subject: DS2480 and ds2408 help appreciated
Thank you both for your respnse. Yes the code was a little messed up by me playing around trying to look at variables during code execution. I was trying to make sure where the TRUE/FALSE was comming ...
  Topic: DS2480 and ds2408 help appreciated
jimcbride

Replies: 5
Views: 7624

PostForum: General CCS C Discussion   Posted: Fri May 25, 2007 12:13 pm   Subject: DS2480 and ds2408 help appreciated
I have read data sheets. I have searched and read all pertinent posts for 1-wire. I sort of have a grasp on things but I am finally putting my pride aside and am asking for help. I am attempting a sim ...
  Topic: Communication between two PICs
jimcbride

Replies: 37
Views: 21555

PostForum: General CCS C Discussion   Posted: Thu May 24, 2007 4:05 pm   Subject: Communication between two PICs
Does the 0-255 number give you direction as well as speed?
Assuming both chips have harware uart, why not use serial? I have done this with two pics myself. One master and one slave. The slave drive ...
  Topic: Internal OCS and 18f1220 not working as expected
jimcbride

Replies: 12
Views: 14969

PostForum: General CCS C Discussion   Posted: Thu May 24, 2007 3:38 pm   Subject: Internal OCS and 18f1220 not working as expected
Thanks much for your help. I have found that the debugger will give me slightly different mcu speed reading when connected in different circuits. i.e. my demo board shows it runs at 8MHz, where my act ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group